/* ==========================================================================
   1. GLOBAL RESET & FOUNDATION
   ========================================================================== */
:root {
    --brand-gold: #CC9933;
    --brand-black: #0a0a0a;
    --bg-light: #fcfcfc;
    --transition-fluid: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    padding-top: 40px; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.text-gold { color: var(--brand-gold) !important; }

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

/* Typography */
.serif-title, .serif-sub { font-family: "Playfair Display", serif; font-style: italic; }

.sans-headline, .bento-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* ==========================================================================
   2. NAVIGATION & HEADER
   ========================================================================== */
.navbar { border: none !important; box-shadow: 0 2px 15px rgba(0,0,0,0.05); background-color: #fff !important; }

.navbar-brand img { max-width: 100%; object-fit: contain; }

.navbar-toggler { z-index: 1060; outline: none !important; box-shadow: none !important; border: none !important; }

/* Hamburger Icon */
.hamburger-icon {
    width: 30px; height: 20px;
    display: flex; flex-direction: column; justify-content: space-between;
    cursor: pointer;
}

.hamburger-icon .bar {
    height: 3px; width: 100%;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.navbar-toggler:hover .bar { background-color: var(--brand-gold); }

/* Offcanvas Menu */
.offcanvas { width: 300px !important; z-index: 2000 !important; }
.offcanvas-backdrop { z-index: 1900 !important; }

.offcanvas .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    padding-left: 15px;
    transition: var(--transition-fluid);
}

.offcanvas .nav-link:hover {
    color: var(--brand-gold) !important;
    padding-left: 25px;
}

.offcanvas .nav-link::after {
    content: ''; position: absolute;
    width: 0; height: 1px; bottom: 5px; left: 25px;
    background-color: var(--brand-gold);
    transition: width 0.4s ease;
}

.offcanvas .nav-link:hover::after { width: 40px; }

/* Luxury Logic: Hide elements when menu open */
body.offcanvas-open .navbar-brand, 
body.offcanvas-open .hamburger-icon { opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }

/* ==========================================================================
   3. COMPONENTS & GRIDS
   ========================================================================= */

/* Metric Cards */
.metric-card {
    padding: 40px; background: #fff; border: 1px solid #eee;
    transition: var(--transition-fluid); height: 100%;
}
.metric-card:hover { border-color: var(--brand-gold); transform: translateY(-10px); }

.gold-label {
    color: var(--brand-gold); font-weight: 700; font-size: 12px;
    letter-spacing: 3px; display: block; margin-bottom: 15px;
}

/* Service Image Frames */
.img-frame {
    width: 100%; height: 480px; overflow: hidden;
    position: relative; margin-bottom: 20px;
    border: 1px solid #f0f0f0; background-color: #000;
}

.img-frame img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.service-box:hover .img-frame img { transform: scale(1.1); opacity: 0.8; }

/* Bento Grid System */
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px); gap: 20px; padding: 80px 0;
}

.bento-item { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.item-large { grid-column: span 2; grid-row: span 2; }

.dark-card { 
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative; overflow: hidden; padding: 60px !important;
    border: 1px solid rgba(204, 153, 51, 0.1);
}

.dark-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(204, 153, 51, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 153, 51, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}

.gold-card { background-color: var(--brand-gold); color: #000; text-align: center; }
.border-card { border: 1px solid #000; background: transparent; text-align: center; }

/* ==========================================================================
   4. INSTITUTIONAL FOOTER
   ========================================================================== */
.institutional-footer {
    background-color: var(--brand-black); color: #ffffff;
    padding: 100px 0 40px 0;
    border-top: 1px solid rgba(204, 153, 51, 0.2);
}

.footer-logo { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 4px; color: var(--brand-gold); margin-bottom: 20px; }

.footer-tagline { font-family: 'Playfair Display', serif; font-style: italic; font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.8; }

.footer-label { text-transform: uppercase; font-size: 12px; letter-spacing: 3px; color: var(--brand-gold); margin-bottom: 25px; font-weight: 700; }

.footer-links li { 
    margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.8); 
    transition: var(--transition-fluid); 
}

.footer-links a { color: inherit; text-decoration: none; position: relative; display: inline-block; padding-bottom: 2px; }

.footer-links a::after {
    content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0;
    background-color: var(--brand-gold); transition: width 0.4s ease;
}

.footer-links li:hover { transform: translateX(8px); }
.footer-links li:hover a { color: var(--brand-gold); }
.footer-links li:hover a::after { width: 100%; }

.coming-soon-text {
    color: rgba(255, 255, 255, 0.5) !important; font-family: 'Playfair Display', serif;
    font-style: italic; font-size: 14px; display: block; margin-top: 5px;
}

.footer-bottom { margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }

.copyright, .legal-links, .developer-credit { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 1px; margin-bottom: 0; text-transform: uppercase; }

.developer-credit a { color: var(--brand-gold); text-decoration: none; font-weight: 700; }

/* ==========================================================================
   5. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    .section-padding { padding: 80px 0; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .item-large { grid-column: span 1; }
    .institutional-footer { padding: 60px 0 30px 0; }
    .footer-bottom { margin-top: 40px; text-align: center; }
    .navbar-brand img { height: 70px !important; }
}