/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    width: 216px;
    height: 45px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.logo-link {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 45px;
}

.nav-link:hover {
    color: #415a77;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #415a77;
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 27, 42, 0.6), rgba(27, 38, 59, 0.6)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

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

.hero-text h1 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    min-width: 160px;
    height: 48px;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background: #415a77;
    color: white;
}

.btn-primary:hover {
    background: transparent;
    border-color: #415a77;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

/* Hero overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.4) 0%, rgba(27, 38, 59, 0.4) 100%);
    z-index: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #e0e1dd;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.product-image {
    margin-bottom: 1.5rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 1rem;
}

.product-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.about-text h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: #415a77;
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
    color: #333;
}

/* Hot-Selling Section */
.hot-selling {
    padding: 80px 0;
    background: #e0e1dd;
}

.hot-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.hot-product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.hot-product-card:hover {
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #415a77;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hot-product-card .image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #778da9;
    color: #666;
    min-height: 200px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hot-product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.hot-product-card h3 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 1rem;
}

.hot-product-card p {
    color: #666;
    line-height: 1.6;
}

/* Global Supply Section */
.global-supply {
    padding: 80px 0;
}

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

.world-map .image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #778da9;
    color: #666;
    min-height: 400px;
    padding: 3rem;
}

.world-map-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.world-map-img:hover {
    transform: scale(1.02);
}

.interactive-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Map Marker Styles */
.custom-marker {
    background: #415a77;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.custom-marker.headquarters {
    background: #0d1b2a;
    font-size: 14px;
}

.custom-marker.major-market {
    background: #778da9;
    font-size: 12px;
}

.custom-marker.regional-hub {
    background: #1b263b;
    font-size: 12px;
}

.custom-marker.active-market {
    background: #415a77;
    font-size: 10px;
}

/* Map Popup Styles */
.map-popup h4 {
    font-family: 'Montserrat Alternates', sans-serif;
    color: #0d1b2a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.map-popup p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #666;
}

/* Map Legend Styles */
.map-legend {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.map-legend h4 {
    font-family: 'Montserrat Alternates', sans-serif;
    color: #0d1b2a;
    margin-bottom: 10px;
    font-size: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    color: #666;
}

.legend-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.supply-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat h3 {
    font-family: monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #415a77;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: #e0e1dd;
    color: #0d1b2a;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: #1b263b;
}

/* White Spacer Section */
.white-spacer {
    background: white;
    padding: 60px 0;
}

/* Footer */
.footer {
    background: #0d1b2a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    width: 180px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section h4 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    margin-top: 0.2rem;
    color: #415a77;
}

.contact-item span {
    font-family: 'Montserrat', sans-serif;
    opacity: 0.9;
    line-height: 1.5;
}

.contact-link {
    font-family: 'Montserrat', sans-serif;
    color: #e0e1dd;
    text-decoration: underline;
    opacity: 0.9;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: block;
}

.contact-link:hover {
    color: #778da9;
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 2100;
        padding: 1rem 0;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 2rem;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
        height: auto;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .supply-content {
        grid-template-columns: 1fr;
    }
    
    .supply-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hot-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .supply-stats {
        flex-direction: column;
    }
    
    .gallery-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .thumbnail {
        height: 80px;
    }
    
    .thumbnails-section {
        max-height: 400px;
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-item i {
        margin-top: 0;
        align-self: flex-start;
    }
    
    .contact-link {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Product Gallery Page */
.product-gallery-page {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h1 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: #415a77;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #0d1b2a;
    transform: translateY(-2px);
}

.gallery-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.main-image-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image-container {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.main-image-container img:hover {
    transform: scale(1.02);
}

.thumbnails-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.thumbnails-section::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.thumbnails-section::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnails-section::-webkit-scrollbar-thumb {
    background: transparent;
}

.thumbnails-section h3 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: #415a77;
    box-shadow: 0 5px 15px rgba(65, 90, 119, 0.3);
}

.thumbnail.active {
    border-color: #415a77;
    box-shadow: 0 5px 20px rgba(65, 90, 119, 0.4);
    transform: scale(1.05);
}

/* Category Gallery Styles */
.category-gallery {
    margin-top: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h3 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.image-count {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Responsive Design for Category Gallery */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-image {
        height: 200px;
    }
    
    .category-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .category-overlay h3 {
        font-size: 1.3rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.product-card,
.hot-product-card {
    transition: all 0.3s ease;
}

.product-card:hover,
.hot-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
