/* ============================================
   Studio29 — Premium Dark Luxury Styles
   ============================================ */

/* Custom Properties */
:root {
    --navy-dark: #060a14;
    --navy-mid: #0d1525;
    --navy-light: #e8e6e1;
    --gold: #c9a84c;
    --gold-light: #dfc070;
    --gold-dark: #a08030;
}

/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--navy-dark);
    color: var(--navy-light);
    overflow-x: hidden;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Tailwind Custom Config */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    ::selection {
        background-color: rgba(201, 168, 76, 0.3);
        color: var(--navy-light);
    }

    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--navy-dark);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--gold-dark);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--gold);
    }
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
    background: rgba(6, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.75rem;
}

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

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

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

/* ============================================
   Hero
   ============================================ */
#hero {
    position: relative;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    position: relative;
    transform: translateY(0);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible by default)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal-left {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal-left.hidden-reveal {
        opacity: 0;
        transform: translateX(-30px);
    }

    .reveal-right {
        opacity: 1;
        transform: translateX(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal-right.hidden-reveal {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* ============================================
   Back to Top
   ============================================ */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   Contact Form
   ============================================ */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(201, 168, 76, 0.6) !important;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .font-cinzel.text-5xl {
        font-size: 2.5rem;
    }

    .font-cinzel.text-4xl {
        font-size: 2rem;
    }
}
