/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --bg-color: #0d0d0d;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --primary-color: #ffd700;
    /* Gold/Yellow from logo */
    --primary-hover: #e6c200;
    --text-main: #ffffff;
    --text-muted: #a1a1a6;
    --border-color: #333333;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --spacing-xxl: 120px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #0d0d0d;
}

body {
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Clips all glow blobs */
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   Typography
   ========================================= */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.04em;
    /* Tighter Display font weight */
    line-height: 1.1;
    color: #fff;
    /* Silver gradient for titles */
    background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    letter-spacing: 0.01em;
    font-weight: 400;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);

    /* Glassmorphism Frame */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   Layout
   ========================================= */
.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xxl) 0;
}

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


/* =========================================
   Components
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Increased gap slightly */
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    /* Ensure no underline */
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    line-height: 1;
    /* Fix vertical alignment */
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000;
    /* Force black text for contrast */
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 22px 48px;
    font-size: 1.25rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.icon-whatsapp {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* =========================================
   Header
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    padding: 16px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    /* Reduced by 15% from 48px */
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo-text strong {
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.main-nav a:hover {
    color: var(--text-main);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertical centering */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient transition from photo to solid color at bottom */
    background:
        linear-gradient(to bottom, rgba(13, 13, 13, 0.5) 70%, #0d0d0d 100%),
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../images/IMG_4787.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    animation: scrollWheel 2s infinite;
}

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

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



.hero-content {
    position: relative;
    z-index: 2;
    /* Removed max-width to ensure alignment follows the container edge */
    width: 100%;
}

.hero-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);

    /* Glassmorphism Frame */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    font-size: 4rem;
}

.hero-subtitle {
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    max-width: 600px;
    color: #e0e0e0;
}

/* =========================================
   Intro Section
   ========================================= */
.intro {
    position: relative;
    border: none !important;
    /* Force no borders */
}

/* Atmospheric Lighting Blobs - Seamless Overlap */
.glow-blob {
    position: absolute;
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    filter: blur(180px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: floatingGlow 30s infinite alternate ease-in-out;
    mix-blend-mode: screen;
}

/* Vertical Transition Wires */
.light-wire {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.2), transparent);
    z-index: 1;
}

@keyframes floatingGlow {
    from {
        transform: translate(-40px, -40px) scale(1);
    }

    to {
        transform: translate(40px, 40px) scale(1.1);
    }
}

.glow-gold {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.glow-white {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

/* Positions for reuse */
.pos-top-left {
    top: -100px;
    left: -100px;
}

.pos-top-right {
    top: -100px;
    right: -100px;
}

.pos-bottom-left {
    bottom: -100px;
    left: -100px;
}

.pos-bottom-right {
    bottom: -100px;
    right: -100px;
}

.pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.intro-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.intro-text p {
    font-size: 1.25rem;
    color: #b0b0b5;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.intro-list {
    margin-top: var(--spacing-lg);
    /* Premium Glassmorphism Shell */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 32px 40px;
    /* Reduced padding */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    /* More compact */
    list-style: none;
}

.intro-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    /* Increased font size */
    color: #ffffff;
    font-weight: 600;
    /* Bolder font */
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: var(--radius-sm);
}

.intro-list li:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(10px);
}

.intro-list li:last-child {
    margin-bottom: 0;
}

.intro-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.check-icon {
    color: var(--primary-color);
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.check-icon svg {
    width: 100%;
    height: 100%;
}

.intro-image .image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

/* =========================================
   Features Section
   ========================================= */
.features {
    position: relative;
    border: none !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 215, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.2));
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-main);
}

/* =========================================
   Gallery Section - Horizontal Premium Slider
   ========================================= */
.gallery {
    padding-bottom: var(--spacing-xxl);
    background: transparent;
    overflow: visible;
    /* Allow glow to bleed */
    border: none !important;
}

.gallery-scroll-wrapper {
    position: relative;
    width: 100%;
}

.gallery-slider {
    display: flex;
    gap: 32px;
    padding: 20px 0 60px;
    /* Removed side padding to avoid 'black' empty space at ends */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    /* Better for mobile carousels */
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 650px;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    user-select: none;
    -webkit-user-drag: none;
    /* Ensures it stops exactly on the item */
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Arrow Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.nav-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: black;
    transform: scale(1.1);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 0 500px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 85vw;
        height: 350px;
        gap: 20px;
    }

    .gallery-slider {
        gap: 20px;
    }
}

/* =========================================
   CTA Final
   ========================================= */
.cta-final {
    position: relative;
    border: none !important;
    background: transparent !important;
}


.bg-gradient {
    /* Legacy/Fallback */
    background: linear-gradient(180deg, var(--bg-color) 0%, #1a1500 100%);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background: #000;
    border-top: 1px solid #222;
    padding-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: var(--spacing-xl);
}

.footer-bottom {
    border-top: 1px solid #111;
    padding: 32px 0;
    /* Increased padding */
    text-align: center;
    font-size: 0.875rem;
    color: #555;
}

.footer-credits {
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-credits span {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #555;
    user-select: none;
}

.footer-credits a {
    display: flex;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-credits a:hover {
    opacity: 1;
    transform: scale(1.05);
}

.groven-logo {
    height: 35px;
    /* Slightly larger */
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-link {
    display: block;
    margin-top: 8px;
    font-size: 1.125rem;
    color: var(--primary-color);
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* logic handled by JS or default render */
    animation-fill-mode: forwards;
}

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

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

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.6;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Scroll Reveal Classes (JS Toggled) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: auto;
        height: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 80px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .header-container {
        padding: 0 16px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Mobile Menu Open State - Overlay only */
    .site-header.nav-open {
        background: #000;
    }

    .main-nav {
        display: none;
    }

    .site-header.nav-open .main-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        z-index: 1000;
        background: #000;
        padding: 40px var(--spacing-md);
        text-align: center;
        opacity: 0;
        animation: mobileNavFadeIn 0.3s forwards;
    }

    @keyframes mobileNavFadeIn {
        from {
            opacity: 0;
            transform: scale(1.05);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .site-header.nav-open .main-nav ul {
        flex-direction: column;
        gap: 32px;
    }

    .site-header.nav-open .main-nav a {
        font-size: 1.75rem;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .site-header.nav-open .header-cta {
        display: none;
    }

    /* Hamburger Animation */
    .site-header.nav-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .site-header.nav-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.nav-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-menu-toggle span {
        transition: all 0.3s ease;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .slider-nav {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .nav-btn {
        width: 48px;
        height: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
}