/* ============================================================
   ALL-IN-ONE BRANDING SHOP
   SHARED MAIN CSS

   DARK / ELEGANT / GOLD
   SHARED HEADER
   SHARED NAVIGATION
   SHARED FOOTER
   SHARED BUTTONS / UTILITIES
   FULL RESPONSIVE SUPPORT
============================================================ */


/* ============================================================
   ROOT VARIABLES
============================================================ */

:root {
    --bg: #050505;
    --bg-soft: #080808;
    --bg-medium: #0d0d0d;
    --bg-light: #141414;

    --gold: #d4af37;
    --gold-light: #f0d878;
    --gold-dark: #9d7c18;

    --text: #ffffff;
    --text-soft: #d8d8d8;
    --text-muted: #8f8f8f;

    --border: rgba(212, 175, 55, 0.28);
    --border-light: rgba(255, 255, 255, 0.08);

    --shadow: 0 15px 45px rgba(0, 0, 0, 0.65);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.45);
    --shadow-gold: 0 12px 40px rgba(212, 175, 55, 0.16);

    --radius: 12px;
    --radius-small: 8px;

    --container: 1200px;
    --transition: 0.3s ease;
}


/* ============================================================
   RESET
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #050505;
}

body {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(212, 175, 55, 0.035),
            transparent 38%
        ),
        #050505;

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
    overflow-x: hidden;
}

body::selection {
    background: var(--gold);
    color: #050505;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--gold-light);
}


/* ============================================================
   GLOBAL CONTAINER
============================================================ */

.container {
    width: min(92%, var(--container));
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   TOP CONTACT BAR
============================================================ */

.top-bar {
    position: relative;
    z-index: 1100;

    width: 100%;
    padding: 8px 0;

    background: #020202;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    min-height: 30px;
}

.top-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 16px;

    color: #888;
    font-size: 12px;
}

.top-contact a {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #999;

    transition:
        color var(--transition),
        transform var(--transition);
}

.top-contact a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}


/* ============================================================
   TOP SOCIAL LINKS
============================================================ */

.social-links,
.top-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a,
.top-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    background: #080808;
    color: #999;

    font-size: 13px;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.social-links a:hover,
.top-social a:hover {
    color: var(--gold);

    border-color: var(--gold);

    background:
        rgba(212, 175, 55, 0.07);

    transform: translateY(-2px);
}


/* ============================================================
   SITE HEADER
============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background:
        rgba(4, 4, 4, 0.97);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


/* ============================================================
   MAIN NAVIGATION
============================================================ */

.main-navigation {
    position: relative;

    width: 100%;

    background:
        rgba(4, 4, 4, 0.97);

    transition:
        background var(--transition),
        box-shadow var(--transition);
}

.main-navigation.scrolled {
    background:
        rgba(2, 2, 2, 0.99);

    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.65);
}

.nav-container {
    position: relative;

    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ============================================================
   BRAND
============================================================ */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;

    color: #fff;

    transition:
        color var(--transition),
        transform var(--transition);
}

.brand:hover {
    color: #fff;
    transform: translateY(-1px);
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border:
        1px solid var(--gold);

    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            rgba(212, 175, 55, 0.16),
            rgba(212, 175, 55, 0.025)
        );

    color: var(--gold);

    font-size: 21px;
    font-weight: 800;

    box-shadow:
        inset 0 0 18px rgba(212, 175, 55, 0.04),
        0 5px 20px rgba(0, 0, 0, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-text strong {
    color: #fff;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 0.2px;
}

.brand-text span {
    margin-top: 5px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}


/* ============================================================
   DESKTOP MAIN NAV
============================================================ */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 26px;
}

.main-nav > a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 10px 0;

    color: #bdbdbd;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color var(--transition),
        transform var(--transition);
}

.main-nav > a:hover {
    color: var(--gold-light);
    transform: translateY(-1px);
}


/* ============================================================
   NAVIGATION UNDERLINE
============================================================ */

.main-nav > a:not(.nav-order-button)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition:
        width var(--transition);
}

.main-nav > a:not(.nav-order-button):hover::after {
    width: 100%;
}

.main-nav > a.active {
    color: var(--gold);
}

.main-nav > a.active::after {
    width: 100%;
}


/* ============================================================
   ORDER NOW NAV BUTTON
============================================================ */

.main-nav .nav-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 10px 20px;

    border:
        1px solid var(--gold);

    border-radius: 7px;

    background: var(--gold);
    color: #050505;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 5px 18px rgba(212, 175, 55, 0.10);

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.main-nav .nav-order-button:hover {
    background: var(--gold-light);

    border-color:
        var(--gold-light);

    color: #050505;

    transform: translateY(-2px);

    box-shadow:
        var(--shadow-gold);
}


/* ============================================================
   MOBILE MENU BUTTON
============================================================ */

.menu-toggle {
    display: none;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    width: 44px;
    height: 44px;

    padding: 0;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    background: #080808;

    color: var(--gold);

    cursor: pointer;

    flex-shrink: 0;

    transition:
        border-color var(--transition),
        background var(--transition),
        color var(--transition);
}

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    border-radius: 2px;

    background: currentColor;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-toggle:hover {
    border-color: var(--gold);

    background:
        rgba(212, 175, 55, 0.06);

    color: var(--gold-light);
}


/* ============================================================
   HAMBURGER ACTIVE / X STATE
============================================================ */

.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* ============================================================
   SHARED BUTTON
============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 24px;

    border:
        1px solid var(--gold);

    border-radius: var(--radius-small);

    background: var(--gold);
    color: #050505;

    font-weight: 700;

    text-align: center;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    background: var(--gold-light);

    border-color:
        var(--gold-light);

    color: #050505;

    transform: translateY(-2px);

    box-shadow:
        var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);

    border-color:
        var(--gold);

    color: #050505;
}

.btn-dark {
    background: #030303;
    color: var(--gold);
}

.btn-dark:hover {
    background: var(--gold);
    color: #050505;
}


/* ============================================================
   BADGE
============================================================ */

.badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 11px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    background:
        rgba(212, 175, 55, 0.05);

    color: var(--gold);

    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    position: relative;

    padding: 65px 0 25px;

    background:
        linear-gradient(
            180deg,
            #070707 0%,
            #030303 100%
        );

    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1.2fr;

    gap: 45px;

    padding-bottom: 45px;
}

.footer-column h3 {
    margin-bottom: 18px;

    color: #fff;

    font-size: 15px;
    font-weight: 700;
}

.footer-column p {
    max-width: 360px;

    color: #858585;

    font-size: 14px;
}


/* ============================================================
   FOOTER LOGO
============================================================ */

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: #fff;

    transition:
        color var(--transition);
}

.footer-logo:hover {
    color: #fff;
}

.footer-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 41px;
    height: 41px;

    border:
        1px solid var(--gold);

    border-radius: 8px;

    background:
        rgba(212, 175, 55, 0.07);

    color: var(--gold);

    font-size: 18px;
    font-weight: 800;
}

.footer-logo > span:last-child {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.footer-logo strong {
    color: #fff;
    font-size: 17px;
}

.footer-logo small {
    margin-top: 4px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* ============================================================
   FOOTER LINKS
============================================================ */

.footer-column ul,
.footer-links {
    display: grid;

    gap: 10px;

    padding: 0;

    list-style: none;
}

.footer-column li a,
.footer-links a {
    color: #858585;

    font-size: 14px;

    transition:
        color var(--transition),
        padding-left var(--transition);
}

.footer-column li a:hover,
.footer-links a:hover {
    color: var(--gold);

    padding-left: 3px;
}


/* ============================================================
   FOOTER CONTACT
============================================================ */

.footer-contact {
    display: grid !important;

    gap: 14px !important;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;

    gap: 9px;
}

.footer-contact li span {
    flex-shrink: 0;

    color: var(--gold);
}

.footer-contact li a {
    color: #858585;

    word-break: break-word;

    transition:
        color var(--transition);
}

.footer-contact li a:hover {
    color: var(--gold);
}


/* ============================================================
   FOOTER SOCIAL
============================================================ */

.footer-social {
    display: flex;

    gap: 9px;

    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    background: #080808;

    color: #858585;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.footer-social a:hover {
    color: var(--gold);

    border-color:
        var(--gold);

    background:
        rgba(212, 175, 55, 0.06);

    transform: translateY(-2px);
}


/* ============================================================
   FOOTER BOTTOM
============================================================ */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    color: #666;

    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;
}

.footer-legal a {
    color: #666;

    transition:
        color var(--transition);
}

.footer-legal a:hover {
    color: var(--gold);
}


/* ============================================================
   UTILITY CLASSES
============================================================ */

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-muted {
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}


/* ============================================================
   RESPONSIVE — TABLET
============================================================ */

@media (max-width: 1100px) {

    .main-nav {
        gap: 18px;
    }

    .main-nav > a {
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   RESPONSIVE — MOBILE NAVIGATION
============================================================ */

@media (max-width: 900px) {

    .nav-container {
        min-height: 68px;
    }


    /* --------------------------------------------------------
       SHOW HAMBURGER
    -------------------------------------------------------- */

    .menu-toggle {
        display: flex;

        position: relative;

        z-index: 1101;

        flex-shrink: 0;
    }


    /* --------------------------------------------------------
       HIDE MOBILE NAVIGATION BY DEFAULT
    -------------------------------------------------------- */

    .main-nav {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 0;

        width: 100%;

        margin: 0;

        padding:
            12px 5% 20px;

        background:
            rgba(3, 3, 3, 0.99);

        border-top:
            1px solid rgba(255, 255, 255, 0.06);

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 20px 45px rgba(0, 0, 0, 0.75);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        z-index: 1100;
    }


    /* --------------------------------------------------------
       OPEN MENU

       main.js adds:
       .main-nav.open
    -------------------------------------------------------- */

    .main-nav.open {
        display: flex;
    }


    /* --------------------------------------------------------
       MOBILE NAVIGATION LINKS
    -------------------------------------------------------- */

    .main-nav > a {
        display: flex;
        align-items: center;

        width: 100%;

        min-height: 48px;

        padding:
            14px 5px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.07);

        color: #c8c8c8;

        font-size: 15px;
        font-weight: 500;

        white-space: normal;
    }

    .main-nav > a:hover {
        color: var(--gold-light);

        transform: none;
    }


    /* --------------------------------------------------------
       REMOVE DESKTOP UNDERLINE
    -------------------------------------------------------- */

    .main-nav > a:not(.nav-order-button)::after {
        display: none;
    }


    /* --------------------------------------------------------
       ACTIVE MOBILE PAGE
    -------------------------------------------------------- */

    .main-nav > a.active {
        color: var(--gold);
    }


    /* --------------------------------------------------------
       LAST LINK
    -------------------------------------------------------- */

    .main-nav > a:last-child {
        border-bottom: 0;
    }


    /* --------------------------------------------------------
       MOBILE ORDER BUTTON
    -------------------------------------------------------- */

    .main-nav .nav-order-button {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;

        min-height: 46px;

        margin-top: 12px;

        padding:
            11px 20px;

        border:
            1px solid var(--gold);

        border-radius: 7px;

        background: var(--gold);

        color: #050505;
    }

    .main-nav .nav-order-button:hover {
        background: var(--gold-light);

        border-color:
            var(--gold-light);

        color: #050505;
    }


    /* --------------------------------------------------------
       PREVENT SIDEWAYS PAGE MOVEMENT
    -------------------------------------------------------- */

    body.menu-open {
        overflow-x: hidden;
    }
}


/* ============================================================
   RESPONSIVE — DESKTOP NAVIGATION
============================================================ */

@media (min-width: 901px) {

    .menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;

        display: flex;

        flex-direction: row;
        align-items: center;
        justify-content: flex-end;

        width: auto;

        margin: 0;
        padding: 0;

        background: transparent;

        border: 0;

        box-shadow: none;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .main-nav > a {
        display: inline-flex;

        width: auto;
    }
}


/* ============================================================
   RESPONSIVE — 768px
============================================================ */

@media (max-width: 768px) {

    .top-bar {
        padding: 8px 0;
    }

    .top-bar-inner {
        flex-direction: column;

        justify-content: center;

        gap: 7px;
    }

    .top-contact {
        justify-content: center;

        text-align: center;

        gap: 6px 12px;

        font-size: 11px;
    }

    .social-links,
    .top-social {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}


/* ============================================================
   RESPONSIVE — 480px
============================================================ */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .top-contact {
        gap: 5px 9px;

        font-size: 10px;
    }

    .social-links a,
    .top-social a {
        width: 27px;
        height: 27px;

        font-size: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;

        font-size: 17px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text span {
        font-size: 8px;

        letter-spacing: 1.3px;
    }

    .menu-toggle {
        width: 41px;
        height: 41px;
    }

    .footer-legal {
        flex-direction: column;

        gap: 8px;
    }
}


/* ============================================================
   ACCESSIBILITY
============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }
}