/* ===== Base & Reset ===== */
*, *::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: rgba(229, 90, 50, 0.3);
    color: #fdfcf8;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #d4a252 0%, #e5a855 50%, #c4893e 100%);
    color: #0d0d0d;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 162, 82, 0.25);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 162, 82, 0.4);
    background: linear-gradient(135deg, #ddb974 0%, #e5a855 50%, #d4a252 100%);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fdfcf8;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: 1.5px solid rgba(233, 213, 168, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-outline:hover {
    border-color: rgba(233, 213, 168, 0.6);
    background: rgba(233, 213, 168, 0.05);
    transform: translateY(-2px);
}

/* ===== Service Cards ===== */
.service-card {
    background: rgba(13, 13, 13, 0.6);
    backdrop-blur-sm;
    border: 1px solid rgba(100, 100, 100, 0.15);
    border-radius: 1.25rem;
    padding: 0;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: rgba(229, 90, 50, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(229, 90, 50, 0.08);
}

/* ===== Floating Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ===== Scroll Line ===== */
@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(8, 8, 8, 0.92);
    backdrop-blur-xl;
    box-shadow: 0 1px 0 rgba(100, 100, 100, 0.1);
}

#navbar.scrolled .py-4 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    font-size: 1.125rem;
    font-weight: 400;
}

.mobile-link:hover {
    padding-left: 0.5rem;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: rgba(229, 90, 50, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 90, 50, 0.6);
}

/* ===== Form Styles ===== */
select option {
    background: #0d0d0d;
    color: #fdfcf8;
}

/* ===== Decorative Elements ===== */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 162, 82, 0.4), transparent);
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    .btn-gold, .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}
