:root {
    --primary-color: #2673E2;
    /* Alpine Blue */
    --secondary-color: #f0f0f0;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    /* Constrain height */
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    /* Align items vertically */
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--surface-color);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    display: block;
    color: var(--text-muted);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: color var(--transition-speed);
    padding: 0.5rem 0;
    transform: translateY(-2px);
    /* Move up to align with text */
}

.lang-toggle:hover {
    color: var(--primary-color);
}


/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons img {
    height: 30px;
    width: auto;
    transition: opacity 0.3s;
}

.social-icons img:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero-container {
    width: 100%;
    margin-top: 60px;
    /* Header height */
    overflow: hidden;
    /* Crop excess width */
    display: flex;
    /* Helps with centering if needed */
    justify-content: center;
    /* Centers the image */
    background-color: #000;
}



.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 144, 255, 0.15);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #000;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.btn-view {
    display: inline-block;
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.product-card:hover .btn-view {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Footer */
/* Footer */
footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 600px;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    /* Row gap 0.5rem, Column gap 2rem */
}

.footer-links ul li {
    margin-bottom: 0;
    /* Let grid gap handle spacing */
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.copyright {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* About Page Styles */
.about-section {
    padding: 2rem 0;
    margin-bottom: 4rem;
    text-align: center;
}

.sub-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.history-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #eee;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.history-item {
    margin-bottom: 2rem;
    position: relative;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -26px;
    /* 20px padding + 2px border + 4px offset */
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.history-item .year {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.history-item .desc {
    color: var(--text-color);
    line-height: 1.6;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    /* Keep text readable */
}

.content-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-block h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.content-block p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Mobile Menu Button - Default Hidden */
.mobile-menu-btn {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-color);
        gap: 0;
        /* Scroll if too tall */
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    /* Center social icons on mobile */
    .social-icons {
        justify-content: center;
        padding: 1rem 0;
    }

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

    /* Product Grid Mobile Optimization */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-image {
        height: 150px;
        /* Reduced height for mobile */
    }

    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 1rem;
    }
}



/* Modal Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background-color: transparent;
    /* Changed to transparent for image-only look */
    /* padding: 20px; */
    /* border-radius: 8px; */
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.popup-content img {
    max-width: 100%;
    max-height: 80vh;
    /* Limit height */
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    /* Optional rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* If we want the controls attached to the image bottom */
.popup-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

.popup-controls {
    margin-top: 0;
    /* Remove gap if attached */
    display: flex;
    justify-content: center;
    gap: 0;
    background: #333;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    width: 100%;
    /* Match container (image) width */
    max-width: none;
    /* Remove fixed limit */
}


.popup-btn {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    border-right: 1px solid #444;
}

.popup-btn:last-child {
    border-right: none;
}

.popup-btn:hover {
    background-color: #444;
}