/* ─── Base & Reset ─── */
*, *::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;
}

::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #faf8f5;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0f0d;
}
::-webkit-scrollbar-thumb {
    background: #162019;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

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

#navbar.scrolled {
    background: rgba(10, 15, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 168, 67, 0.08), 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #0a0f0d, transparent);
    pointer-events: none;
}

/* ─── Service Cards ─── */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a843, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 168, 67, 0.1);
}

/* ─── Fade-in Animations ─── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Mobile Menu ─── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    position: relative;
    padding-left: 0;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #d4a843;
    transition: width 0.3s ease;
}

.mobile-link:hover::before {
    width: 16px;
}

/* ─── Input Focus ─── */
input:focus,
textarea:focus {
    background: rgba(10, 15, 13, 0.8) !important;
}

/* ─── Button Ripple ─── */
button, a {
    position: relative;
    overflow: visible;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 3.5rem;
    }
}

/* ─── Gold Accent Line ─── */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4a843, transparent);
}

/* ─── Image Hover ─── */
.rounded-2xl img {
    transition: transform 0.6s ease;
}

.rounded-2xl:hover img {
    transform: scale(1.03);
}

/* ─── Print ─── */
@media print {
    #navbar, #mobile-menu-btn {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
