/* ===============================================
   J PAN TUBULAR - EXACT COLOR MATCH
   Based on Uploaded Design
   =============================================== */

:root {
    /* Main Color Palette - From Image */
    --primary-cyan: #00bcd4;
    --primary-cyan-dark: #0097a7;
    --primary-cyan-light: #26c6da;
    --dark-navy: #2c3e50;
    --darker-navy: #1a252f;
    --slate-dark: #34495e;
    /* Neutrals */
    --pure-white: #ffffff;
    --light-gray: #ecf0f1;
    --medium-gray: #95a5a6;
    --text-gray: #7f8c8d;
    --border-gray: #e0e0e0;
    /* Accents */
    --success-green: #27ae60;
    --warning-orange: #f39c12;
    /* Gradients */
    --gradient-cyan: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 188, 212, 0.9) 0%, rgba(0, 151, 167, 0.85) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: var(--pure-white);
}

/* ================= HEADER & NAVIGATION ================= */
header {
    background: var(--pure-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 35px;
        width: auto;
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

    .nav-menu a {
        color: var(--dark-navy);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
        padding: 8px 0;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-cyan);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover {
            color: var(--primary-cyan);
        }

            .nav-menu a:hover::after {
                width: 100%;
            }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

    .mobile-menu-toggle span {
        width: 28px;
        height: 3px;
        background: var(--dark-navy);
        transition: all 0.3s;
        border-radius: 3px;
    }

/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: var(--dark-navy);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

    .slide.active {
        opacity: 1;
        transform: scale(1);
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.7);
    }

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--pure-white);
    padding: 2rem;
    max-width: 900px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

    .slide-content h2 span {
        color: var(--pure-white);
        display: block;
        font-size: 4.2rem;
        margin-top: 0.5rem;
    }

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

    .dot.active {
        background: var(--pure-white);
        width: 35px;
        border-radius: 5px;
    }

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 100px 5%;
    background: var(--pure-white);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

    .about-content h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 4px;
        background: var(--primary-cyan);
        border-radius: 2px;
    }

.about-content h3 {
    font-size: 1.5rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-cyan);
    color: var(--pure-white);
    padding: 16px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 188, 212, 0.45);
        background: var(--primary-cyan-dark);
    }

.about-image {
    position: relative;
}

    .about-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
    }

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-cyan);
    color: var(--pure-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
}

    .experience-badge .number {
        font-size: 3.5rem;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .experience-badge .text {
        font-size: 1.1rem;
        font-weight: 500;
        margin-top: 5px;
    }


/* ================= STATS SECTION ================= */
.stats-section {
    background: var(--gradient-dark);
    padding: 50px 5%;
    color: var(--pure-white);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ================= CTA SECTION ================= */
.cta-section {
    background: var(--gradient-cyan);
    color: var(--pure-white);
    padding: 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
        animation: float 30s linear infinite;
    }

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--pure-white);
    color: var(--primary-cyan);
    padding: 16px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

    .btn-white:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        background: var(--light-gray);
    }

.btn-outline {
    background: transparent;
    color: var(--pure-white);
    padding: 16px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--pure-white);
    transition: all 0.3s;
}

    .btn-outline:hover {
        background: var(--pure-white);
        color: var(--primary-cyan);
    }

/* ================= FOOTER ================= */
footer {
    background: var(--dark-navy);
    color: var(--light-gray);
    padding: 70px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--pure-white);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section strong {
    color: var(--primary-cyan);
    display: block;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.8rem;
    }

.footer-section a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

    .footer-section a:hover {
        color: var(--primary-cyan);
        padding-left: 5px;
    }

.footer-link {
    color: var(--primary-cyan);
    font-weight: 600;
    text-decoration: none;
}

    .footer-link:hover {
        text-decoration: underline;
    }

.copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* ================= ANIMATIONS ================= */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animate-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s ease;
}

.animate-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

    .animate.show,
    .animate-left.show,
    .animate-right.show,
    .animate-zoom.show {
        opacity: 1;
        transform: none;
    }

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--pure-white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease-in-out;
        gap: 0;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu li {
            width: 100%;
        }

        .nav-menu a {
            display: block;
            padding: 18px 20px;
            border-bottom: 1px solid var(--border-gray);
            font-size: 1.1rem;
        }

    .slide-content h2 {
        font-size: 2.8rem;
    }

        .slide-content h2 span {
            font-size: 3rem;
        }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
