.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity .8s ease, visibility .8s ease
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden
}

.preloader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a96e;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(201, 169, 110, .2);
    border-radius: 10px;
    overflow: hidden
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #c9a96e, #d4b87a);
    border-radius: 10px;
    animation: loading 2s ease-in-out forwards
}

@keyframes loading {
    0% {
        width: 0
    }

    100% {
        width: 100%
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #0a0a0a
}

::-webkit-scrollbar-thumb {
    background: #c9a96e;
    border-radius: 10px
}

.navbar {
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.navbar.scrolled {
    background: rgba(10, 10, 10, .95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .5);
    padding-top: .5rem !important;
    padding-bottom: .5rem !important
}

.nav-link {
    position: relative;
    transition: color .3s ease
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a96e;
    transition: width .3s ease
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%
}

.nav-link:hover,
.nav-link.active {
    color: #c9a96e
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, .98);
    backdrop-filter: blur(30px);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto
}

.mobile-menu.open {
    transform: translateX(0)
}

.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    transition: color .3s ease, transform .3s ease;
    opacity: 0;
    transform: translateY(20px)
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0)
}

.mobile-menu.open a:nth-child(1) {
    transition-delay: .1s
}

.mobile-menu.open a:nth-child(2) {
    transition-delay: .15s
}

.mobile-menu.open a:nth-child(3) {
    transition-delay: .2s
}

.mobile-menu.open a:nth-child(4) {
    transition-delay: .25s
}

.mobile-menu.open a:nth-child(5) {
    transition-delay: .3s
}

.mobile-menu.open a:nth-child(6) {
    transition-delay: .35s
}

.mobile-menu.open a:nth-child(7) {
    transition-delay: .4s
}

.mobile-menu.open a:nth-child(8) {
    transition-delay: .45s
}

.mobile-menu a:hover {
    color: #c9a96e;
    transform: translateX(10px)
}

.hamburger {
    z-index: 9999;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    border-radius: 2px
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #c9a96e
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px)
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #c9a96e
}

.page-hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, .85) 0%, rgba(26, 26, 46, .7) 100%), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=80') center/cover no-repeat;
    min-height: 50vh
}

.section-subtitle {
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: .75rem
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c9a96e, #d4b87a)
}

.btn-primary {
    background: linear-gradient(135deg, #c9a96e, #d4b87a);
    color: #0a0a0a;
    transition: all .4s ease;
    position: relative;
    overflow: hidden
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4b87a, #e5cc9a);
    transition: left .4s ease;
    z-index: 0
}

.btn-primary:hover::before {
    left: 0
}

.btn-primary span {
    position: relative;
    z-index: 1
}

.btn-outline {
    border: 1px solid #c9a96e;
    color: #c9a96e;
    transition: all .4s ease
}

.btn-outline:hover {
    background: #c9a96e;
    color: #0a0a0a
}

.floating {
    animation: floating 6s ease-in-out infinite
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #c9a96e;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform .15s ease;
    transform: translate(-50%, -50%)
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: rgba(201, 169, 110, .1)
}

@media(max-width:768px) {
    .custom-cursor {
        display: none
    }
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible
}

/* SEARCH */
.faq-search {
    background: rgba(42, 42, 58, .3);
    border: 1px solid rgba(201, 169, 110, .1);
    transition: all .3s ease
}

.faq-search:focus {
    border-color: rgba(201, 169, 110, .5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, .1)
}

/* CATEGORY TAB */
.cat-tab {
    transition: all .3s ease;
    border: 1px solid rgba(201, 169, 110, .1);
    background: transparent;
    color: #9ca3af;
    position: relative;
    overflow: hidden
}

.cat-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c9a96e, #d4b87a);
    transform: scaleX(0);
    transition: transform .3s ease
}

.cat-tab.active::before,
.cat-tab:hover::before {
    transform: scaleX(1)
}

.cat-tab.active {
    color: #c9a96e;
    border-color: rgba(201, 169, 110, .3);
    background: rgba(201, 169, 110, .05)
}

.cat-tab:hover {
    color: #c9a96e;
    border-color: rgba(201, 169, 110, .2)
}

.cat-tab .tab-icon {
    transition: all .4s ease
}

.cat-tab.active .tab-icon,
.cat-tab:hover .tab-icon {
    background: linear-gradient(135deg, #c9a96e, #d4b87a);
    transform: scale(1.1)
}

.cat-tab.active .tab-icon i,
.cat-tab:hover .tab-icon i {
    color: #0a0a0a !important
}

/* ACCORDION */
.faq-item {
    background: linear-gradient(145deg, rgba(42, 42, 58, .2), rgba(26, 26, 46, .4));
    border: 1px solid rgba(201, 169, 110, .08);
    border-radius: 4px;
    transition: all .4s ease;
    margin-bottom: 1rem
}

.faq-item:hover {
    border-color: rgba(201, 169, 110, .2)
}

.faq-item.open {
    border-color: rgba(201, 169, 110, .25);
    box-shadow: 0 10px 40px rgba(201, 169, 110, .05)
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: all .3s ease
}

.faq-btn:hover {
    background: rgba(201, 169, 110, .03)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.4, 0, .2, 1), padding .3s ease
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 1.5rem 1.5rem
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(201, 169, 110, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .4s ease
}

.faq-item.open .faq-icon {
    background: linear-gradient(135deg, #c9a96e, #d4b87a);
    transform: rotate(180deg)
}

.faq-item.open .faq-icon svg {
    color: #0a0a0a !important
}

.faq-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(201, 169, 110, .3);
    margin-right: 1rem;
    min-width: 2rem
}

.faq-item.open .faq-number {
    color: #c9a96e
}

/* QUICK LINK CARD */
.quick-card {
    background: linear-gradient(145deg, rgba(42, 42, 58, .3), rgba(26, 26, 46, .5));
    border: 1px solid rgba(201, 169, 110, .1);
    border-radius: 4px;
    transition: all .4s ease
}

.quick-card:hover {
    border-color: rgba(201, 169, 110, .3);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(201, 169, 110, .06)
}

.quick-card .qc-icon {
    transition: all .4s ease
}

.quick-card:hover .qc-icon {
    background: linear-gradient(135deg, #c9a96e, #d4b87a)
}

.quick-card:hover .qc-icon i {
    color: #0a0a0a !important
}

/* CTA */
.cta-bg {
    background: linear-gradient(135deg, rgba(10, 10, 10, .85) 0%, rgba(26, 26, 46, .7) 100%), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920&q=80') center/cover no-repeat fixed
}

@media(max-width:768px) {
    .cta-bg {
        background-attachment: scroll
    }
}

@supports(-webkit-touch-callout:none) {
    .cta-bg {
        background-attachment: scroll
    }
}

/* CONTACT FORM */
.form-input {
    background: rgba(42, 42, 58, .3);
    border: 1px solid rgba(201, 169, 110, .1);
    color: #fff;
    border-radius: 4px;
    transition: all .3s ease
}

.form-input:focus {
    border-color: rgba(201, 169, 110, .5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, .1)
}

.form-input::placeholder {
    color: #6b7280
}

/* NO RESULTS */
.no-results {
    display: none;
    text-align: center;
    padding: 3rem 1rem
}

.no-results.show {
    display: block
}

/* COUNTER */
.counter-item {
    border-right: 1px solid rgba(201, 169, 110, .2)
}

.counter-item:last-child {
    border-right: none
}

@media(max-width:768px) {
    .counter-item {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, .2)
    }

    .counter-item:last-child {
        border-bottom: none
    }
}