/* ===== CUSTOM STYLES ===== */

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

html {
    scroll-behavior: smooth;
}

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

/* ===== GEOMETRIC SHAPES ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 116, 150, 0.08) 0%, transparent 70%);
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 5%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(130, 22, 53, 0.06) 0%, transparent 70%);
    animation: float-slow 25s ease-in-out infinite reverse;
}

.geo-circle-3 {
    top: -10%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 173, 191, 0.05) 0%, transparent 70%);
    animation: float-slow 30s ease-in-out infinite;
}

.geo-circle-4 {
    animation: float-slow 18s ease-in-out infinite;
}

.geo-circle-5 {
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-rect-1 {
    top: 25%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: rgba(130, 22, 53, 0.04);
    border-radius: 24px;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
}

.geo-triangle-1 {
    bottom: 20%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 116, 150, 0.06);
    animation: float-slow 15s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(130, 22, 53, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    width: 200px;
    height: 200px;
    top: 15%;
    left: 3%;
}

.geo-dots-2 {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
    width: 160px;
    height: 160px;
    bottom: 10%;
    right: 8%;
}

/* ===== ANIMATIONS ===== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

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

/* ===== MARQUEE ===== */
.marquee-track {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

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

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

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Syne', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(130, 22, 53, 0.05);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

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

#navbar.scrolled {
    background-color: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(130, 22, 53, 0.08);
}

/* ===== MOBILE MENU ===== */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background-color: white;
}

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

#menuBtn.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(4px, -4px);
    background-color: white;
}

/* ===== SCROLL REVEAL ===== */
.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; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1,
    .geo-circle-2,
    .geo-circle-3 {
        display: none;
    }

    .geo-rect-1 {
        display: none;
    }

    .geo-dots {
        display: none;
    }

    .geo-dots-2 {
        display: none;
    }

    #hero h1 {
        font-size: 2.75rem;
    }

    #hero h1 span.relative {
        display: inline;
    }

    #hero h1 svg {
        display: none;
    }

    .testimonial-card::before {
        font-size: 5rem;
        top: 5px;
    }
}

@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.25rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}
