/* Global Styles & Variables */
:root {
    /* Premium Color Palette */
    --primary: #4a4a4a;
    --primary-light: #172a45;
    --secondary: #228b22;
    --secondary-hover: #075f23;
    --accent: #64ffda;
    --text: #ccd6f6;
    --text-muted: #8892b0;
    --white: #ffffff;
    --black: #020c1b;
    --gray-light: #f8f9fa;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    --shadow-lg: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-muted);
    background-color: var(--white);
    overflow-x: hidden;
    /* Prevents horizontal scrolling */
}

/* Typography Fluidity */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Fully Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Prevents stretching */
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 15px;
}

.section-badge {
    display: inline-block;
    color: var(--secondary);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary);
    transform: translateY(-3px);
}



/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: transparent;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: var(--white);
}

.navbar {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 800;
    color: grey;
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: grey;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100dvh;
    /* Fixes mobile browser address bar jumps */
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding-top: var(--header-height);
}

.hero-slider,
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease-in-out, transform 8s linear;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(2, 12, 27, 0.6) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 650px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumbs & Centered Hero */
.breadcrumb-nav {
    position: absolute;
    top: calc(var(--header-height) + 20px);
    left: 0;
    width: 100%;
    z-index: 10;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li+li::before {
    content: '\f105';
    /* FontAwesome angle right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 12px;
    margin-left: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.breadcrumb a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span[aria-current="page"] {
    color: var(--secondary);
    font-weight: 700;
}

.hero-content.centered {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* About Section */
.about {
    padding: clamp(60px, 10vw, 100px) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    border-radius: 10px;
    z-index: -1;
}

/* Why Choose Us */
.whyus {
    padding: clamp(60px, 10vw, 100px) 0;
    background-color: var(--gray-light);
}

.whyus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.whyus-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.whyus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary);
}

.whyus-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.whyus-card:hover img {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(34, 139, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.5rem;
}

/* Products Section */
.products {
    padding: clamp(80px, 10vw, 120px) 0;
    background-color: var(--gray-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--black);
    text-decoration: none;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 12, 27, 0.95) 0%, rgba(2, 12, 27, 0.5) 50%, rgba(2, 12, 27, 0.1) 100%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 40px -15px rgba(2, 12, 27, 0.8);
}

.product-card:hover::before {
    background: linear-gradient(to top, rgba(2, 12, 27, 0.98) 0%, rgba(2, 12, 27, 0.7) 60%, rgba(2, 12, 27, 0.3) 100%);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    position: relative;
    z-index: 3;
    padding: 40px 30px;
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-info h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.product-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.product-link-btn i {
    transition: transform 0.3s ease;
}

.product-card:hover .product-link-btn {
    opacity: 1;
    color: var(--secondary);
}

.product-card:hover .product-link-btn i {
    transform: translateX(5px);
}

/* Services */
.services {
    padding: clamp(60px, 10vw, 100px) 0;
    background-color: var(--primary);
    color: var(--white);
}

.services-video {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background-color: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.services-video::before {
    content: '';
    display: block;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.services-video .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.services-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services .section-header h2 {
    color: var(--white);
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Shipping & Payment */
.shipping-payment {
    padding: clamp(60px, 10vw, 100px) 0;
    background-color: var(--gray-light);
}

.split-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(40px, 8vw, 60px);
}

.shipping-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}

.shipping-logos img {
    object-fit: contain;
    /* Prevents logos from stretching */
    max-height: 50px;
    margin: 0 auto;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.payment-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.payment-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.payment-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.payment-item span {
    font-weight: 600;
    color: var(--primary);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* FAQ Section */
.faq {
    padding: clamp(60px, 10vw, 100px) 0;
    background-color: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--primary);
    text-align: left;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: var(--gray-light);
    transition: max-height 0.3s ease-out;
    /* Smooth accordion animation */
}

.answer-content {
    padding: 20px 25px;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: clamp(80px, 12vw, 120px) 0;
    background-image: url('factory.jpeg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
}

.cta p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--text-muted);
    padding: 80px 0 0;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-column h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.brand-column h3 span {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--secondary);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

/* ===== MEDIA QUERIES FOR MOBILE NAVIGATION ===== */

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: -100%;
        /* Hide off-screen by default */
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 25px;
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
        /* Slide in when active */
    }

    .mobile-menu {
        display: block;
    }

    .btn {
        width: 100%;
        display: block;
    }

    /* Buttons full width on mobile */
    .image-wrapper::before {
        display: none;
    }

    /* Remove offset borders on small screens */
}

/* iOS Parallax Fix */
@supports (-webkit-overflow-scrolling: touch) {
    .cta {
        background-attachment: scroll;
    }
}