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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.nav {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    flex-shrink: 0;
}

.brand-text {
    display: block; /* Show text alongside original logo */
}

.logo {
    height: 40px;
    width: auto;
    max-width: 108px; /* Maintains 980:360 aspect ratio at 40px height */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.2s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #4a5568;
    transition: all 0.2s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #f093fb;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: #1a202c;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video-container:hover .video-controls {
    opacity: 1;
}

.video-toggle,
.video-sound {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-toggle:hover,
.video-sound:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Maintain original image container styles for backwards compatibility */
.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a202c;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.floating-card i {
    color: #667eea;
    font-size: 1.25rem;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-icon i {
    font-size: 1.5rem;
    color: white;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.product-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.product-features li::before {
    content: '✓';
    color: #48bb78;
    font-weight: 700;
    flex-shrink: 0;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.product-cta:hover {
    gap: 0.75rem;
}

/* Product Showcase in Hero */
.product-showcase {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.showcase-item {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: scale(1.1);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

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

.about-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.advantages-grid {
    display: grid;
    gap: 2rem;
}

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

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    color: white;
    font-size: 1.25rem;
}

.advantage-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: #4a5568;
    font-size: 0.875rem;
}

.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.experience-years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.experience-text {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

/* Manufacturing Grid */
.manufacturing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.manufacturing-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    height: 120px;
    transition: transform 0.3s ease;
}

.manufacturing-image:hover {
    transform: scale(1.05);
}

/* Locations Section */
.locations {
    padding: 6rem 0;
    background: #f7fafc;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.location-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.location-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.location-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 0;
}

.location-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.location-details {
    padding: 2rem;
}

.location-address {
    margin-bottom: 2rem;
}

.location-address p {
    color: #4a5568;
    line-height: 1.6;
}

.location-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item i {
    color: #667eea;
    width: 16px;
}

.contact-item a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #667eea;
}

.location-secondary,
.location-features {
    padding: 0 2rem 2rem;
}

.location-secondary p {
    color: #718096;
    font-size: 0.875rem;
}

.location-features p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.location-features i {
    color: #48bb78;
}

/* Maps Section */
.maps-section {
    margin-top: 4rem;
    padding: 3rem 0 0;
    border-top: 1px solid #e2e8f0;
}

.maps-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.map-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container h4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-embed {
    width: 100%;
    height: 300px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    padding: 1.5rem;
    background: #f7fafc;
}

.map-info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.map-info strong {
    color: #2d3748;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    color: white;
    font-size: 1.25rem;
}

.method-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.method-content p,
.method-content a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.method-content a:hover {
    color: #667eea;
}

.method-content span {
    font-size: 0.875rem;
    color: #718096;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #f7fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
    background: #f7fafc;
    padding: 2.5rem;
    border-radius: 16px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 136px; /* Maintains 980:360 aspect ratio at 50px height */
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

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

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #667eea;
}

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

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #a0aec0;
}

.footer-contacts i {
    color: #667eea;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0aec0;
    font-size: 0.875rem;
}

.badge i {
    color: #48bb78;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright p {
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }

    /* Logo scaling for tablets */
    .logo {
        height: 35px;
        max-width: 95px; /* Maintains aspect ratio */
    }

    .footer-logo {
        height: 40px;
        max-width: 109px; /* Maintains aspect ratio */
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-stats {
        justify-content: center;
    }

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

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Product Showcase */
    .product-showcase {
        flex-wrap: wrap;
    }

    .showcase-item {
        width: 60px;
        height: 60px;
        object-fit: cover;
        object-position: center;
    }

    /* Manufacturing Grid */
    .manufacturing-grid {
        grid-template-columns: 1fr;
    }

    /* Maps */
    .maps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Logo scaling for mobile */
    .logo {
        height: 30px;
        max-width: 82px; /* Maintains aspect ratio */
    }

    .footer-logo {
        height: 35px;
        max-width: 95px; /* Maintains aspect ratio */
    }

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

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

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    /* Small screen maps */
    .maps-grid {
        grid-template-columns: 1fr;
    }

    .map-container h4 {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }

    .map-embed {
        height: 250px;
    }

    .product-showcase {
        gap: 0.5rem;
    }

    .showcase-item {
        width: 50px;
        height: 50px;
        object-fit: cover;
        object-position: center;
    }

    /* About image responsive */
    .about-image {
        height: 300px;
    }

    /* Manufacturing images responsive */
    .manufacturing-image {
        height: 100px;
    }

    /* Video responsive */
    .hero-video {
        min-height: 200px;
    }

    .video-controls {
        bottom: 10px;
        right: 10px;
        opacity: 1; /* Always visible on mobile */
    }

    .video-toggle,
    .video-sound {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

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

.hero-content,
.product-card,
.advantage,
.location-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
.btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .btn,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: #000;
    }
    
    .section-title {
        color: #000;
    }
}