/* Raretech Main Stylesheet */

/* Import unique fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* CSS Variables for consistent use throughout the site */
:root {
  /* Colors */
  --pilatesNest-white: #ffffff;
  --pilatesNest-light: #f4f6ff;
  --pilatesNest-yellow: #f3c623;
  --pilatesNest-orange: #eb8317;
  --pilatesNest-blue: #10375c;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;

  /* Font sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-xxl: 2rem;
  --fs-huge: 3rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.7s ease;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--pilatesNest-blue);
  background-color: var(--pilatesNest-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: var(--space-md);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: var(--fs-huge);
}

h2 {
  font-size: var(--fs-xxl);
}

h3 {
  font-size: var(--fs-xl);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--pilatesNest-orange);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

a:hover {
  color: var(--pilatesNest-yellow);
  transform: translateY(-2px);
}

ul,
ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-medium);
}

img:hover {
  transform: scale(1.02);
}

/* Container */
.pilatesNest-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

/* Header */
.pilatesNest-header {
  background-color: var(--pilatesNest-blue);
  color: var(--pilatesNest-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-medium);
}

.pilatesNest-header-scrolled {
  padding: var(--space-xs) 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pilatesNest-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
}

.pilatesNest-logo {
  display: flex;
  align-items: center;
}

.pilatesNest-logo img,
.pilatesNest-logo svg {
  height: 50px;
  transition: transform var(--transition-medium);
}

.pilatesNest-logo:hover img,
.pilatesNest-logo:hover svg {
  transform: scale(1.05);
}

/* Navigation */
.pilatesNest-nav {
  display: flex;
  align-items: center;
}

.pilatesNest-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
}

.pilatesNest-nav-item {
  margin-left: var(--space-lg);
}

.pilatesNest-nav-link {
  color: var(--pilatesNest-light);
  font-size: var(--fs-md);
  font-weight: 600;
  padding: var(--space-sm);
  position: relative;
}

.pilatesNest-nav-link:hover {
  color: var(--pilatesNest-yellow);
}

.pilatesNest-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--pilatesNest-yellow);
  transition: width var(--transition-medium);
}

.pilatesNest-nav-link:hover::after {
  width: 100%;
}

.pilatesNest-burger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.pilatesNest-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--pilatesNest-light);
  position: absolute;
  transition: all var(--transition-medium);
}

.pilatesNest-burger span:nth-child(1) {
  top: 0;
}

.pilatesNest-burger span:nth-child(2) {
  top: 9px;
}

.pilatesNest-burger span:nth-child(3) {
  top: 18px;
}

.pilatesNest-burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.pilatesNest-burger.active span:nth-child(2) {
  opacity: 0;
}

.pilatesNest-burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Hero section */
.pilatesNest-hero {
  height: 100vh;
  background: linear-gradient(rgba(16, 55, 92, 0.7), rgba(16, 55, 92, 0.4)),
    url('../img/hero-bg.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--pilatesNest-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* To account for fixed header */
}

.pilatesNest-hero-content {
  max-width: 800px;
  animation: fadeIn 1.5s ease;
  margin: auto;
}

.pilatesNest-hero-title {
  font-size: 4rem;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pilatesNest-hero-text {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xl);
}

.pilatesNest-btn {
  display: inline-block;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--pilatesNest-orange);
  color: var(--pilatesNest-white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(235, 131, 23, 0.3);
}

.pilatesNest-btn:hover {
  background-color: var(--pilatesNest-yellow);
  color: var(--pilatesNest-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 198, 35, 0.4);
}

/* Section styles */
.pilatesNest-section {
  padding: var(--space-xxl) 0;
}

.pilatesNest-section-alt {
  background-color: var(--pilatesNest-white);
}

.pilatesNest-section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  color: var(--pilatesNest-blue);
}

.pilatesNest-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--pilatesNest-orange);
  margin: var(--space-md) auto;
}

/* About section */
.pilatesNest-about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.pilatesNest-about-image {
  flex: 1;
  min-width: 300px;
}

.pilatesNest-about-content {
  flex: 1;
  min-width: 300px;
}

/* Services section */
.pilatesNest-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.pilatesNest-service-card {
  background-color: var(--pilatesNest-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.pilatesNest-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pilatesNest-service-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.pilatesNest-service-content {
  padding: var(--space-lg);
}

.pilatesNest-service-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
}

.pilatesNest-service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  fill: var(--pilatesNest-orange);
}

/* Products section */
.pilatesNest-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.pilatesNest-product-card {
  background-color: var(--pilatesNest-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.pilatesNest-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pilatesNest-product-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.pilatesNest-product-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pilatesNest-product-title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.pilatesNest-product-price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--pilatesNest-orange);
  margin-bottom: var(--space-md);
}

.pilatesNest-product-description {
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.pilatesNest-btn-outline {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: transparent;
  color: var(--pilatesNest-orange);
  border: 2px solid var(--pilatesNest-orange);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-align: center;
}

.pilatesNest-btn-outline:hover {
  background-color: var(--pilatesNest-orange);
  color: var(--pilatesNest-white);
  transform: translateY(-3px);
}

/* Testimonials section */
.pilatesNest-testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.pilatesNest-testimonial {
  text-align: center;
  padding: var(--space-lg);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity var(--transition-slow);
}

.pilatesNest-testimonial.active {
  opacity: 1;
  position: relative;
}

.pilatesNest-testimonial-text {
  font-size: var(--fs-lg);
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
}

.pilatesNest-testimonial-text::before,
.pilatesNest-testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--pilatesNest-yellow);
  position: absolute;
}

.pilatesNest-testimonial-text::before {
  left: -20px;
  top: -20px;
}

.pilatesNest-testimonial-text::after {
  right: -20px;
  bottom: -40px;
}

.pilatesNest-testimonial-author {
  font-weight: 600;
  color: var(--pilatesNest-blue);
}

.pilatesNest-testimonials-dots {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

.pilatesNest-testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--pilatesNest-light);
  margin: 0 var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.pilatesNest-testimonial-dot.active {
  background-color: var(--pilatesNest-orange);
  transform: scale(1.3);
}

/* Schedule section */
.pilatesNest-schedule-container {
  overflow-x: auto;
}

.pilatesNest-schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.pilatesNest-schedule-table th,
.pilatesNest-schedule-table td {
  padding: var(--space-md);
  text-align: center;
  border: 1px solid rgba(16, 55, 92, 0.1);
}

.pilatesNest-schedule-table th {
  background-color: var(--pilatesNest-blue);
  color: var(--pilatesNest-white);
  font-weight: 600;
}

.pilatesNest-schedule-table tr:nth-child(even) {
  background-color: rgba(244, 246, 255, 0.5);
}

.pilatesNest-schedule-table tr:hover {
  background-color: rgba(243, 198, 35, 0.1);
}

.pilatesNest-class-beginner {
  background-color: rgba(243, 198, 35, 0.2);
}

.pilatesNest-class-intermediate {
  background-color: rgba(235, 131, 23, 0.2);
}

.pilatesNest-class-advanced {
  background-color: rgba(16, 55, 92, 0.1);
}

/* FAQ section */
.pilatesNest-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.pilatesNest-faq-item {
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(16, 55, 92, 0.1);
  padding-bottom: var(--space-lg);
}

.pilatesNest-faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pilatesNest-faq-question::after {
  content: '+';
  font-size: var(--fs-xl);
  transition: transform var(--transition-medium);
}

.pilatesNest-faq-item.active .pilatesNest-faq-question::after {
  transform: rotate(45deg);
}

.pilatesNest-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.pilatesNest-faq-item.active .pilatesNest-faq-answer {
  max-height: 300px;
  margin-top: var(--space-md);
}

/* Contact section */
.pilatesNest-contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.pilatesNest-contact-info {
  flex: 1;
  min-width: 300px;
}

.pilatesNest-contact-form {
  flex: 1;
  min-width: 300px;
}

.pilatesNest-contact-item {
  margin-bottom: var(--space-lg);
  display: flex;
}

.pilatesNest-contact-icon {
  width: 40px;
  height: 40px;
  margin-right: var(--space-md);
  fill: var(--pilatesNest-orange);
}

.pilatesNest-form-group {
  margin-bottom: var(--space-lg);
}

.pilatesNest-form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.pilatesNest-form-input,
.pilatesNest-form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(16, 55, 92, 0.2);
  border-radius: 4px;
  font-family: 'Quicksand', sans-serif;
  transition: all var(--transition-fast);
}

.pilatesNest-form-input:focus,
.pilatesNest-form-textarea:focus {
  outline: none;
  border-color: var(--pilatesNest-orange);
  box-shadow: 0 0 0 2px rgba(235, 131, 23, 0.2);
}

.pilatesNest-form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.pilatesNest-footer {
  background-color: var(--pilatesNest-blue);
  color: var(--pilatesNest-light);
  padding: var(--space-xl) 0;
}

.pilatesNest-footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xl);
}

.pilatesNest-footer-column {
  flex: 1;
  min-width: 250px;
}

.pilatesNest-footer-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
  color: var(--pilatesNest-white);
}

.pilatesNest-footer-link {
  display: block;
  color: var(--pilatesNest-light);
  margin-bottom: var(--space-sm);
  transition: all var(--transition-fast);
}

.pilatesNest-footer-link:hover {
  color: var(--pilatesNest-yellow);
  transform: translateX(3px);
}

.pilatesNest-footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pilatesNest-copyright {
  font-size: var(--fs-sm);
}

.pilatesNest-footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.pilatesNest-social-icon {
  width: 40px;
  height: 40px;
  fill: var(--pilatesNest-light);
  transition: all var(--transition-medium);
}

.pilatesNest-social-icon:hover {
  fill: var(--pilatesNest-yellow);
  transform: translateY(-3px);
}

/* Policy pages */
.pilatesNest-policy-container {
  max-width: 900px;
  margin: 120px auto var(--space-xxl);
  padding: var(--space-xl);
  background-color: var(--pilatesNest-white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pilatesNest-policy-title {
  margin-bottom: var(--space-xl);
  color: var(--pilatesNest-blue);
  position: relative;
}

.pilatesNest-policy-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--pilatesNest-orange);
  margin-top: var(--space-md);
}

.pilatesNest-policy-section {
  margin-bottom: var(--space-xl);
}

.pilatesNest-policy-subtitle {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  color: var(--pilatesNest-blue);
}

/* Success Page */
.pilatesNest-success {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--pilatesNest-light);
}

.pilatesNest-success-container {
  max-width: 600px;
  padding: var(--space-xl);
  background-color: var(--pilatesNest-white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 1s ease;
}

.pilatesNest-success-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-lg);
  fill: var(--pilatesNest-yellow);
}

.pilatesNest-success-title {
  margin-bottom: var(--space-lg);
  color: var(--pilatesNest-blue);
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Responsive styles */
@media screen and (max-width: 992px) {
  :root {
    --fs-huge: 2.5rem;
    --fs-xxl: 1.8rem;
    --fs-xl: 1.3rem;
  }

  .pilatesNest-hero-title {
    font-size: 3rem;
  }
  .pilatesNest-burger {
    display: block;
  }

  .pilatesNest-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--pilatesNest-blue);
    flex-direction: column;
    justify-content: center;
    transition: right var(--transition-medium);
    z-index: 1000;
  }

  .pilatesNest-nav.active {
    right: 0;
  }

  .pilatesNest-nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .pilatesNest-nav-item {
    margin: var(--space-md) 0;
    width: 100%;
    text-align: center;
  }

  .pilatesNest-nav-link {
    display: block;
    padding: var(--space-md);
  }
}

@media screen and (max-width: 768px) {
  .pilatesNest-hero-title {
    font-size: 2.5rem;
  }

  .pilatesNest-section {
    padding: var(--space-xl) 0;
  }

  .pilatesNest-about-image,
  .pilatesNest-about-content {
    flex: 100%;
  }

  .pilatesNest-service-card,
  .pilatesNest-product-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --fs-huge: 2rem;
    --fs-xxl: 1.5rem;
    --fs-xl: 1.2rem;
    --fs-lg: 1.1rem;
  }

  .pilatesNest-header-container {
    padding: var(--space-sm) var(--space-md);
  }

  .pilatesNest-logo img,
  .pilatesNest-logo svg {
    height: 40px;
  }

  .pilatesNest-hero-title {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
  }

  .pilatesNest-hero-text {
    font-size: var(--fs-md);
  }

  .pilatesNest-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-sm);
  }

  .pilatesNest-section-title {
    font-size: var(--fs-xl);
  }

  .pilatesNest-testimonial-text {
    font-size: var(--fs-md);
  }

  .pilatesNest-testimonial-text::before,
  .pilatesNest-testimonial-text::after {
    font-size: 2rem;
  }
}

/* Media queries for extreme responsiveness */
@media screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .pilatesNest-container {
    width: 95%;
    padding: var(--space-sm);
  }

  .pilatesNest-about-image,
  .pilatesNest-about-content,
  .pilatesNest-contact-info,
  .pilatesNest-contact-form {
    flex: 100%;
  }

  .pilatesNest-footer-column {
    flex: 100%;
    text-align: center;
  }

  .pilatesNest-social-icons {
    justify-content: center;
  }

  .pilatesNest-hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 var(--space-xxl);
  }

  .pilatesNest-service-image,
  .pilatesNest-product-image {
    height: 180px;
  }

  .pilatesNest-service-card,
  .pilatesNest-product-card {
    margin-bottom: var(--space-lg);
  }
  .pilatesNest-contact-icon {
    width: 24px;
    height: 24px;
  }
}

@media screen and (max-width: 360px) {
  html {
    font-size: 12px;
  }

  .pilatesNest-logo img,
  .pilatesNest-logo svg {
    height: 35px;
  }

  .pilatesNest-hero-title {
    font-size: 1.8rem;
  }

  .pilatesNest-section {
    padding: var(--space-lg) 0;
  }

  .pilatesNest-service-card,
  .pilatesNest-product-card {
    min-width: 280px;
  }

  .pilatesNest-service-image,
  .pilatesNest-product-image {
    height: 160px;
  }

  .pilatesNest-btn {
    font-size: var(--fs-xs);
  }

  .pilatesNest-policy-container {
    padding: var(--space-md);
    margin: 100px auto var(--space-lg);
  }
}
