/* ============================================
   The Yellow Phoenix — Custom Styles
   Classic & Elegant | Charcoal + Coral
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #C85A3C;
    color: #f6f6f7;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1d23;
}
::-webkit-scrollbar-thumb {
    background: #3a3f47;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5f6570;
}

/* --- Navbar Scrolled State --- */
.nav-scrolled {
    background: rgba(15, 17, 21, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 90, 60, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Mobile Menu --- */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* --- Menu Button Animation --- */
.menu-btn-active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-btn-active .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-btn-active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Reveal Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal-left {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

/* --- Form Focus States --- */
input:focus,
textarea:focus {
    outline: none;
}

/* --- Button Hover Glow --- */
button:hover,
a:hover {
    cursor: pointer;
}

/* --- Image Loading --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Subtle hover transitions on cards --- */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* --- Print styles --- */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    header, footer, #contact-form button {
        display: none;
    }
}
