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

:root {
    --primary: #556B2F; /* Olive Green */
    --primary-light: #7a9446;
    --primary-soft: rgba(85, 107, 47, 0.1);
    --secondary: #2C3E10;
    --black: #121212;
    --dark-muted: #1e1e1e;
    --white: #FFFFFF;
    --bg-main: #FDFDFB;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: #2D3436;
    --text-muted: #636E72;
    --h-font: 'Outfit', sans-serif;
    --accent-font: 'Playfair Display', serif;
    --bebas: 'Bebas Neue', cursive;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
}

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

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--h-font);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.bebas { font-family: var(--bebas); letter-spacing: 2px; }
.playfair { font-family: var(--accent-font); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* Typography Helpers */
.section-tag {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.title-xl {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--black);
    margin-bottom: 25px;
}

.title-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
}

/* Advanced Buttons */
.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(85, 107, 47, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Navigation 2.0 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 30px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
}

.logo img {
    height: 70px; /* Increased from 50px */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: auto; /* Moves menu to the right */
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: var(--black);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 3000;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--black);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero Section Modernized */
.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    background: radial-gradient(circle at top right, rgba(85, 107, 47, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(85, 107, 47, 0.05), transparent);
}

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

.hero-content h1 {
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content .highlight {
    color: var(--primary);
    font-style: italic;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-main-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -50px;
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Bento Grid for Treatments */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
    margin-top: 50px;
}

.bento-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-soft);
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.bento-item h3 { margin-top: 20px; font-size: 1.4rem; z-index: 2; position: relative; }
.bento-item .icon { font-size: 2.5rem; color: var(--primary); z-index: 2; position: relative; }

.bento-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--primary-soft);
    border-radius: 50%;
    transform: translate(20%, 30%) scale(0);
    transition: var(--transition);
}

.bento-item:hover::before { transform: translate(20%, 30%) scale(2); }

.bento-large { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: var(--black); color: var(--white); }
.bento-large h3 { font-size: 2.5rem; color: var(--white); }
.bento-large .icon { color: var(--primary); font-size: 4rem; }

/* Special Therapies Modern Cards */
.modern-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.modern-card:hover { transform: scale(1.02); box-shadow: var(--shadow-premium); }

.card-img { flex: 1; min-height: 400px; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; }

/* Interactive Lists */
.hover-list li {
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.hover-list li:hover {
    background: var(--primary-soft);
    padding-left: 30px;
    color: var(--primary);
}

/* Footer Section */
footer {
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .footer-grid .logo,
    .footer-grid .social-links {
        justify-content: center;
    }

    .footer-grid .hover-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.hover-list li i { font-size: 0.8rem; transform: translateX(-10px); opacity: 0; transition: var(--transition); }
.hover-list li:hover i { transform: translateX(0); opacity: 1; }

/* Founder Section - Overlapping Layout */
.founder-v2 {
    background: #121212;
    color: var(--white);
    padding-bottom: 200px;
}

.founder-v2 .container {
    display: flex;
    gap: 80px;
    align-items: center;
}

.founder-img-overlap {
    flex: 1;
    position: relative;
}

.main-profile { width: 90%; border-radius: var(--radius-lg); position: relative; z-index: 2; }
.accent-box {
    position: absolute;
    top: -40px;
    right: 0;
    width: 250px;
    height: 400px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.founder-info-v2 { flex: 1.2; }
.founder-info-v2 .section-tag { color: var(--primary-light); }
.founder-info-v2 h2 { margin-bottom: 10px; font-size: 3.5rem; }

/* Mobile Adaptations */
@media (max-width: 1024px) {
    .container { padding: 0 25px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .floating-card { display: none; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .bento-large { grid-column: span 2; }
}

@media (max-width: 768px) {
    header { padding: 20px 0; }
    .logo img { height: 50px; }

    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 2500;
    }

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

    .hero-v2 { padding: 120px 0 60px; }
    .hero-content h1 { font-size: 2.8rem; }
    
    .modern-card { flex-direction: column; }
    .card-img { min-height: 250px; }
    .card-body { padding: 40px 20px; }
    
    .bento-grid { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto;
        gap: 15px;
    }
    .bento-large { grid-column: span 1; padding: 30px; }
    .bento-large h3 { font-size: 1.8rem; }

    .founder-v2 { padding: 80px 0; }
    .founder-v2 .container { flex-direction: column; padding: 0 20px; text-align: center; }
    .accent-box { display: none; }
    .founder-img-overlap { width: 100%; order: -1; margin-bottom: 40px; }
    .main-profile { width: 100%; }
    .founder-info-v2 h2 { font-size: 2.5rem; }

    section { padding: 80px 0; }

    /* Fix image overlap issues on small screens */
    .hero-image-wrapper { margin-top: 40px; }
    .hero-main-img { height: 400px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .title-lg { font-size: 1.8rem; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .hero-btns .btn-modern { width: 100%; justify-content: center; margin-left: 0 !important; }
}

/* Animations */
.reveal-up { opacity: 0; transform: translateY(50px); transition: var(--transition); }
.reveal-up.active { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-50px); transition: var(--transition); }
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(30px); transition: var(--transition); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
