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

:root {
    --primary-color: #0056b3; /* Corporate Blue */
    --secondary-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #ddd;
    --text-color: #555;
    --white: #fff;
    --container-width: 1200px;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #999;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px; /* Adjust based on actual logo */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Carousel / Banner */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 600px; /* Fixed height for banner */
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.6);
}

/* Banner Overlay Text */
.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    width: 80%;
}

.banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #cced63ff 0%, #0affdeff 50%, #2fd0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-slogan {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Home Sections */
.about-section {
    background: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Homepage About Text Box Styling */
.about-section .about-text {
    flex: 1;
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-height: 400px; /* Match image height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-section .about-text p {
    color: rgba(255, 255, 255, 0.9);
}

.about-section .about-text .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: bold;
    align-self: flex-start;
    border: 2px solid white;
}

.about-section .about-text .btn-primary:hover {
    background: transparent;
    color: white;
}

/* General About Text (for inner pages) */
.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #004494;
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    width: calc(33.333% - 20px);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
footer {
    background: #222;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 13px;
}

/* Product Detail Page */
.product-detail-container {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.product-gallery {
    flex: 1;
}

.main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.product-detail-info {
    flex: 1;
}

.product-detail-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.product-detail-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Page Headers (for subpages) */
.page-header {
    background: url('../images/banner/banner1.svg') center/cover;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}

.page-title {
    position: relative;
    color: white;
    font-size: 40px;
    z-index: 1;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }

    .nav-menu {
        display: none; /* Hide for now, simple toggle needed */
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-content, .product-detail-container {
        flex-direction: column;
    }
    
    .product-card {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }
    
    .carousel-slide img {
        height: 300px;
    }

    .banner-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .banner-slogan {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

/* Highlight Texts */
.highlight-orange {
    background-color: #ff8c00; /* Dark Orange */
    color: white;
    padding: 0 5px;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 2px;
}

.highlight-purple {
    background-color: #9b59b6; /* Purple */
    color: white;
    padding: 0 5px;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 2px;
}
