/* =========================================
   Serenity Spa & Wellness | Style Guide
   ========================================= */

:root {
    /* Color Palette - Calming & Serene */
    --primary: #5eead4; /* Soft Teal */
    --primary-light: #99f6e4;
    --primary-dark: #14b8a6;
    --secondary: #f5f5f4; /* Calming Sand/Beige */
    --accent: #d4af37; /* Pale Gold */
    
    /* Neutral Colors */
    --text-main: #3f3f46; /* Deep Charcoal */
    --text-muted: #71717a; /* Soft Gray */
    --bg-light: #fafaf9; /* Warm White */
    --bg-white: #ffffff;
    --bg-dark: #27272a;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.5s ease-in-out;
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 40px;
    --radius-pill: 100px;
    
    /* Shadows */
    --shadow-sm: 0 10px 30px -10px rgba(94, 234, 212, 0.15);
    --shadow-md: 0 20px 40px -10px rgba(94, 234, 212, 0.2);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 300;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }

/* Buttons & Badges */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 400;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 400;
    font-family: var(--font-heading);
    border: 1px solid var(--primary-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}

.btn-primary-full, .btn-outline-full {
    display: block; width: 100%; text-align: center; padding: 1.2rem;
    border-radius: var(--radius-pill); font-weight: 400; font-family: var(--font-heading);
    font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition);
    letter-spacing: 2px; text-transform: uppercase;
}

.btn-primary-full { background-color: var(--primary-dark); color: var(--bg-white); box-shadow: var(--shadow-sm); }
.btn-primary-full:hover { background-color: var(--text-main); transform: translateY(-2px); }

.btn-outline-full { background-color: transparent; color: var(--text-main); border: 1px solid var(--text-main); }
.btn-outline-full:hover { background-color: var(--text-main); color: var(--bg-white); }

.btn-link { color: var(--primary-dark); font-weight: 400; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: 1px; text-transform: uppercase;}
.btn-link:hover { color: var(--accent); gap: 1rem; }

.badge-pill {
    display: inline-block; background-color: var(--secondary); color: var(--text-muted);
    padding: 0.5rem 1.5rem; border-radius: var(--radius-pill); font-size: 0.75rem;
    font-weight: 400; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 2rem;
}

/* Typography Utilities */
.section-subtitle { color: var(--primary-dark); font-size: 0.8rem; font-weight: 400; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 1rem; }
.section-title { font-size: 3rem; font-weight: 200; color: var(--text-main); margin-bottom: 1.5rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 0; z-index: 1000; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.98); padding: 1rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 300; font-family: var(--font-heading); color: var(--bg-white); display: flex; align-items: center; gap: 0.8rem; letter-spacing: 2px;}
.navbar.scrolled .logo { color: var(--text-main); }
.logo i { color: var(--primary); font-size: 1.8rem; }
.nav-links { display: flex; gap: 3rem; }
.nav-links a { color: var(--bg-white); font-weight: 300; font-size: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase; position: relative; }
.navbar.scrolled .nav-links a { color: var(--text-main); }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background-color: var(--primary-light); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.desktop-btn { padding: 0.8rem 2rem; border-color: var(--bg-white); color: var(--bg-white); }
.navbar.scrolled .desktop-btn { border-color: var(--primary-dark); color: var(--primary-dark); }
.desktop-btn:hover { background: var(--bg-white); color: var(--text-main); border-color: var(--bg-white);}
.navbar.scrolled .desktop-btn:hover { background: var(--primary-dark); color: var(--bg-white); border-color: var(--primary-dark);}

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--bg-white); cursor: pointer; }
.navbar.scrolled .menu-toggle { color: var(--text-main); }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(39, 39, 42, 0.8) 0%, rgba(39, 39, 42, 0.4) 50%, rgba(39, 39, 42, 0.1) 100%); }
.hero-content { display: flex; align-items: center; position: relative; z-index: 2; width: 100%; }
.hero-text-wrapper { max-width: 650px; }
.hero h1 { font-size: 4.5rem; font-weight: 200; margin-bottom: 1.5rem; color: var(--bg-white); line-height: 1.1; letter-spacing: -1px;}
.hero h1 span { color: var(--primary-light); font-style: italic; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 3rem; font-weight: 300; line-height: 1.8; max-width: 500px;}
.hero-buttons { display: flex; gap: 1.5rem; }

/* Section Base */
.services-section { padding: 8rem 0; background-color: var(--bg-light); }
.about-section { padding: 8rem 0; background-color: var(--bg-white); }
.pricing-section { padding: 8rem 0; background-color: var(--secondary); }
.contact-section { padding: 8rem 0; background-color: var(--bg-white); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 5rem; }
.service-card { background: var(--bg-white); border-radius: 0; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: var(--transition); border-top: 2px solid transparent;}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-top-color: var(--primary-dark);}
.service-image { position: relative; height: 320px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s ease; filter: sepia(10%);}
.service-card:hover .service-image img { transform: scale(1.05); filter: sepia(0%);}
.service-content { padding: 3rem 2.5rem; text-align: center;}
.service-icon { margin-bottom: 1.5rem; font-size: 2rem; color: var(--primary-dark); }
.service-content h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--text-main); font-weight: 300;}
.service-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; font-weight: 300;}

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; height: 650px; object-fit: cover; border-radius: 200px 200px 0 0; }
.about-badge { position: absolute; bottom: 40px; right: -30px; background: var(--bg-white); padding: 2rem; border-radius: 50%; width: 160px; height: 160px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: var(--shadow-sm); text-align: center;}
.about-badge span { font-size: 2rem; font-family: var(--font-heading); color: var(--primary-dark); line-height: 1;}
.about-badge p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 0.5rem;}
.about-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.9; font-weight: 300;}
.feature-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 3rem;}
.feature-list li { display: flex; gap: 1.5rem; align-items: center; }
.icon-box { font-size: 1.8rem; color: var(--primary-dark); }
.feature-list h4 { font-size: 1.1rem; margin-bottom: 0; color: var(--text-main); font-weight: 400;}

/* Pricing Section */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 5rem; align-items: center; }
.price-card { background: var(--bg-white); padding: 4rem 3rem; text-align: center; position: relative; transition: var(--transition); border-radius: var(--radius-lg); box-shadow: 0 5px 20px rgba(0,0,0,0.02);}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.price-card.popular { transform: scale(1.05); border: 1px solid var(--primary-light); background: var(--bg-white); z-index: 1; box-shadow: var(--shadow-md);}
.price-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--text-main); color: var(--bg-white); padding: 0.5rem 1.5rem; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }
.price-card h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--text-main); font-weight: 300;}
.price { font-size: 3.5rem; font-weight: 200; font-family: var(--font-heading); color: var(--primary-dark); margin-bottom: 1.5rem; display: flex; justify-content: center; align-items: flex-start; }
.price span:first-child { font-size: 1.5rem; margin-top: 0.8rem; color: var(--text-muted);}
.plan-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2.5rem; font-weight: 300;}
.plan-features { text-align: left; margin-bottom: 3.5rem; }
.plan-features li { padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); color: var(--text-main); display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; font-weight: 300;}
.plan-features i { color: var(--primary-dark); font-size: 0.8rem;}

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.contact-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; font-weight: 300;}
.contact-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 3rem; font-weight: 300; line-height: 1.8;}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-item i { font-size: 1.5rem; color: var(--primary-dark); padding-top: 0.3rem;}
.contact-item h4 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--text-main); font-weight: 400; text-transform: uppercase; letter-spacing: 1px;}
.contact-item p { margin-bottom: 0; font-size: 0.95rem; color: var(--text-muted); font-weight: 300;}
.contact-form { background: var(--secondary); padding: 4rem 3rem; border-radius: var(--radius-md); }
.contact-form h3 { font-size: 1.8rem; margin-bottom: 2.5rem; color: var(--text-main); font-weight: 300; text-align: center;}
.input-group { margin-bottom: 1.5rem; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 1.2rem; border: none; border-bottom: 1px solid rgba(0,0,0,0.1); font-family: var(--font-body); font-size: 0.95rem; font-weight: 300; transition: var(--transition); background: transparent; color: var(--text-main);}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-bottom-color: var(--primary-dark); background: rgba(255,255,255,0.5);}

/* Footer */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 6rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 5rem; }
.footer-brand .logo { margin-bottom: 1.5rem; color: var(--bg-white);}
.footer-brand p { font-size: 0.95rem; max-width: 320px; line-height: 1.9; font-weight: 300;}
.footer-links h4, .footer-socials h4 { font-size: 0.9rem; margin-bottom: 2rem; color: var(--bg-white); font-weight: 400; text-transform: uppercase; letter-spacing: 2px;}
.footer-links ul { display: flex; flex-direction: column; gap: 1.2rem; }
.footer-links a { transition: var(--transition); font-size: 0.95rem; font-weight: 300;}
.footer-links a:hover { color: var(--primary-light); padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: center; align-items: center; color: var(--bg-white); transition: var(--transition); font-size: 1.1rem;}
.social-icons a:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; font-weight: 300;}

/* Responsive */
@media (max-width: 992px) {
    .hero-text-wrapper { max-width: 100%; text-align: center; }
    .hero-content { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 4rem;}
    .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .about-image img { border-radius: var(--radius-md); height: 400px;}
    .about-badge { display: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .desktop-btn { display: none; }
    .nav-links { position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; background: var(--bg-white); flex-direction: column; gap: 0; padding-top: 80px; transition: var(--transition); z-index: 999; box-shadow: -5px 0 15px rgba(0,0,0,0.05); }
    .nav-links.active { right: 0; }
    .nav-links a { display: block; padding: 1.5rem 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.95rem; color: var(--text-main);}
    .hero h1 { font-size: 3rem; }
    .services-grid, .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-5px); }
    .footer-content { grid-template-columns: 1fr; }
    .contact-form { padding: 2.5rem 2rem; }
}
