/* Core Styling Rules */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #ffffff;
}

/* Color Variables */
:root {
    --piano-black: #0d0d0d;
    --gold: #d4af37;
    --pure-white: #ffffff;
    --off-white: #fcfcfc;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header Container Styling */
.top-nav {
    background-color: var(--piano-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: var(--pure-white);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--gold);
}

.categories a {
    color: var(--pure-white);
    text-decoration: none;
    margin: 0 18px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.categories a:hover {
    color: var(--gold);
}

#loginBtn {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#loginBtn:hover {
    background-color: var(--gold);
    color: var(--piano-black);
}

/* App Main Inner Section Layout */
.app-container {
    display: flex;
    flex: 1;
}

/* Sidebar Styling Component */
.side-nav {
    background-color: var(--piano-black);
    width: 280px;
    border-right: 2px solid var(--gold);
    display: none; /* Hidden on initialization */
    flex-direction: column;
    padding: 30px 20px;
}

.menu-section {
    margin-bottom: 35px;
}

.menu-section h3 {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
}

.menu-section a {
    display: flex;
    align-items: center;
    color: var(--pure-white);
    text-decoration: none;
    padding: 12px 10px;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.menu-section a i {
    margin-right: 12px;
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.menu-section a:hover {
    background-color: #1a1a1a;
    color: var(--gold);
    padding-left: 15px;
}

.admin-section {
    display: none;
    margin-top: auto;
}

/* Modern Middle Content Layer */
.main-content {
    flex: 1;
    background-color: var(--pure-white);
    padding: 50px;
}

.hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--piano-black);
    font-weight: 700;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Interactive Action Buttons */
.contact-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.omni-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
}

.omni-btn:hover {
    transform: translateY(-2px);
}

.phone-btn {
    background-color: var(--piano-black);
    color: var(--gold);
    border: 2px solid var(--gold);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

/* Modal UI Component */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border-top: 5px solid var(--gold);
}

.modal-content h3 { margin-bottom: 10px; color: var(--piano-black); }
.modal-content p { font-size: 1.3rem; font-weight: bold; margin-bottom: 25px; color: var(--text-muted); }

.modal-link {
    display: block;
    background-color: var(--off-white);
    color: var(--text-dark);
    text-decoration: none;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.modal-link:hover {
    border-color: var(--gold);
    background-color: var(--piano-black);
    color: var(--pure-white);
}

.close-btn {
    background: none;
    border: none;
    color: red;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
}

/* Grid Layout Matrix */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--off-white);
    border: 1px solid #f0f0f0;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    background-color: var(--pure-white);
}

.card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h2 {
    color: var(--piano-black);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pricing-tag {
    font-size: 1.1rem;
    color: var(--text-dark);
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.pricing-tag strong { color: var(--gold); font-size: 1.3rem; }

.delivery-badge {
    display: inline-block;
    background-color: #eee;
    color: var(--text-dark);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    margin-top: auto;
    width: fit-content;
}

/* Corporate Staff Directory Elements */
.directory-section {
    border-top: 1px solid #eee;
    padding-top: 50px;
}

.directory-section h2 {
    text-align: center;
    color: var(--piano-black);
    margin-bottom: 40px;
}

.directory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.profile-card {
    background: var(--off-white);
    border-left: 4px solid var(--gold);
    padding: 25px;
    min-width: 320px;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--card-shadow);
}

.profile-card h3 { color: var(--piano-black); margin-bottom: 5px; }
.profile-card .title-sub { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-bottom: 15px; text-transform: uppercase; }
.profile-card .email-link { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 15px; }

.profile-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 15px;
}

.ln-link { color: #0077B5; }
.wa-sub-link { color: #25D366; }



/* ==================================================
   JUST A CLICK AWAY — QUEEN 3 LUXURY THEME
   Piano Black | Metallic Gold | Pillow Edges
   ================================================== */

:root {
    --piano-black: #080808;
    --pure-white: #f8f6f0;
    --off-white: #151515;
    --gold: #d4af37;
    --text-dark: #f8f6f0;
    --text-muted: #bcb7a9;
    --card-shadow: 0 14px 35px rgba(0,0,0,.55);
}

html {
    background: #050505;
}

body,
body[style],
.client-container,
.main-content,
.app-container {
    background: radial-gradient(
        ellipse at 50% 0%,
        #242018 0%,
        #101010 38%,
        #050505 100%
    ) !important;
    color: #f8f6f0 !important;
}

.top-nav {
    background: linear-gradient(
        180deg,
        #242424 0%,
        #080808 65%,
        #000000 100%
    ) !important;
    border-bottom: 1px solid #d4af37 !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.65);
}

.logo,
.logo span {
    color: #f8f6f0;
}

.logo span {
    color: #d4af37;
}

.hero h1,
.section-title,
.directory-section h2 {
    color: #f8f6f0 !important;
}

.hero p,
.service-card p,
.profile-card p {
    color: #c8c2b5 !important;
}

.service-card,
.profile-card,
.admin-card,
.modal-content,
section > div[style*="background-color"] {
    background: linear-gradient(
        145deg,
        #292929 0%,
        #151515 48%,
        #080808 100%
    ) !important;

    border: 1px solid rgba(212,175,55,.75) !important;
    border-radius: 24px !important;

    box-shadow:
        inset 0 2px 3px rgba(255,255,255,.10),
        inset 0 -5px 12px rgba(0,0,0,.55),
        0 18px 38px rgba(0,0,0,.55) !important;

    color: #f8f6f0 !important;
}

.service-card:hover,
.profile-card:hover {
    border-color: #f5d978 !important;
    transform: translateY(-4px);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,.14),
        0 22px 45px rgba(0,0,0,.7),
        0 0 18px rgba(212,175,55,.13) !important;
}

.service-card,
.profile-card {
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.service-card h2,
.profile-card h3,
.admin-card h3 {
    color: #f0ce75 !important;
}

.btn-gold,
.omni-btn,
.modal-link {
    background: linear-gradient(
        180deg,
        #252017,
        #0c0c0c
    ) !important;
    color: #f1d27e !important;
    border: 1px solid #d4af37 !important;
    border-radius: 16px !important;
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.12),
        0 6px 16px rgba(0,0,0,.4);
}

.btn-gold:hover,
.omni-btn:hover,
.modal-link:hover {
    background: #d4af37 !important;
    color: #080808 !important;
}

input,
select,
textarea {
    border-radius: 12px;
}

footer {
    border-top: 1px solid #d4af37 !important;
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .profile-card {
        transition: none !important;
        transform: none !important;
    }
}



/* === QUEEN3 LUXURY FINISH V2 === */

/* Main website surfaces */
body,
body[style],
main,
main.client-container,
.client-container,
.main-content,
.app-layout,
.app-container,
.hero,
.services-grid,
.directory-section {
    color: #f5f0e6 !important;
}

main.client-container,
.client-container,
.main-content {
    background:
        radial-gradient(ellipse at 50% 0%,
            #30291b 0%,
            #151515 32%,
            #050505 78%) !important;
}

/* Pillowy black cards, including inline-styled homepage cards */
.services-grid > div,
.services-grid > article,
.service-card,
.profile-card,
.admin-card {
    background: linear-gradient(
        155deg,
        #333333 0%,
        #171717 42%,
        #090909 100%
    ) !important;

    border: 1px solid #bd9844 !important;
    border-radius: 26px !important;

    box-shadow:
        inset 0 2px 3px rgba(255,255,255,.14),
        inset 0 -7px 15px rgba(0,0,0,.55),
        0 18px 40px rgba(0,0,0,.55),
        0 0 16px rgba(212,175,55,.06) !important;

    color: #f5f0e6 !important;
    overflow: hidden;
}

/* Headings and descriptions */
main h1,
main h2,
main h3,
main h4,
main p,
main li {
    color: #f5f0e6 !important;
}

main h2,
main h3 {
    text-shadow: 0 1px 12px rgba(212,175,55,.12);
}

main a:not(.btn-gold) {
    color: #e8c66b;
}

/* Gold-trimmed navigation */
.top-nav {
    border-bottom: 2px solid #d4af37 !important;
    box-shadow:
        inset 0 1px rgba(255,255,255,.12),
        0 10px 30px rgba(0,0,0,.7) !important;
}

.top-nav .categories a:hover {
    color: #f5d981 !important;
}

/* Raised gold buttons */
.btn-gold,
main button {
    border-radius: 16px !important;
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.13),
        0 7px 20px rgba(0,0,0,.45);
}

/* Contact popup */
#contactModal > div {
    background: linear-gradient(
        145deg,#292929,#080808
    ) !important;
    color: #f5f0e6 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 26px !important;
    box-shadow: 0 24px 65px rgba(0,0,0,.75);
}

#contactModal a {
    background: #1b1b1b !important;
    color: #f0ce75 !important;
    border: 1px solid #977a39 !important;
    border-radius: 14px !important;
}

/* Login fields */
.auth-action-area input {
    background: #171717 !important;
    color: #ffffff !important;
    border: 1px solid #8d733a !important;
    border-radius: 12px !important;
}

.auth-action-area input::placeholder {
    color: #aaa49a;
}

/* Mobile refinements */
@media (max-width: 768px) {
    .services-grid > div,
    .services-grid > article,
    .service-card {
        border-radius: 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-grid > div,
    .service-card {
        transition: none !important;
        transform: none !important;
    }
}

/* QUEEN3 HEADER BRANDING */
.top-nav .jaca-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.top-nav .jaca-brand img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 240px;
    object-fit: contain;
}
@media (max-width: 768px) {
    .top-nav .jaca-brand img {
        height: 36px;
        max-width: 170px;
    }
}


/* QUEEN3 LARGE HEADER LOGO */
.top-nav .jaca-brand img {
    height: 85px !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain;
}

.top-nav {
    min-height: 105px;
}

@media (max-width: 768px) {
    .top-nav .jaca-brand img {
        height: 55px !important;
        max-width: 210px !important;
    }

    .top-nav {
        min-height: 75px;
    }
}


/* === QUEEN3 CENTERED NAVIGATION V1 === */

@media (min-width: 1100px) {
    .top-nav {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        column-gap: 24px;
    }

    .top-nav .jaca-brand {
        justify-self: start;
    }

    .top-nav .categories {
        justify-self: center;
        display: flex;
        align-items: center;
        gap: 28px;
        white-space: nowrap;
    }

    .top-nav .categories a {
        margin-left: 0 !important;
    }

    .top-nav .auth-action-area {
        justify-self: end;
        white-space: nowrap;
    }
}

/* QUEEN 3 PORTAL SIDEBAR */
.portal-sidebar {
    float: left;
    width: 220px;
    margin: 0 25px 25px 0;
    padding: 22px 15px;
    background: #111;
    border: 1px solid #a68b38;
    border-radius: 14px;
}

.portal-sidebar h2 {
    color: #d4af37;
    font-size: 17px;
    margin: 0 0 18px;
}

.portal-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portal-sidebar a {
    color: #eee;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
}

.portal-sidebar a:hover {
    background: #302819;
    color: #d4af37;
}

@media (max-width: 800px) {
    .portal-sidebar {
        float: none;
        width: 100%;
        margin: 0 0 25px;
    }
}

/* QUEEN 3 ADMIN TWO-COLUMN LAYOUT */
.admin-container {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    max-width: 1350px;
    align-items: start;
}
.admin-container > .portal-sidebar {
    float: none;
    width: 100%;
    margin: 0;
    position: sticky;
    top: 20px;
}
.portal-admin-content {
    min-width: 0;
}
@media (max-width: 800px) {
    .admin-container {
        grid-template-columns: 1fr;
    }
    .admin-container > .portal-sidebar {
        position: static;
    }
}
