/* ===============================
   ROOT VARIABLES
================================ */
:root {
    --primary-color: #1f3c88;
    --text-color: #222222;
    --bg-color: #ffffff;

    --font-main: Arial, Helvetica, sans-serif;
}

/* ===============================
   CSS RESET
================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   HTML & BODY
================================ */
html {
    font-size: 16px; /* ✅ FIXED (was 24px) */
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: 90px;
}

/* ======================================= HOME HEADER START ========================================================== */
/* =======================================================
   1. GLOBAL HEADER STYLES
======================================================= */
.lux-header {
    background: #000000;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    border-bottom: 1px solid rgba(201, 162, 77, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.8); /* Added depth */
}

/* INNER WRAPPER */
.lux-inner {
    max-width: 95%;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px; /* Enforce consistent height */
}

/* LOGO */
.lux-logo img {
    height: 60px; /* Adjusted for better proportions */
    display: block;
    width: auto;
}

/* =======================================================
   2. DESKTOP NAVIGATION
======================================================= */
.lux-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* NAV LINKS */
.lux-nav a,
.lux-dropdown .drop-trigger {
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

/* Hover Effect for Links */
.lux-nav a:hover,
.lux-dropdown:hover .drop-trigger {
    color: #c9a24d;
}

/* DROPDOWN WRAPPER */
.lux-dropdown {
    position: relative;
    padding: 20px 0; /* Padding creates a hover bridge */
}

/* DROPDOWN MENU (DESKTOP DEFAULT) */
.lux-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0a0a0a;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #c9a24d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    padding: 10px 0;
    z-index: 4000;
}

.lux-dropdown-menu a {
    padding: 14px 25px;
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: #b0b0b0; /* Softer white for subitems */
    border-bottom: 1px solid rgba(201, 162, 77, 0.1);
    transition: background 0.3s ease, color 0.3s ease;
}

.lux-dropdown-menu a:last-child {
    border-bottom: none;
}

.lux-dropdown-menu a:hover {
    background: #c9a24d;
    color: #000;
    padding-left: 30px; /* Slide effect on hover */
}

/* SHOW DROPDOWN ON DESKTOP HOVER */
@media (min-width: 1025px) {
    .lux-dropdown:hover .lux-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* =======================================================
   3. HAMBURGER TOGGLE (VISIBLE ON MOBILE/TAB)
======================================================= */
.lux-toggle {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 25px;
    cursor: pointer;
    position: relative;
    z-index: 3500; /* Higher than nav */
}

.lux-bar {
    width: 100%;
    height: 2px;
    background-color: #c9a24d;
    transition: all 0.4s ease-in-out;
    border-radius: 2px;
}

/* HAMBURGER ANIMATION (Make an X) */
.lux-toggle.active .lux-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.lux-toggle.active .lux-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.lux-toggle.active .lux-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =======================================================
   4. RESPONSIVE DESIGN (TABLET & MOBILE)
======================================================= */
@media (max-width: 1024px) {

    /* NAVIGATION DRAWER */
    .lux-nav {
        position: fixed;
        top: 120px;
        right: -100%; /* Hidden by default */
        width: 400px; /* Drawer width */
        height: 100vh;
        background: #050505; /* Deep black */
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0px;
        gap: 0; /* Reset gap, use padding instead */
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        border-left: 1px solid #c9a24d;
        z-index: 2500;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        overflow-y: auto; /* Scrollable if height is small */
    }

    /* OPEN STATE */
    .lux-nav.active {
        right: 0;
    }

    .lux-header {
        padding: 15px 0; /* Increase top/bottom space */
    }

    .lux-inner {
        height: 90px; /* ✅ Increased height */
    }

    .lux-logo img {
        height: 60px; /* Better visual balance */
    }

    /* SHOW TOGGLE BUTTON */
    .lux-toggle {
        display: flex;
    }

    /* MAIN LINKS STYLING IN MOBILE */
    .lux-nav > a,
    .lux-dropdown .drop-trigger {
        font-size: 16px;
        padding: 20px 40px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: block;
    }

    .lux-nav > a:hover,
    .lux-dropdown .drop-trigger:hover {
        background: rgba(201, 162, 77, 0.1);
        padding-left: 50px; /* Slide interaction */
    }

    /* DROPDOWN WRAPPER MOBILE */
    .lux-dropdown {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    /* MOBILE DROPDOWN MENU */
    .lux-dropdown-menu {
        position: static; /* Stack naturally */
        opacity: 1;
        visibility: visible;
        display: none; /* Hidden until JS toggles it */
        transform: none;
        background: #111; /* Slightly lighter background */
        border: none;
        border-top: 1px solid rgba(201, 162, 77, 0.2);
        box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
        width: 100%;
        padding: 0;
    }

    /* OPEN DROPDOWN (Requires JS to add 'active' class to .lux-dropdown) */
    .lux-dropdown.active .lux-dropdown-menu {
        display: block;
        animation: fadeIn 0.5s;
    }

    /* DROPDOWN LINKS MOBILE */
    .lux-dropdown-menu a {
        padding: 15px 40px 15px 60px; /* Indented deeply */
        font-size: 13px;
        color: #bbb;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .lux-dropdown-menu a:hover {
        color: #c9a24d;
        background: transparent;
        padding-left: 65px;
    }

    /* Add a visual '+' icon for dropdown trigger on mobile */
    .lux-dropdown .drop-trigger::after {
        content: '+';
        float: right;
        font-weight: bold;
        transition: transform 0.3s;
    }

    .lux-dropdown.active .drop-trigger::after {
        transform: rotate(45deg); /* Turns to X when open */
        color: #c9a24d;
    }
}

/* FADE IN ANIMATION FOR MOBILE DROPDOWN */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ======================================= HOME HEADER END ========================================================== */

/* ======================================= FOOTER START ========================================================== */
/* =========================================
   FOOTERELITE STYLES (Fixed & Polished)
========================================= */

.footerelite-section {
    background: #000000;
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding-top: 40px;
    position: relative; 
    width: 100%;
    box-sizing: border-box;
}

.footerelite-section * {
    box-sizing: border-box;
}

/* ===============================
   DESKTOP (3 COLUMNS)
================================ */
.footerelite-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* FOOTER BOX */
.footerelite-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footerelite-box.footerelite-no-icon {
    align-items: center;
}

/* ICONS (Location/Phone) */
.footerelite-icon {
    font-size: 22px;
    color: #c9a24d; /* Gold */
    margin-top: 2px;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

/* CONTENT CONTAINER */
.footerelite-content {
    width: 100%;
}

/* HEADINGS */
.footerelite-content h4 {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* TEXT LINKS (Address, Phone, Email) */
/* We use > a to select only direct links, protecting nested social icons */
.footerelite-content > a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footerelite-content > a:hover {
    color: #c9a24d;
    transform: translateX(5px);
}

/* SOCIAL ICONS CONTAINER */
.footerelite-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Safety for very small screens */
}

/* SOCIAL ICON LINKS */
.footerelite-social a {
    width: 40px !important;   /* Force exact width */
    height: 40px !important;  /* Force exact height */
    border: 1px solid #333;
    border-radius: 50%;       /* Perfect Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* VITAL FIX: Prevents squashing or stretching */
    flex-shrink: 0; 
    margin-bottom: 0; 
}

.footerelite-social a:hover {
    background: #c9a24d;
    color: #000;
    border-color: #c9a24d;
    transform: translateY(-3px);
}

/* DIVIDER */
.footerelite-divider {
    border-top: 1px solid #222222;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

/* BOTTOM FOOTER */
.footerelite-bottom {
    text-align: center;
    padding: 5px 20px;
    font-size: 14px;
    color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footerelite-bottom strong {
    color: #fff;
}

/* DESIGNER LINK */
.footerelite-designer {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-left: 5px;
}

.footerelite-designer img {
    height: 24px;
    width: auto;
    display: block;
    transition: opacity 0.3s;
}

.footerelite-designer:hover img {
    opacity: 0.8;
}

/* =========================================
   TABLET RESPONSIVENESS (Max 1024px)
========================================= */
@media (max-width: 1024px) {
    .footerelite-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footerelite-box:last-child {
        grid-column: span 2;
        justify-content: center;
        margin-top: 10px;
    }

    .footerelite-box:last-child .footerelite-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (Max 768px)
========================================= */
@media (max-width: 768px) {
    
    .footerelite-section {
        padding-top: 20px;
    }

    /* Stack everything in 1 column */
    .footerelite-top {
        grid-template-columns: 1fr;
        padding-bottom: 40px;
        gap: 40px;
    }

    /* Reset grid behavior */
    .footerelite-box:last-child {
        grid-column: auto;
        margin-top: 0;
    }

    /* Center Align Boxes */
    .footerelite-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    /* Adjust Icon position */
    .footerelite-icon {
        margin-bottom: 15px;
        font-size: 28px;
        width: auto;
    }

    .footerelite-content h4 {
        margin-bottom: 12px;
    }

    /* Make Text Links Full Width for Easy Tapping */
    .footerelite-content > a {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* SOCIAL ICONS FIX: Keep them centered and NOT stretched */
    .footerelite-social {
        justify-content: center;
        width: 100%;
        margin-top: 5px;
    }

    /* Explicitly force size again for mobile safety */
    .footerelite-social a {
        width: 40px !important;
        height: 40px !important;
        flex: none; /* Do not grow or shrink */
    }

    /* Bottom Footer Layout */
    .footerelite-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footerelite-designer {
        margin-left: 0;
    }
}

/* ======================================= FOOTER END ========================================================== */

