:root {
    --bg-color: #050706;
    /* Very dark green/black */
    --card-bg: rgba(20, 25, 20, 0.6);
    --gold: #D4AF37;
    --gold-dim: #a68b31;
    --white: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Manrope', sans-serif;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gold-text {
    color: var(--gold);
    background: linear-gradient(135deg, #FFF8DC 0%, #D4AF37 50%, #B8860B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

/* Hero Branding */
.hero-branding {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

.main-brand {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold);
    letter-spacing: 5px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.cta-button-nav {
    padding: 10px 20px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.cta-button-nav:hover {
    background: var(--gold);
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 7, 6, 1) 0%, rgba(5, 7, 6, 0.6) 30%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    padding: 0 20px;
}

/* Modern Enhancements */
.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    /* Fluid typography */
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: #e0e0e0;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: transform 0.3s var(--transition), box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--bg-color);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transform-style: preserve-3d;
}

.cinematic-image {
    width: 100%;
    border-radius: 8px;
    filter: sepia(20%) contrast(1.1);
    transition: transform 0.5s;
}

.about-visual:hover .cinematic-image {
    transform: scale(1.05);
}

/* Products Section */
.products-section {
    padding: 6rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
}

/* Glassmorphism Refinement */
.product-card {
    background: rgba(20, 25, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s var(--transition), border-color 0.4s;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-dim);
}

.card-image-box {
    height: 250px;
    /* Reduced from 300px to better fit content */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(30, 40, 30, 1) 0%, rgba(5, 7, 6, 1) 100%);
}

.product-img {
    height: 90%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s var(--transition);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.product-card:hover .product-img {
    transform: scale(1.1) rotate(2deg);
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.sub-head {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.whatsapp-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.whatsapp-btn:hover {
    background: #25D366;
    /* WhatsApp Green */
    border-color: #25D366;
    color: #fff;
}

/* Contact */
.contact-section {
    padding: 4rem 0 8rem;
}

.contact-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s;
}

.contact-link:hover {
    transform: translateY(-5px);
}

.contact-link .label {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-link .value {
    font-size: 1.1rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-logo {
    height: 30px;
    margin-bottom: 10px;
    opacity: 0.7;
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    background: var(--gold);
    color: #000;
    padding: 10px 0;
    font-family: var(--font-heading);
    font-weight: 700;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Anim Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--transition) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--transition);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        /* Below navbar */
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        /* Full height minus header */
        background: rgba(5, 7, 6, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-links a {
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }

    .cta-button-nav {
        margin-top: 1rem;
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* Animate hamburger to X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: 0 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* --- BLOG SECTION STYLES --- */

.blog-header {
    height: 50vh;
    background-image: url('assets/wayanad_landscape.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Fixed background for parallax effect */
    background-attachment: fixed;
}

.blog-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto;
}

.blog-section {
    padding: 6rem 0;
    background: var(--bg-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: rgba(20, 25, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-dim);
}

.blog-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h2 a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h2 a:hover {
    color: var(--gold);
}

.blog-content p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.read-more:hover {
    transform: translateX(5px);
}

/* BLOG DETAIL PAGE STYLES */
.blog-post-content {
    max-width: 800px;
    margin: -100px auto 0;
    /* Pull up into header */
    position: relative;
    z-index: 10;
    background: rgba(10, 12, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-post-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.blog-post-content h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
    color: #ddd;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content strong {
    color: var(--white);
}

/* Responsive Blogs */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-content {
        padding: 2rem;
        margin-top: -50px;
        width: 90%;
    }
}