/* Variables */
:root {
    --primary-color: #BFA15F; /* Refined Gold */
    --primary-hover: #a88d53;
    --text-dark: #111111;
    --text-light: #555555;
    --bg-light: #F9F9F7;
    --bg-dark: #0A1121;
    --top-bar-bg: #0A1121;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --white: #ffffff;
    --border-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-body);
    color: var(--text-light); /* Softer text for premium feel */
    line-height: 1.8; /* Increased line-height */
    background-color: var(--white);
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light { background-color: var(--bg-light); }

/* Sticky Navigation Group */
.sticky-top-group {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--top-bar-bg);
    color: #ccc;
    padding: 8px 0;
    font-size: 0.8rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left i, .top-bar-right i {
    color: var(--primary-color);
    margin-right: 5px;
}
.top-bar-right {
    display: flex;
    gap: 30px;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    flex-direction: column;
}
.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mc {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 300;
    font-family: var(--font-heading);
    line-height: 1;
}
.logo-right {
    display: flex;
    flex-direction: column;
}
.logo-right h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--bg-dark);
    line-height: 1;
    font-weight: 700;
}
.logo-right h2 {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-light);
}
.logo-subtext {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-top: 4px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px; /* Premium letter spacing */
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}
.main-nav a.active {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}
.mobile-menu-btn { display: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #0A1121; /* Deep Navy */
    border: 1px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}
.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}
.btn-outline:hover {
    background-color: var(--bg-dark);
    color: var(--white);
}

/* Typography & Section Headers */
.section-header {
    margin-bottom: 60px;
}
.section-subtitle {
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400; /* Lighter font weight for serif */
    color: var(--bg-dark);
    line-height: 1.15;
}
.text-center {
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../assets/images/hero-apparel-collection.png') no-repeat right center/cover;
    background-color: #f3f0ec; /* Fallback beige color */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: linear-gradient(to right, rgba(10, 17, 33, 0.95), rgba(10, 17, 33, 0.35)); /* Dark gradient for high contrast */
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 440px;
    padding: 20px 0;
}
.hero-subtitle {
    color: #E2C37A; /* Luminous Gold */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: #FFFFFF; /* Pure White */
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}
.hero-text {
    font-size: 0.95rem;
    color: #E2E8F0; /* Bright Off-White */
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}
.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Stats Banner */
.stats-banner {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 30px 0;
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.stat-icon {
    color: var(--primary-color);
    font-size: 2.2rem;
}
.stat-text h3 {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.1;
    font-weight: 600;
}
.stat-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #ccc;
    text-transform: uppercase;
}

/* About Section */
.about-section {
    padding: 120px 0;
}
.about-container {
    display: flex;
    align-items: stretch;
    gap: 60px;
}
.about-image {
    flex: 0 0 50%;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 120px 0;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.portfolio-item {
    text-align: center;
}
.portfolio-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background-color: #eee;
    margin-bottom: 15px;
}
.portfolio-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--bg-dark);
}
.portfolio-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Commitment Section */
.commitment-section {
    padding: 120px 0;
}
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}
.commitment-item {
    text-align: center;
    padding: 10px;
}
.commit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.commitment-item h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--bg-dark);
    font-weight: 700;
}
.commitment-item p {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Process Section */
.process-section {
    padding: 120px 0;
}
.process-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 10%;
}
.step-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: -15px; /* overlap */
    z-index: 1;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.step-num {
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
    position: relative;
    margin-bottom: 10px;
}
.process-step p {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}
.step-arrow {
    color: #ccc;
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Dual Section */
.dual-section {
    padding: 40px 0;
}
.dual-container {
    display: flex;
    gap: 60px;
    align-items: stretch;
}
.capabilities {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
}
.global-reach {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.bottom-btn-wrapper {
    margin-top: auto;
    padding-top: 30px;
}


.bento-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border-color: var(--primary-color);
}

.reach-icons {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 20px 0;
}
.reach-item {
    text-align: center;
}
.flag-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flag-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flag-icon i {
    font-size: 1.5rem;
    color: var(--bg-dark);
}
.reach-item p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* CTA Section */
.bottom-cta {
    position: relative;
    padding: 120px 0;
    background-color: var(--white);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-dark);
    max-width: 800px;
    margin: 0 auto;
}
.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 25px;
}
.cta-content p {
    font-size: 1rem;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #ccc;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}
.footer-col p {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-col p i {
    color: var(--primary-color);
    margin-top: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.factory-flowchart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
}
.flow-node {
    padding: 12px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.flow-arrow {
    color: var(--primary-color);
    font-size: 1rem;
}

.factory-flowchart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
}
.flow-node {
    padding: 12px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.flow-arrow {
    color: var(--primary-color);
    font-size: 1rem;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Tablet & Small Desktop */
@media (max-width: 991px) {
    .section-title, .hero-title {
        font-size: 2.8rem;
    }
    .hero {
        min-height: 500px;
        background-position: center;
    }
    .about-container, .dual-container {
        flex-direction: column;
        gap: 30px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    .commitment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Navigation Toggle moved here */
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        color: var(--bg-dark);
        cursor: pointer;
        padding-left: 10px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Base scaling for relative rem units */
    html {
        font-size: 14px; 
    }
    
    .top-bar {
        font-size: 0.75rem;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
    .top-bar-left {
        text-align: center;
        line-height: 1.4;
    }
    .top-bar-right {
        gap: 15px;
        justify-content: center;
        width: 100%;
    }
    
    /* Logo scaling */
    .logo-text {
        gap: 8px;
    }
    .logo-text .mc {
        font-size: 2rem;
    }
    .logo-right h1 {
        font-size: 1.25rem;
    }
    .logo-subtext {
        font-size: 0.6rem;
    }
    
    /* Hero */
    .hero {
        min-height: 70vh; /* Relative height */
        padding: 5vh 0;
    }
    .hero-overlay {
        background: rgba(10, 17, 33, 0.95) !important;
    }
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem); /* Fluid sizing */
    }
    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .hero-subtitle {
        font-size: clamp(0.7rem, 3vw, 0.8rem);
    }
    .hero-text {
        font-size: 0.9rem;
    }
    .cta-content h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* Grids to 1 column */
    .portfolio-grid, .commitment-grid, .footer-grid {
        grid-template-columns: 100%;
        gap: 30px;
    }
    
    /* Stats Banner Mobile Grid Layout */
    .stats-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 0 24px;
    }
    .stat-item {
        margin-bottom: 0;
        width: 100%;
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 16px;
        align-items: flex-start;
    }
    .stat-item i {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .stat-text, .stat-text h3, .stat-text p {
        text-align: left !important;
    }

    /* Process */
    .process-track {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .process-step {
        width: 100%;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    /* Footer */
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    
    /* Layouts */
    .about-section, .portfolio-section, .commitment-section, .process-section, .bottom-cta {
        padding: 8vh 0; /* Relative padding */
    }
    
    /* Subpage Inline Layout Overrides for Mobile */
    .page-content div[style*="gap: 30px"], 
    .page-content div[style*="gap: 40px"], 
    .page-content div[style*="gap: 50px"] {
        flex-direction: column !important;
    }
    
    .page-content div[style*="flex-direction: row-reverse"] {
        flex-direction: column !important;
    }
    
    .page-content div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .page-content div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .page-content img[style*="width: 300px"] {
        width: 100% !important;
        height: auto !important;
    }

    .page-content div[style*="text-align: right"] {
        text-align: left !important;
    }
}
