/*
Theme Name: Ayu Aesthetic
Theme URI: https://ayuaesthetic.com
Description: A beautiful, modern WordPress theme for Ayu Aesthetic - Panchakarma and Cosmetic Centre. Features emerald green and pastel color scheme with luxurious design.
Version: 1.0.0
Author: Ayu Aesthetic
Author URI: https://ayuaesthetic.com
Text Domain: ayu-aesthetic
Tags: health-wellness, spa, beauty, ayurveda, responsive, custom-colors
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ====================================
   CSS Variables - Logo Color Theme
   ==================================== */
:root {
  --emerald-green: #2D7A6B;
  --emerald-dark: #1f5449;
  --lotus-pink: #E8B4BC;
  --sage-green: #D4E8E3;
  --soft-rose: #F5D5DC;
  --cream-white: #F5F3ED;
  --pastel-mint: #E0F2ED;
  --text-primary: #2D5550;
  --text-secondary: #5F8A82;
  --white: #ffffff;
}

/* ====================================
   Global Styles
   ==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--emerald-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--emerald-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wide-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================================
   Header & Navigation
   ==================================== */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 232, 227, 0.3);
  border-radius: 50px;
  padding: 15px 30px;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(45, 122, 107, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 56px;
  width: auto;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
}

.main-navigation li a {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
  background-color: var(--emerald-green);
  color: var(--white);
}

.cta-button {
  padding: 10px 24px;
  background: var(--emerald-green);
  color: var(--white);
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(45, 122, 107, 0.2);
}

.cta-button:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 122, 107, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--emerald-green);
  cursor: pointer;
}

/* ====================================
   Hero Section
   ==================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--cream-white) 50%, var(--soft-rose) 100%);
  padding: 120px 0 60px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(to right, var(--emerald-green), #3da88f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 32px;
  background: var(--emerald-green);
  color: var(--white);
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(45, 122, 107, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 122, 107, 0.4);
}

.btn-outline {
  padding: 16px 32px;
  border: 2px solid var(--emerald-green);
  color: var(--emerald-green);
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--pastel-mint);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* ====================================
   Glass Card Effect
   ==================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 232, 227, 0.5);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(45, 122, 107, 0.08);
  transition: all 0.3s ease;
}

.glass-card:hover {
  box-shadow: 0 12px 40px rgba(45, 122, 107, 0.15);
  transform: translateY(-4px);
}

/* ====================================
   Sections
   ==================================== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--emerald-green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ====================================
   Services Grid
   ==================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 232, 227, 0.5);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(45, 122, 107, 0.15);
  transform: translateY(-4px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 24px;
}

.service-category {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(45, 122, 107, 0.1);
  color: var(--emerald-green);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ====================================
   Gallery
   ==================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ====================================
   Testimonials
   ==================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 32px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--lotus-pink);
}

.testimonial-text {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  border-top: 1px solid rgba(212, 232, 227, 0.5);
  padding-top: 16px;
}

.testimonial-author strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.testimonial-author span {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ====================================
   Forms
   ==================================== */
.wpforms-container {
  max-width: 800px;
  margin: 0 auto;
}

.wpforms-field-container {
  display: grid;
  gap: 20px;
}

.wpforms-field input,
.wpforms-field select,
.wpforms-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(212, 232, 227, 0.8);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
  outline: none;
  border-color: var(--emerald-green);
  box-shadow: 0 0 0 3px rgba(45, 122, 107, 0.1);
}

.wpforms-submit-container button {
  padding: 16px 48px;
  background: var(--emerald-green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpforms-submit-container button:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
}

/* ====================================
   Footer
   ==================================== */
.site-footer {
  background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--cream-white) 50%, var(--soft-rose) 100%);
  border-top: 1px solid rgba(212, 232, 227, 0.5);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 64px;
  margin-bottom: 16px;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--emerald-green);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 232, 227, 0.5);
  padding-top: 30px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ====================================
   WhatsApp Floating Button
   ==================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 968px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: 90%;
    padding: 12px 20px;
  }
  
  .site-logo img {
    height: 40px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
