/* ═══════════════════════════════════════════════════════════
   Romancing the Stones — Custom Styles
   Premium Dark Luxury Theme
   ═══════════════════════════════════════════════════════════ */

/* ── Base & Typography ── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 160, 55, 0.3);
    color: #f5c259;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020814;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4a037, #b8860b);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f5c259, #d4a037);
}

/* ── Navigation ── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4a037, #f5c259);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

/* ── Navbar scroll state ── */
#navbar.scrolled {
    background: rgba(2, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 55, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .font-serif {
    text-shadow: 0 0 40px rgba(212, 160, 55, 0.3);
}

/* ── Mobile Menu ── */
.mobile-link {
    position: relative;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    letter-spacing: 0.05em;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Hamburger animation */
#menu-icon.active #bar1 {
    transform: translateY(4px) rotate(45deg);
}
#menu-icon.active #bar2 {
    opacity: 0;
    transform: translateX(-10px);
}
#menu-icon.active #bar3 {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default state for reduced motion / no-JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Card hover effects ── */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* ── Button shimmer effect ── */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ── Gold line animations ── */
@keyframes lineGrow {
    from { width: 0; }
    to { width: 3rem; }
}

/* ── Floating animation ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* ── Pulse glow ── */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 55, 0.2); }
    50% { box-shadow: 0 0 40px rgba(212, 160, 55, 0.4); }
}

.glow-pulse {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* ── Form inputs ── */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(212, 160, 55, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 55, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* ── Select styling ── */
select option {
    background: #050f24;
    color: #fff;
}

/* ── Smooth image loading ── */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ── Hero asymmetric layout ── */
@media (min-width: 1024px) {
    #hero .order-2 {
        padding-top: 4rem;
    }
}

/* ── Testimonial card tilt on hover ── */
@media (hover: hover) {
    .reveal:hover {
        transform: translateY(-4px);
    }
}

/* ── Responsive adjustments ── */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* ── Print styles ── */
@media print {
    #navbar,
    #mobile-menu,
    .reveal {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
}
