/* ===== Base & Typography ===== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: color-mix(in srgb, #ca8a04 20%, transparent);
    color: #4d1d30;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #ca8a04;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-nav-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
    padding-left: 12px;
    color: #ca8a04;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, color-mix(in srgb, #f5e9ee 60%, transparent) 0%, transparent 100%);
    pointer-events: none;
}

.hero-headline {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid color-mix(in srgb, #ca8a04 40%, transparent);
    border-radius: 20px;
    z-index: -1;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 25px 60px -20px color-mix(in srgb, #4d1d30 30%, transparent);
}

.hero-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: color-mix(in srgb, #4d1d30 90%, transparent);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 12px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, #ca8a04, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.6);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #4d1d30;
    color: #faf5f7;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #4d1d30;
}

.btn-primary:hover {
    background: #5c2238;
    border-color: #5c2238;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px color-mix(in srgb, #4d1d30 50%, transparent);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: #4d1d30;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 60px;
    text-decoration: none;
    border: 2px solid color-mix(in srgb, #4d1d30 30%, transparent);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #ca8a04;
    color: #854d0e;
    transform: translateY(-2px);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ca8a04, #eab308);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, #ca8a04 10%, transparent);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== About Section ===== */
.about-image {
    border-radius: 16px;
    box-shadow: 0 20px 50px -20px color-mix(in srgb, #4d1d30 30%, transparent);
}

.about-stats {
    border-radius: 16px;
    box-shadow: 0 12px 32px -12px color-mix(in srgb, #4d1d30 40%, transparent);
}

/* ===== Approach Section ===== */
.approach-step {
    border-left: 1px solid color-mix(in srgb, #d9a9be 30%, transparent);
    padding-left: 24px;
    transition: border-color 0.3s ease;
}

.approach-step:hover {
    border-left-color: #ca8a04;
}

/* ===== Contact Form ===== */
.input-field {
    background: color-mix(in srgb, #faf5f7 80%, transparent);
    border: 1.5px solid color-mix(in srgb, #d9a9be 40%, transparent);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #4d1d30;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: #d9a9be;
}

.input-field:focus {
    border-color: #ca8a04;
    background: white;
    box-shadow: 0 0 0 4px color-mix(in srgb, #ca8a04 10%, transparent);
}

.input-field:hover:not(:focus) {
    border-color: color-mix(in srgb, #d9a9be 80%, transparent);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero::before {
        width: 100%;
        opacity: 0.3;
    }

    .hero-image-accent {
        top: -8px;
        right: -8px;
    }

    .about-image-frame {
        display: none;
    }

    .about-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
    }
}

@media (max-width: 640px) {
    .scroll-indicator {
        display: none;
    }
}
