/* ========== BASE & RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== NAVIGATION ========== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.nav-fixed.scrolled {
    background: rgba(255, 251, 248, 0.95);
    border-bottom-color: rgba(123, 45, 59, 0.08);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: #7B2D3B;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* 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 {
    display: block;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF8F6 0%, #FFF0EC 50%, #FAF0F2 100%);
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 213, 220, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.hero-bg-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 228, 219, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.hero-bg-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 45, 59, 0.06) 0%, transparent 70%);
    top: 40%;
    left: 45%;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-headline {
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-trust {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

.hero-image {
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, rgba(250, 213, 220, 0.5), rgba(253, 228, 219, 0.3));
    border-radius: 2rem;
    z-index: -1;
    transform: rotate(2deg);
}

.hero-float-card {
    position: absolute;
    z-index: 10;
}

.hero-float-1 {
    bottom: 40px;
    left: -30px;
}

.hero-float-2 {
    top: 40px;
    right: -20px;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.scroll-indicator .animate-scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

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

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

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

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

/* ========== CTA BUTTONS ========== */
.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-secondary {
    position: relative;
}

/* ========== SECTION STYLES ========== */
.section-tag {
    letter-spacing: 0.02em;
}

.section-title {
    line-height: 1.15;
}

.section-subtitle {
    line-height: 1.7;
}

/* ========== SERVICES ========== */
.services-bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(123, 45, 59, 0.04) 1px, transparent 0);
    background-size: 30px 30px;
}

.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7B2D3B, #c46276);
    border-radius: 3px;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ========== ABOUT ========== */
.about-img {
    transition: transform 0.6s ease;
}

.about-img-main:hover .about-img {
    transform: scale(1.02);
}

/* ========== WHY US ========== */
.why-bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.why-card {
    position: relative;
}

.why-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover::after {
    opacity: 1;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'DM Serif Display', serif;
    font-size: 6rem;
    color: rgba(123, 45, 59, 0.06);
    line-height: 1;
    pointer-events: none;
}

/* ========== CONTACT ========== */
.contact-input {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
}

.contact-input:focus {
    border-color: #7B2D3B;
    box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.08);
}

.contact-submit {
    position: relative;
    overflow: hidden;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.contact-submit:hover::before {
    left: 100%;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #7B2D3B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(123, 45, 59, 0.4);
}

.back-to-top.show {
    animation: fadeInUp 0.3s ease;
}

/* ========== MAP ========== */
.map-frame {
    filter: saturate(0.7) contrast(1.05);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-bg-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .hero-bg-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .hero-float-1 {
        left: 10px;
        bottom: 20px;
    }
    
    .hero-float-2 {
        right: 10px;
        top: 20px;
    }
    
    .about-img-secondary {
        display: none !important;
    }
    
    .about-exp-badge {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 1rem;
        display: inline-block;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}
