/* ========== BASE RESET & GLOBAL ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Nunito', system-ui, sans-serif;
    background-color: #110e17;
    color: #e3e3e8;
    overflow-x: hidden;
}

::selection {
    background-color: #ff6328;
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #1e1a26;
}

::-webkit-scrollbar-thumb {
    background: #4e4960;
    border-radius: 4px;
}

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

/* ========== NAVBAR ========== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8450;
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6328, #ff8450, #ffd0b8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    border-radius: 3px 3px 0 0;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ========== FORM ========== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ff6328 !important;
    box-shadow: 0 0 0 3px rgba(255, 99, 40, 0.15) !important;
}

/* ========== CTA BUTTONS ========== */
a[href^="tel:"] {
    text-decoration: none;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-open body {
    overflow: hidden;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========== LOADING STATE ========== */
.page-loaded .reveal {
    opacity: 1;
    transform: translateY(0);
}
