/* --- Variables & Setup --- */
:root {
    --primary-color: #0047AB; /* Deep Cobalt Blue */
    --secondary-color: #4CAF50; /* Green from Logo */
    --accent-color: #FF9800; /* Orange from Logo */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s ease;
    --border-radius: 16px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* --- Typography & Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #111827;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--secondary-color);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.bg-light {
    background-color: var(--white);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 71, 171, 0.39);
}

.btn-primary:hover {
    background-color: #003380;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

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

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

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

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-hetvi {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -1px;
}

.logo-desc {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.brand-logo {
    max-height: 130px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.3s ease;
}

.header.scrolled .brand-logo {
    max-height: 90px;
}

.footer-brand-logo {
    max-height: 120px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.hero-glass {
    width: 100%;
    max-width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

/* Decorative Blobs */
.blob-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 71, 171, 0.2);
    top: -50px;
    right: -50px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(76, 175, 80, 0.2);
    bottom: 0;
    left: 20px;
}

/* --- Products Section --- */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.bg-blue-light { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.bg-blue-dark { background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%); }
.bg-white-soft { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.bg-purple-dark { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }
.bg-blue-gradient { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }

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

.product-card:hover .product-img {
    transform: scale(1.08);
}

/* Image Swap on Hover */
.image-swap-wrapper {
    position: relative;
}
.image-swap-wrapper .img-front {
    transition: opacity 0.4s ease, transform 0.5s ease;
}
.image-swap-wrapper .img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s ease;
    padding: 30px;
}
.product-card:hover .image-swap-wrapper .img-front {
    opacity: 0;
}
.product-card:hover .image-swap-wrapper .img-back {
    opacity: 1;
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
}

.badge-new { background-color: var(--accent-color); }
.badge-eco { background-color: var(--secondary-color); }

#hero-badge {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    margin-bottom: 16px;
    background-color: var(--primary-color);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.product-weight {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.product-feature {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Features Section --- */
.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.features-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    background: #eef2ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--text-light);
}

.features-glass {
    padding: 50px;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
}

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

.stat-box {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-box p {
    color: var(--text-dark);
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background-color: #111827;
    color: #f3f4f6;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo-hetvi {
    color: var(--white);
}

.footer-logo .logo-desc {
    color: var(--secondary-color);
}

.footer-text {
    margin-top: 20px;
    color: #9ca3af;
    max-width: 300px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 12px;
}

.footer-contact strong {
    color: var(--white);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* --- Hero Slider Animations --- */
.fade-out {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

#hero-text-container h1, 
#hero-text-container p, 
#hero-text-container .badge,
#hero-img-container img {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider-indicators {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 24px;
    height: 6px;
    background-color: rgba(0, 71, 171, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 40px;
}

/* --- Store Section (Bento Layout) --- */
.store-grid.bento-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: stretch;
}

.bento-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.store-text-card {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.store-subtitle {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.store-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.store-video-card {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    background: transparent;
    border: none;
    box-shadow: none;
}

.store-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.store-map-card {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    min-height: 350px;
}

.store-map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.store-image-card {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    min-height: 350px;
}

.store-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.store-image-card:hover .store-img {
    transform: scale(1.05);
}

/* --- Animations (Scroll Reveal) --- */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .hero-container, .features-wrapper, .store-grid {
        grid-template-columns: 1fr;
    }
    
    .store-grid.bento-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-card {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-cta {
        display: flex;
        justify-content: center;
        gap: 16px;
    }

    .slider-indicators {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        order: 1;
        height: 350px;
    }

    .hero-glass {
        width: 90%;
        height: 100%;
        padding: 20px;
    }
    
    .features-content {
        order: 2;
    }
    
    .features-image {
        order: 1;
    }

    .store-grid.bento-layout {
        gap: 20px;
    }

    .store-text-card {
        text-align: center;
        align-items: center;
        padding: 40px 20px;
    }

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

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-image-wrapper {
        height: 280px;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .blob-1, .blob-2 {
        width: 250px;
        height: 250px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
