/* =========================================
   1. CORE VARIABLES & THEME SETUP
   ========================================= */
:root {
    --monolith-black: #080808; 
    --charcoal: #121212;
    --monolith-gold: #E5C158; /* Matching the bright gold in your PDF */
    --text-light: #e0e0e0;
    --border-faint: rgba(229, 193, 88, 0.15); 
    --glass-bg: rgba(10, 10, 10, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--monolith-black);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
.section-header {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--monolith-gold);
}

.meta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888;
    display: block;
    margin-bottom: 1rem;
}

/* =========================================
   3. IMMERSIVE FULL-WIDTH SECTIONS
   ========================================= */
.immersive-section {
    position: relative;
    width: 100vw;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 5%;
}

.bg-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.4);
    transition: filter 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s ease;
}

/* Grayscale to Color & Zoom Animation on Hover */
.immersive-section:hover .bg-image-wrapper img {
    filter: grayscale(0%) brightness(0.6);
    transform: scale(1.03);
}

/* =========================================
   4. FLOATING GLASS PLACARDS
   ========================================= */
.glass-panel {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-faint);
    padding: 4rem;
    max-width: 650px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Reacting on hover */
.glass-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 193, 88, 0.4);
    box-shadow: 0 40px 70px rgba(0,0,0,0.9), 0 0 40px rgba(229, 193, 88, 0.05);
}

/* Alignment utilities */
.panel-left { margin-right: auto; }
.panel-right { margin-left: auto; }
.panel-center { margin: 0 auto; text-align: center; }

/* =========================================
   5. NAVIGATION BAR
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: transparent;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0));
    position: fixed; 
    width: 100%;
    top: 0;
    z-index: 1000; 
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-faint);
}

.nav-logo-img { height: 110px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--monolith-gold); }

/* =========================================
   6. BUTTONS
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--monolith-gold);
    border: 1px solid var(--monolith-gold);
    padding: 1rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    margin-top: 1.5rem;
}

.btn-primary:hover {
    background-color: var(--monolith-gold);
    color: var(--monolith-black);
}

/* =========================================
   7. VALUE PILLARS GRID
   ========================================= */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--monolith-gold);
    padding: 3rem;
    transition: transform 0.4s ease;
}

.pillar-card:hover { transform: translateY(-10px); }
.pillar-card h3 { font-family: 'Playfair Display', serif; color: var(--monolith-gold); font-size: 1.5rem; margin-bottom: 1rem; }

/* =========================================
   8. FOOTER
   ========================================= */
.footer { background-color: var(--monolith-black); border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 5rem 5% 2rem 5%; }
.footer-links { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; max-width: 1400px; margin: 0 auto 4rem auto;}
.footer-column h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--monolith-gold); margin-bottom: 2rem; }
.footer-column a { display: block; text-decoration: none; color: #888; font-size: 0.9rem; margin-bottom: 1.2rem; transition: color 0.3s ease; }
.footer-column a:hover { color: var(--text-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; text-align: center; font-size: 0.8rem; color: #666; }

/* =========================================
   9. MOBILE RESPONSIVENESS & UTILS
   ========================================= */
.gsap-fade { opacity: 0; transform: translateY(20px); }

/* =========================================
   10. B2B TRADE APPLICATION FORM
   ========================================= */
.form-wrapper {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 10;
}

.b2b-form {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 4rem;
    border: 1px solid var(--border-faint);
    border-top: 2px solid var(--monolith-gold);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8); 
}

.form-row {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--monolith-gold);
    margin-bottom: 0.8rem;
}

/* Elegant Inputs and Dropdowns */
.input-group input,
.input-group select,
.input-group textarea {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Fix for select dropdown arrow color */
.input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23E5C158%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

/* The interaction glow */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--monolith-gold);
    box-shadow: 0 0 15px rgba(229, 193, 88, 0.1);
    background-color: rgba(20, 20, 20, 0.8);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #555;
    font-style: italic;
}

.form-submit {
    margin-top: 4rem;
    text-align: center;
}

.btn-submit {
    width: 100%;
    background-color: transparent;
    color: var(--monolith-gold);
    border: 1px solid var(--monolith-gold);
    padding: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-submit:hover {
    background-color: var(--monolith-gold);
    color: var(--monolith-black);
}

.legal-note {
    font-size: 0.75rem;
    color: #666;
    margin-top: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .pillars-grid { grid-template-columns: 1fr; }
    .glass-panel { padding: 2.5rem; }
    .footer-links { grid-template-columns: 1fr; text-align: center; }
    .b2b-form { padding: 2.5rem 1.5rem; }
    .form-row { flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
    .form-submit { margin-top: 2.5rem; }

}