/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed header */
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Variables */
:root {
    --primary-color: #002060;
    /* Logo Navy Blue */
    --secondary-color: #5b7bb2;
    /* Logo Light Blue */
    --accent-color: #f39c12;
    /* Complementary Gold/Orange for CTA */
    --light-bg: #f5f6fa;
    --dark-bg: #001540;
    /* Very Dark Navy for footer */
    --text-light: #ecf0f1;
    --transition: all 0.3s ease;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #d35400;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid white;
}

.btn-light:hover {
    background-color: transparent;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: #7f8c8d;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 1);
    /* Solid white initially */
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    backdrop-filter: blur(5px);
    /* Glass effect */
    height: auto;
    /* Allow height change if needed */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    /* Increased height for better spacing */
}

/* Logo Styles */
.logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 60px;
    /* Slightly reduced for better breathing room */
    width: auto;
    object-fit: contain;
}

/* Mobile Logo Adjustment */
@media (max-width: 768px) {
    .logo-img {
        height: 55px;
        /* Increased for better visibility on mobile */
    }
}

.nav-links {
    display: flex;
    align-items: center;
    /* Ensure links and button align vertically */
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

/* Language Button */
.btn-lang {
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-lang:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .lang-switch-item {
        margin-top: 10px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../assets/images/hero_bg_final.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    color: white;
    margin-top: 90px;
    /* Header height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 42, 54, 0.85), rgba(44, 62, 80, 0.7));
    /* Darker overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-text p {
    margin-bottom: 20px;
    color: #444;
    /* Darker text */
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-item span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Products Section */
.products {
    background-color: #ecf0f1;
    /* Light Gray Background */
    position: relative;
}

/* Diagonal divider effect */
.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.product-info p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #666;
}

.product-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #444;
}

.product-list i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 60px 0;
    color: white;
    text-align: center;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* 1:1.5 ratio for better map view */
    gap: 40px;
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-info {
    padding: 40px;
}

.map {
    height: 100%;
    min-height: 400px;
    /* Force minimum height */
}

/* Responsive */
.footer {
    background-color: var(--dark-bg);
    padding: 30px 0;
    color: var(--text-light);
    text-align: center;
}

.footer-content p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-content span {
    color: var(--accent-color);
}

@media (max-width: 900px) {
    .h1 {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 80px;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 50px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 20px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 250px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lang-switch-item {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .btn-lang {
        width: auto !important;
        /* Force auto width */
        display: inline-flex;
        min-width: 100px;
        /* Minimum width for touch target */
        justify-content: center;
    }
}