/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background-color: #c0633e;
    color: #faf4f2;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #faf6f0;
}
::-webkit-scrollbar-thumb {
    background: #d4b57d;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c0633e;
}

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

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

.hero-text {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

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

.hero-stats {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

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

/* ===== Scroll Indicator ===== */
@keyframes scrollLine {
    0% {
        top: -16px;
    }
    100% {
        top: 48px;
    }
}

.scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* ===== Floating Card ===== */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

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

/* ===== Service Cards ===== */
.service-card {
    cursor: pointer;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #c0633e;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.service-card:hover::after {
    width: 60%;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== Navbar ===== */
.navbar-scrolled {
    background: rgba(253, 252, 250, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-transparent {
    background: transparent;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: #c0633e;
    transform: translateX(4px);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    cursor: default;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* ===== Button Hover Effects ===== */
a {
    text-decoration: none;
}

/* ===== Smooth Image Loading ===== */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ===== Form Styles ===== */
input, textarea {
    outline: none;
    border: none;
    background: transparent;
}

/* ===== Responsive Typography ===== */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* ===== Print Styles ===== */
@media print {
    nav, #mobile-menu, .scroll-indicator {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
