/* 
  Sarla Ayurveda - Premium 2026 UI/UX
  Theme: Forest Green, Gold, Cream
*/

:root {
    --primary: #1b4332; /* Deep Forest Green */
    --primary-light: #2d6a4f;
    --primary-dark: #081c15;
    --gold: #d4af37; /* Premium Gold */
    --gold-light: #f4a261;
    --cream: #fefae0; /* Off-white / Cream */
    --bg-light: #fbf8cc;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    font-weight: 700;
}

.text-primary { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-gold { background-color: var(--gold) !important; }

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
    font-weight: 600;
}
.btn-gold:hover {
    background-color: #c5a028;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header & Navbar */
.navbar {
    background-color: var(--white);
    transition: all 0.3s ease;
}
.navbar-brand img {
    object-fit: cover;
    border: 2px solid var(--gold);
    padding: 2px;
}
.nav-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--gold);
    bottom: 0;
    left: 50%;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Mobile Sticky Action Bar */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1050;
    display: none;
    padding: 10px 15px;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 991px) {
    .mobile-action-bar {
        display: flex;
    }
    body {
        padding-bottom: 70px; /* Space for the bottom bar */
    }
    .desktop-actions {
        display: none !important;
    }
}

/* Hero Section Split Layout */
.hero-wrapper {
    display: flex;
    min-height: 85vh;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}
.hero-content {
    flex: 1;
    padding: 5% 5% 5% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}
.hero-image-wrapper {
    flex: 1;
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
}
.hero-badge {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--gold);
}
@media (max-width: 991px) {
    .hero-wrapper {
        flex-direction: column;
    }
    .hero-image-wrapper {
        clip-path: none;
        height: 40vh;
        order: -1;
    }
    .hero-content {
        padding: 2rem 1.5rem;
    }
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.1);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary);
    font-size: 1.8rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0 60px 0;
    color: var(--white);
    text-align: center;
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; width: 100%; height: 50px;
    background: var(--cream);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Footer */
.footer-area {
    background: var(--primary-dark);
    color: var(--white);
    padding: 70px 0 30px;
    font-size: 0.9rem;
}
.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-link:hover {
    color: var(--gold);
    padding-left: 5px;
}
