/* ============================================
   Rolls By The Pound — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0f1e;
}

::-webkit-scrollbar-thumb {
    background: #c8a44e33;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c8a44e66;
}

/* Selection */
::selection {
    background: #c8a44e33;
    color: #ffffff;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Gold Button */
.gold-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #c8a44e 0%, #d4b562 50%, #b8903a 100%);
    color: #0a0f1e;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.gold-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e0c57a 0%, #c8a44e 50%, #d4b562 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 2px;
}

.gold-button:hover::before {
    opacity: 1;
}

.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 164, 78, 0.3);
}

.gold-button:active {
    transform: translateY(0);
}

.gold-button span,
.gold-button svg {
    position: relative;
    z-index: 1;
}

/* Navigation */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 78, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c8a44e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #d4b562 !important;
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #c8a44e;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Hero Animations */
.hero-ornament {
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-description {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Intersection Observer Animations */
[data-animate] {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0) !important;
}

.about-image {
    transform: translateX(-40px);
}

.about-content {
    transform: translateY(40px);
}

.experience-header {
    transform: translateY(30px);
}

.experience-card {
    transform: translateY(40px);
}

.gallery-header {
    transform: translateY(30px);
}

.gallery-item {
    transform: scale(0.95);
}

.visit-content {
    transform: translateY(40px);
}

.visit-map {
    transform: translateY(40px);
}

.contact-content {
    transform: translateY(40px);
}

.contact-form-wrapper {
    transform: translateY(40px);
}

/* Gallery Hover */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 30, 0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Experience Card Shimmer */
.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(200, 164, 78, 0.03),
        transparent
    );
    transition: left 0.6s ease;
}

.experience-card:hover::before {
    left: 100%;
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    background: rgba(10, 15, 30, 0.8);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #c8a44e 0%, #e0c57a 50%, #b8903a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu active state */
body.menu-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .gold-button {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .experience-card {
        padding: 1.5rem;
    }

    .gallery-item {
        min-height: 200px;
    }

    .gallery-item.col-span-2 {
        min-height: 250px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    #about,
    #experience,
    #gallery,
    #visit,
    #contact {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}
