/* ========== 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(196, 58, 78, 0.4);
    color: #fff;
}

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

#navbar.scrolled {
    background: rgba(14, 14, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.15);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #c43a4e, #ff8a75);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #f49aa4 !important;
}

/* Mobile menu animations */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c43a4e, #ff8a75);
    transition: width 0.3s ease;
}

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

/* Hamburger animation */
#menuBtn.active .menu-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #a82d40 0%, #c43a4e 50%, #d94f63 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(168, 45, 64, 0.35);
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 45, 64, 0.5);
    background: linear-gradient(135deg, #c43a4e 0%, #d94f63 50%, #e86075 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #f9c5cc;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    border: 1.5px solid rgba(196, 58, 78, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-secondary:hover {
    background: rgba(196, 58, 78, 0.15);
    border-color: #c43a4e;
    color: #fce4e8;
    transform: translateY(-2px);
}

/* ========== SECTION LABELS ========== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c43a4e;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: linear-gradient(90deg, #c43a4e, transparent);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

/* ========== STAT CARDS ========== */
.stat-card {
    background: rgba(30, 30, 42, 0.7);
    border: 1px solid rgba(123, 45, 59, 0.25);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(196, 58, 78, 0.5);
    background: rgba(30, 30, 42, 0.9);
    transform: translateY(-2px);
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: rgba(22, 22, 31, 0.6);
    border: 1px solid rgba(123, 45, 59, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    border-color: rgba(196, 58, 78, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.12);
    background: rgba(22, 22, 31, 0.9);
}

/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 45, 59, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
    background: rgba(22, 22, 31, 0.6);
    border: 1px solid rgba(123, 45, 59, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    color: rgba(196, 58, 78, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(196, 58, 78, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.1);
}

/* ========== INPUT FIELDS ========== */
.input-field {
    width: 100%;
    background: rgba(14, 14, 22, 0.6);
    border: 1px solid rgba(123, 45, 59, 0.2);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: #fff;
    font-size: 0.9375rem;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: rgba(180, 180, 200, 0.4);
}

.input-field:focus {
    border-color: #c43a4e;
    background: rgba(14, 14, 22, 0.8);
    box-shadow: 0 0 0 3px rgba(196, 58, 78, 0.15);
}

.input-field:hover:not(:focus) {
    border-color: rgba(196, 58, 78, 0.4);
}

select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c43a4e' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
}

select.input-field option {
    background: #1e1e2a;
    color: #fff;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s 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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .service-card, .gallery-item, .testimonial-card, .stat-card {
        transform: none !important;
        transition: none !important;
    }
    .service-card:hover, .gallery-item:hover, .testimonial-card:hover, .stat-card:hover {
        transform: none;
    }
    .service-card::before, .gallery-item::after {
        display: none;
    }
    img { transition: none !important; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .stat-card {
        flex: 1;
    }
}
