/* --- 1. VARIABLES --- */
:root {
    --primary: #0f172a;      /* Dark Navy */
    --primary-light: #1e293b;
    --accent: #b45309;       /* Gold/Amber */
    --accent-hover: #92400e;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #94a3b8;
    --white: #ffffff;
    --light-bg: #f8fafc;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 4px;
}

/* --- 2. RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.6; background: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.bg-light { background: var(--light-bg); }
.text-center { text-align: center; }

/* --- 3. UTILITY BAR --- */
.utility-bar { background: var(--primary); color: var(--text-light); font-size: 0.85rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.utility-flex { display: flex; justify-content: space-between; align-items: center; }
.utility-contact a { color: var(--white); display: flex; align-items: center; gap: 8px; }
.utility-contact strong { color: var(--accent); }

/* --- 4. HEADER & LOGO --- */
.site-header { background: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }
.header-flex { display: flex; justify-content: space-between; align-items: center; position: relative; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { color: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); letter-spacing: 0.5px; }
.brand-sub { font-size: 0.65rem; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* --- 5. NAVIGATION (DESKTOP) --- */
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-link { font-weight: 600; color: var(--primary); font-size: 0.95rem; padding: 10px 0; position: relative; }
.nav-link:hover { color: var(--accent); }
.nav-link.btn-header { background: var(--primary); color: var(--white); padding: 10px 20px; border-radius: var(--radius); }
.nav-link.btn-header:hover { background: var(--accent); }
.arrow { font-size: 0.7em; margin-left: 4px; vertical-align: middle; }

/* Dropdown Base */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--accent);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border-radius: 0 0 4px 4px;
}

/* Dropdown Hover Effect (Desktop Only) */
@media (min-width: 992px) {
    .has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

.dropdown-menu li a { display: block; padding: 10px 20px; color: var(--text-gray); font-size: 0.9rem; border-bottom: 1px solid #f1f5f9; }
.dropdown-menu li a:hover { background: var(--light-bg); color: var(--accent); padding-left: 25px; }
.dropdown-menu .separator { height: 1px; background: #e2e8f0; margin: 5px 0; }

/* --- 6. MOBILE TOGGLE & MENU --- */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.bar { width: 25px; height: 3px; background: var(--primary); transition: 0.3s; }

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .utility-text { display: none; } /* Hide tagline on mobile */
    .utility-flex { justify-content: center; }
    
    .mobile-toggle { display: flex; }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        display: none; /* Hidden by default */
    }
    .main-nav.active { display: block; }
    
    .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
    .nav-list li { width: 100%; border-bottom: 1px solid #f1f5f9; }
    .nav-link { display: block; padding: 15px 0; width: 100%; }
    .nav-link.btn-header { margin-top: 20px; text-align: center; }
    
    /* Mobile Dropdown Logic */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--accent);
        background: #f8fafc;
        display: none; /* Hidden until toggled */
        padding-left: 10px;
        width: 100%;
    }
    
    .has-dropdown.active .dropdown-menu { display: block; }
    .arrow { float: right; }
}

/* --- 7. BUTTONS & CARDS --- */
.btn { display: inline-block; padding: 12px 24px; font-weight: 700; border-radius: var(--radius); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.service-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--primary); transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--accent); }

/* --- 8. FOOTER --- */
.site-footer { background: #0f172a; color: #cbd5e1; padding-top: 60px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }

.white-text .brand-name { color: var(--white); }
.footer-desc { font-size: 0.9rem; margin: 15px 0; }
.phone-large a { font-size: 1.25rem; font-weight: 700; color: var(--accent); }

.contact-card { background: rgba(255,255,255,0.05); padding: 20px; border-radius: var(--radius); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.85rem; }