/* Global base */
body {
    background-color: #FAFAF9;
    color: #1E293B;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* Hide Scrollbar */
::-webkit-scrollbar { width: 0; background: transparent; }

/* Typography Utilities */
.text-outline {
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.3);
    color: transparent;
}

/* Marquee Container */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
}

/* Solid Card Styling */
.wonder-card {
    width: 300px;
    background: #FFFFFF;
    border: 1px solid #C9A847;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.wonder-card:hover {
    background: #F3F4F6;
}

.wonder-img-box {
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.wonder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(15px) grayscale(0%);
    transform: scale(1.1);
    transition: opacity 1.2s ease-out, filter 1.2s ease-out, transform 1.2s ease-out;
    will-change: opacity, filter, transform;
}

.wonder-img.loaded {
    opacity: 1;
    filter: blur(0) grayscale(0%);
    transform: scale(1);
}

.wonder-card:hover .wonder-img.loaded {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

/* Button Styling */
.btn-royal {
    background: #C9A847;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid #C9A847;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s;
    display: inline-block;
}

.btn-royal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #1E293B;
    z-index: -1;
    transition: height 0.3s ease-in-out;
}

.btn-royal:hover::after {
    height: 100%;
}

.btn-royal:hover {
    color: #C9A847;
}

/* Form Inputs */
.input-field, .select-field, .textarea-field {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #1E293B !important;
    border-radius: 0 !important;
}

.input-field:focus, .select-field:focus, .textarea-field:focus {
    border-color: #C9A847 !important;
    outline: none;
}

/* Mobile Menu */
#mobile-menu {
    background-color: #FAFAF9;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* Gold Text Contrast */
.text-gold-leaf,
.text-gold-leaf a,
.hover\:text-gold-leaf:hover {
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.8);
    text-stroke: 0.5px rgba(0, 0, 0, 0.8);
    paint-order: stroke fill;
}

nav a.hover\:text-gold-leaf:hover {
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.9);
    text-stroke: 0.5px rgba(0, 0, 0, 0.9);
}

h1 .text-gold-leaf,
h2 .text-gold-leaf,
h3 .text-gold-leaf {
    -webkit-text-stroke: 0.7px rgba(0, 0, 0, 0.8);
    text-stroke: 0.7px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.text-xs.text-gold-leaf,
.text-sm.text-gold-leaf {
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.85);
    text-stroke: 0.5px rgba(0, 0, 0, 0.85);
    font-weight: 700;
}

/* Loader */
@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sticky Footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper,
main {
    flex: 1;
}

.footer-sticky {
    margin-top: auto;
    flex-shrink: 0;
}

.footer-content {
    background: linear-gradient(to right, #f8f9fa, #e9ecef, #f8f9fa);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 1024px) {
    .footer-content {
        padding: 2rem 0;
    }

    .footer-content .max-w-6xl {
        max-width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 1.5rem 0;
    }

    .footer-content .flex.flex-col.md\:flex-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content .flex.items-center.space-x-4 {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-content .w-12 {
        width: 3.5rem;
        height: 3.5rem;
    }

    .footer-content .text-lg {
        font-size: 1.125rem;
        font-weight: 600;
    }

    .footer-content .text-sm {
        font-size: 0.875rem;
    }

    .footer-content .flex.items-center.space-x-6 {
        justify-content: center;
        margin: 1rem 0;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-content .space-x-6 > * + * {
        margin-left: 0;
    }

    .footer-content .flex.items-center.space-x-6 a {
        padding: 0.5rem 0.75rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: 0.375rem;
        transition: all 0.2s ease;
    }

    .footer-content .flex.items-center.space-x-6 a:hover {
        background: rgba(212, 175, 55, 0.1);
    }

    .footer-content .text-center {
        margin-top: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        padding: 1.25rem 0;
    }

    .footer-content .flex.items-center.space-x-4 {
        margin-bottom: 1rem;
    }

    .footer-content .flex.items-center.space-x-6 {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin: 0.75rem 0;
    }

    .footer-content .text-sm {
        font-size: 0.8125rem;
    }

    .footer-content .text-xs {
        font-size: 0.6875rem;
        line-height: 1.3;
    }

    .footer-content .flex.flex-col.md\:flex-row {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1rem 0;
    }

    .footer-content .max-w-6xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-content .w-12 {
        width: 3rem;
        height: 3rem;
    }

    .footer-content .text-lg {
        font-size: 1rem;
        font-weight: 600;
    }

    .footer-content .text-sm {
        font-size: 0.8125rem;
    }

    .footer-content .text-xs {
        font-size: 0.625rem;
        line-height: 1.2;
    }

    .footer-content .flex.items-center.space-x-6 {
        margin: 0.75rem 0;
        gap: 0.5rem;
    }

    .footer-content .flex.items-center.space-x-6 a {
        padding: 0.375rem 0.5rem;
        font-size: 0.8125rem;
        min-height: 40px;
    }

    .footer-content .text-center {
        margin-top: 0.75rem;
    }

    .footer-content .flex.items-center.space-x-6 {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 360px) {
    .footer-content .max-w-6xl {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .footer-content .w-12 {
        width: 2.5rem;
        height: 2.5rem;
    }

    .footer-content .text-lg {
        font-size: 0.95rem;
    }

    .footer-content .text-sm {
        font-size: 0.75rem;
    }

    .footer-content .text-xs {
        font-size: 0.6rem;
        line-height: 1.1;
    }

    .footer-content .flex.items-center.space-x-6 a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        min-height: 36px;
    }

    .footer-content .flex.flex-col.md\:flex-row {
        gap: 1rem;
    }

    .footer-content .flex.items-center.space-x-4 {
        gap: 0.5rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .footer-content .flex.items-center.space-x-6 a {
        min-height: 48px;
        padding: 0.75rem 1rem;
    }

    .footer-content .flex.items-center.space-x-6 a:hover {
        background: rgba(251, 191, 36, 0.15);
        transform: scale(1.02);
    }
}
