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

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

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #a1361e 0%,
        #c44625 25%,
        #d95a35 50%,
        #c8a56e 75%,
        #e87153 100%
    );
}

/* ── Navigation ── */
.nav-logo {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
}

#navbar.scrolled .nav-logo,
#navbar.scrolled .nav-link {
    color: rgba(54, 40, 27, 0.85);
}

#navbar.scrolled .nav-link:hover {
    color: #c44625;
}

#navbar.scrolled .menu-line {
    background: rgba(54, 40, 27, 0.85);
}

#navbar.scrolled .mobile-menu-link {
    color: rgba(54, 40, 27, 0.85);
}

#navbar.scrolled .mobile-menu-link:hover {
    color: #c44625;
}

/* ── Hero Animations ── */
.hero-subtitle {
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-description {
    animation: fadeUp 0.8s ease forwards 0.7s;
}

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

.hero-scroll {
    animation: fadeUp 0.8s ease forwards 1.2s;
}

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

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

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

/* ── Gallery ── */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(54, 40, 27, 0);
    transition: background-color 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    background: rgba(54, 40, 27, 0.1);
}

.gallery-item {
    position: relative;
}

/* ── Scroll Reveal Base State ── */
.service-reveal,
.about-reveal,
.about-text-reveal,
.gallery-reveal,
.gallery-grid,
.contact-info-reveal,
.contact-form-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .service-reveal,
    .about-reveal,
    .about-text-reveal,
    .gallery-reveal,
    .gallery-grid,
    .contact-info-reveal,
    .contact-form-reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .gallery-grid {
        transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
    }

    .service-reveal.revealed,
    .about-reveal.revealed,
    .about-text-reveal.revealed,
    .gallery-reveal.revealed,
    .gallery-grid.revealed,
    .contact-info-reveal.revealed,
    .contact-form-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile Menu ── */
.mobile-menu-link {
    color: rgba(54, 40, 27, 0.85);
    transition: color 0.3s ease;
}

/* ── Custom Select Arrow ── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c8a56e' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

/* ── Selection Color ── */
::selection {
    background: #f8c4b5;
    color: #3a160e;
}
