/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--slate-gray);
    background: linear-gradient(135deg, var(--soft-cream) 0%, var(--warm-white) 100%);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Color Palette - New Modern Design */
:root {
    --primary-sage: #e8f4f0;
    --secondary-sage: #d1e7dd;
    --accent-teal: #4a9b8e;
    --dark-teal: #2d6a5d;
    --soft-cream: #faf8f5;
    --warm-white: #ffffff;
    --charcoal: #2c3e50;
    --slate-gray: #34495e;
    --muted-gray: #7f8c8d;
    --gold-accent: #d4af37;
    --light-gold: #f4e8a1;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Asymmetric Layout */
.asymmetric-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
    position: relative;
}

.asymmetric-layout.reverse {
    grid-template-columns: 1fr 1fr;
}

.asymmetric-layout.reverse .text-content {
    order: 2;
}

.asymmetric-layout.reverse .image-content {
    order: 1;
}

.text-content {
    padding: 2rem;
    z-index: 2;
    position: relative;
}

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

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

.image-content {
    position: relative;
    z-index: 1;
}

.image-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Overlapping Effect */
.asymmetric-layout .text-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-sage) 0%, rgba(232, 244, 240, 0.8) 100%);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.9;
    box-shadow: 0 10px 30px rgba(74, 155, 142, 0.1);
}

.asymmetric-layout.reverse .text-content::before {
    left: 20px;
    right: -40px;
    background: linear-gradient(135deg, var(--light-gold) 0%, rgba(244, 232, 161, 0.8) 100%);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--dark-teal) 100%);
    color: var(--warm-white);
    border-color: var(--accent-teal);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--accent-teal) 100%);
    border-color: var(--dark-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-teal);
    border: 2px solid var(--accent-teal);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-teal);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--warm-white);
    border-color: var(--accent-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.3);
}

.cta-buttons {
    margin-top: 2rem;
}

/* Header and Navigation */
.header {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--secondary-sage);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-teal), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
}

.nav-logo .logo-text::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -20px;
    font-size: 0.8rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover {
    color: var(--accent-teal);
    background: rgba(74, 155, 142, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--gold-accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--soft-cream) 50%, var(--warm-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-title {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(44, 62, 80, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--slate-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Sections */
.about-section,
.services-preview,
.experience-section {
    padding: 4rem 0;
}

.about-section {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--secondary-sage) 100%);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(74,155,142,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(212,175,55,0.1)"/><circle cx="60" cy="30" r="1" fill="rgba(74,155,142,0.05)"/></svg>');
    pointer-events: none;
}

.services-preview {
    background: var(--warm-white);
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 232, 161, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.experience-section {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--soft-cream) 100%);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate-gray) 100%);
    color: var(--warm-white);
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 -4px 20px rgba(44, 62, 80, 0.2);
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--gold-accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-content a:hover {
    color: var(--light-gold);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

#accept-cookies {
    background: linear-gradient(135deg, var(--accent-teal), var(--dark-teal));
    color: var(--warm-white);
    border: 1px solid var(--accent-teal);
}

#accept-cookies:hover {
    background: linear-gradient(135deg, var(--dark-teal), var(--accent-teal));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 155, 142, 0.3);
}

#reject-cookies {
    background-color: transparent;
    color: var(--warm-white);
    border: 1px solid var(--gold-accent);
}

#reject-cookies:hover {
    background-color: var(--gold-accent);
    color: var(--charcoal);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate-gray) 100%);
    color: var(--warm-white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--gold-accent), var(--accent-teal));
}

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

.footer-section h3,
.footer-section h4 {
    background: linear-gradient(135deg, var(--gold-accent), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--warm-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold-accent);
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 1rem;
    text-align: center;
    color: var(--muted-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile Layout */
    .asymmetric-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .asymmetric-layout.reverse .text-content,
    .asymmetric-layout.reverse .image-content {
        order: unset;
    }

    .text-left,
    .text-right {
        text-align: center;
    }

    .text-content::before {
        left: -10px !important;
        right: -10px !important;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary {
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .image-content img {
        height: 300px;
    }

    .btn-primary,
    .btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Loading and Performance */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(74, 155, 142, 0.2);
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--soft-cream) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 155, 142, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--slate-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Treatment Section Styles */
.treatment-section {
    padding: 4rem 0;
}

.treatment-section:nth-child(even) {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--secondary-sage) 100%);
}

.treatment-section:nth-child(odd) {
    background: var(--warm-white);
}

/* Philosophy Section */
.philosophy-section {
    background: var(--warm-white);
    padding: 4rem 0;
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--soft-cream) 100%);
    padding: 4rem 0;
}

/* Space Section */
.space-section {
    background: var(--warm-white);
    padding: 4rem 0;
}

/* Sensory Section */
.sensory-section {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--secondary-sage) 100%);
    padding: 4rem 0;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--warm-white);
}

/* Location Section */
.location-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--soft-cream) 100%);
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
