/* ============================================
   SATTVA AYURVEDA - COMPLETE RESPONSIVE CSS
   Replace your existing responsive.css with this
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.35s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo,
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar.scrolled .logo {
    color: var(--primary-color, #2e4b31);
}

.logo span,
.footer-logo span {
    color: var(--secondary-color, #c9a84c);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 6px 11px;
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.navbar.scrolled .nav-links a {
    color: #444;
}

.nav-links a:hover {
    color: var(--secondary-color, #c9a84c);
    background: rgba(201, 168, 76, 0.08);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.navbar.scrolled .menu-toggle {
    border-color: var(--primary-color, #2e4b31);
    color: var(--primary-color, #2e4b31);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 0.88rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: #f9f8f5;
    color: var(--primary-color, #2e4b31);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-color, #2e4b31);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
    text-align: left;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.6rem;
    display: inline-block;
    margin-bottom: 16px;
    color: white;
}

.footer p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.footer h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s;
}

.footer ul li a:hover {
    color: var(--secondary-color, #c9a84c);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ============================================
   CONTAINER & SECTION
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 75, 49, 0.88) 0%, rgba(46, 75, 49, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 120px 24px 80px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

.hero-content>div {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--secondary-color, #c9a84c);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: white;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-img-wrapper img {
    width: 100%;
    object-fit: cover;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: #444;
}

.about-list li i {
    color: var(--secondary-color, #c9a84c);
    flex-shrink: 0;
}

/* ============================================
   RITUALS
   ============================================ */
.rituals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ritual-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}

.ritual-card:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ritual-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color, #c9a84c);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    color: white;
}

.ritual-card h3 {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 12px;
}

.ritual-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-wrapper {
    background: #f9f8f5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--secondary-color, #c9a84c);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 100px;
    z-index: 2;
}

.product-img-wrap {
    height: 220px;
    overflow: hidden;
    background: #f0ede6;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.product-desc {
    font-size: 0.83rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color, #2e4b31);
}

.btn-add {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color, #2e4b31);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.25s, transform 0.2s;
    flex-shrink: 0;
}

.btn-add:hover {
    background: var(--secondary-color, #c9a84c);
    transform: scale(1.1);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color, #2e4b31);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--secondary-color, #c9a84c);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.2;
    color: #1a1a1a;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-gold {
    background: var(--secondary-color, #c9a84c);
    color: white;
}

.btn-gold:hover {
    background: #b8963e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color, #2e4b31);
    color: var(--primary-color, #2e4b31);
}

.btn-outline:hover {
    background: var(--primary-color, #2e4b31);
    color: white;
}

.btn-primary {
    background: var(--primary-color, #2e4b31);
    color: white;
    border-color: var(--primary-color, #2e4b31);
}

.btn-primary:hover {
    background: #243d27;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 75, 49, 0.3);
}

.alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.page-header {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 75, 49, 0.88), rgba(46, 75, 49, 0.55));
    z-index: 1;
}

.page-header .hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    max-width: 650px;
}

.page-header .hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-header .hero-content p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s, box-shadow 0.35s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s;
    display: block;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.07);
}

.blog-content {
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color, #c9a84c);
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.blog-text {
    font-size: 0.88rem;
    line-height: 1.75;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color, #2e4b31);
    text-decoration: none;
    transition: gap 0.25s, color 0.25s;
    margin-top: auto;
}

.read-more:hover {
    gap: 12px;
    color: var(--secondary-color, #c9a84c);
}

.read-more i {
    transition: transform 0.25s;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ============================================
   MARQUEE
   ============================================ */
.scrolling-wrapper {
    overflow: hidden;
    background: var(--primary-color, #2e4b31);
    padding: 14px 0;
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    animation: marquee 25s linear infinite;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TABLET - 1024px
   ============================================ */
@media (max-width: 1024px) {
    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .features-grid {
        gap: 20px;
    }

    .about-grid {
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ============================================
   MOBILE - 768px
   ============================================ */
@media (max-width: 768px) {

    /* NAV */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 78%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 40px;
        gap: 4px;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.18);
        z-index: 998;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #333 !important;
        font-size: 1rem;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .nav-links a:hover {
        background: #f9f8f5;
        color: var(--primary-color, #2e4b31) !important;
    }

    /* FOOTER */
    .footer {
        padding: 50px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* SECTIONS */
    .section {
        padding: 55px 0;
    }

    .section-title-wrapper {
        margin-bottom: 36px;
    }

    /* HERO */
    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding: 100px 20px 60px;
        text-align: center;
    }

    .hero-content>div {
        justify-content: center;
    }

    /* FEATURES */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }

    .feature-icon {
        margin: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }

    /* ABOUT */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-img-wrapper {
        max-height: 280px;
    }

    .about-img-wrapper img {
        height: 280px;
    }

    .about-content {
        text-align: center;
    }

    .about-list {
        text-align: left;
        max-width: 360px;
        margin: 0 auto 30px;
    }

    /* RITUALS */
    .rituals-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ritual-card {
        padding: 24px 20px;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }

    .ritual-icon {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
    }

    .ritual-card h3 {
        margin-bottom: 8px;
    }

    /* PRODUCTS */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-img-wrap {
        height: 170px;
    }

    .product-info {
        padding: 14px;
    }

    /* REVIEWS */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* BLOG */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-header {
        min-height: 45vh;
    }

    .page-header .hero-content {
        padding: 100px 20px 55px;
        text-align: center;
    }

    .blog-img-wrap {
        height: 200px;
    }

    .blog-content {
        padding: 20px 18px 22px;
    }

    /* BTNS */
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* ============================================
   SMALL MOBILE - 480px
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 44px 0;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 90px 16px 50px;
    }

    .hero-content>div {
        flex-direction: column;
        align-items: center;
    }

    .hero-content>div .btn {
        width: 100%;
        max-width: 280px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-img-wrap {
        height: 210px;
    }

    .feature-card,
    .ritual-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon,
    .ritual-icon {
        margin: 0 auto;
    }

    .review-card {
        padding: 20px 16px;
    }

    .footer-grid {
        gap: 22px;
    }

    /* Newsletter stack on small screens */
    .footer div[style*="display:flex"] {
        flex-direction: column !important;
    }

    .footer input[type="email"] {
        border-radius: 30px !important;
        margin-bottom: 8px;
        width: 100%;
    }

    .footer button.btn-gold {
        border-radius: 30px !important;
        width: 100%;
    }

    .page-header {
        min-height: 40vh;
    }

    .page-header .hero-content {
        padding: 85px 16px 45px;
    }

    .blog-img-wrap {
        height: 180px;
    }
}