/* ============================================
   Alterations By Myoung — Custom Styles
   Burgundy + Blush | Clean Minimalist
   ============================================ */

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

body {
    background-color: #fefdfb;
    color: #1a1a1a;
}

::selection {
    background-color: #a11833;
    color: #fff;
}

/* --- Navbar --- */
#navbar {
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(193, 36, 64, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 1px 0 rgba(193, 36, 64, 0.06);
}

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

.hero-title {
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeUp 0.9s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

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

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

/* --- Service Cards --- */
.service-card {
    transition: background-color 0.5s ease;
}

/* --- Gallery --- */
.gallery-item img {
    display: block;
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    animation: none;
}

#mobile-menu.open .mobile-link {
    animation: fadeUp 0.4s ease forwards;
}

#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }

/* --- Menu Toggle --- */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

#menu-toggle.active .menu-line:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
    opacity: 0;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .service-header,
    .service-card,
    .about-image,
    .about-text,
    .gallery-header,
    .gallery-item,
    .contact-info,
    .contact-map {
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

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

::-webkit-scrollbar-track {
    background: #fefdfb;
}

::-webkit-scrollbar-thumb {
    background: #f5a8b8;
    border-radius: 3px;
}

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

/* --- Focus --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #a11833;
    outline-offset: 4px;
    border-radius: 2px;
}
