/* ========================================
   MARLAX Drums - Texon Packaging Website
   Professional Manufacturing Website Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style-position: inside;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 168, 89, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation */
.nav {
    position: relative;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #00A859;
    color: #ffffff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #00A859;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   CAROUSEL SECTION
   ======================================== */

.carousel-section {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f5f5f5;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators .indicator.active {
    background-color: #00A859;
    border-color: #ffffff;
    width: 14px;
    height: 14px;
}

/* ========================================
   HERO SECTION (For other pages)
   ======================================== */

.hero-section {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background-color: #f5f5f5;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f5f5f5;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
    padding: 80px 24px;
    background-color: #ffffff;
}

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

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #00A859;
    margin: 20px auto 0;
    border-radius: 2px;
}

.content-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    max-width: 900px;
    margin: 0 auto;
}

.content-text p {
    margin-bottom: 24px;
}

.intro-text {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 30px;
}

/* Sub Heading */
.sub-heading {
    font-size: 24px;
    font-weight: 600;
    color: #00A859;
    text-align: center;
    margin: 50px 0 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Drum Sizes Image */
.drum-sizes-image {
    max-width: 100%;
    margin: 40px auto;
    text-align: center;
}

.drum-sizes-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Infrastructure Page Styles */
.infra-heading {
    font-size: 22px;
    font-weight: 600;
    color: #00A859;
    margin: 40px 0 15px;
}

.infra-list {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.infra-list li {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 8px;
}

/* Infrastructure Image Gallery */
.infra-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 168, 89, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Manufacturing Process List */
.process-list {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    padding: 25px 30px;
    margin-bottom: 0;
    background-color: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid #00A859;
}

.process-step p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
}

.process-arrow {
    text-align: center;
    font-size: 36px;
    color: #00a85a;
    margin: 20px 0;
    font-weight: bold;
}

/* Features List (Why Choose) */
.features-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.features-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
}

.features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #00A859;
    font-size: 28px;
    line-height: 1;
}

.features-list li strong {
    color: #000000;
    font-weight: 600;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.map-section {
    width: 100%;
    height: 450px;
    background-color: #f5f5f5;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

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

.contact-grid-two {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.contact-card {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    border-left: 4px solid #00A859;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 400px;
    max-width: 100%;
}

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

.contact-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 15px;
}

.contact-card a {
    color: #00A859;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #008040;
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #ffffff;
    padding: 40px 24px;
    margin-top: 0;
    border-top: 2px solid #e0e0e0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-text {
    color: #000000;
    font-size: 14px;
}

.footer-text p {
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        height: 70px;
        padding: 0 20px;
    }

    .logo img {
        height: 40px;
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        padding: 40px 20px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        border-left: 2px solid #e0e0e0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 16px 20px;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    /* Carousel */
    .carousel-section {
        height: 350px;
    }

    /* Hero */
    .hero-section {
        height: 350px;
    }

    /* Content */
    .content-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .content-text {
        font-size: 16px;
    }

    .intro-text {
        font-size: 18px;
    }

    .process-step {
        padding: 20px 25px;
    }

    .process-step p {
        font-size: 16px;
    }

    .process-arrow {
        font-size: 32px;
        margin: 15px 0;
    }

    .features-list li {
        font-size: 16px;
    }

    /* Map */
    .map-section {
        height: 350px;
    }

    /* Contact Grid */
    .contact-grid,
    .contact-grid-two {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Infrastructure Gallery */
    .infra-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item img {
        height: 220px;
    }

    .infra-heading {
        font-size: 20px;
    }

    .infra-list li {
        font-size: 16px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-logo img {
        height: 40px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .header-container {
        height: 65px;
        padding: 0 16px;
    }

    .logo img {
        height: 35px;
    }

    .nav-menu {
        top: 65px;
        width: 100%;
        height: calc(100vh - 65px);
        right: -100%;
        background-color: #ffffff;
        border-left: 2px solid #e0e0e0;
    }

    .carousel-section {
        height: 280px;
    }

    .hero-section {
        height: 280px;
    }

    .content-section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
        margin: 15px auto 0;
    }

    .content-text {
        font-size: 15px;
    }

    .intro-text {
        font-size: 16px;
    }

    .process-step {
        padding: 18px 20px;
    }

    .process-step p {
        font-size: 15px;
    }

    .process-arrow {
        font-size: 28px;
        margin: 12px 0;
    }

    .features-list li {
        font-size: 15px;
        padding-left: 30px;
    }

    .features-list li::before {
        font-size: 28px;
    }

    .map-section {
        height: 300px;
    }

    /* Infrastructure Gallery Mobile */
    .infra-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item img {
        height: 200px;
    }

    .infra-heading {
        font-size: 18px;
    }

    .infra-list li {
        font-size: 15px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-card h3 {
        font-size: 20px;
    }

    .contact-card p {
        font-size: 15px;
    }

    .carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }

    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-indicators .indicator.active {
        width: 12px;
        height: 12px;
    }
}