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

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

body {
    min-height: 100vh;
}

::selection {
    background-color: #a1103b;
    color: white;
}

/* ========== GEOMETRIC BACKGROUND SHAPES ========== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fce7eb 0%, #f9cfd9 100%);
    top: -200px;
    right: -200px;
    opacity: 0.4;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf2f4 0%, #fce7eb 100%);
    bottom: 10%;
    left: -150px;
    opacity: 0.35;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #fce7eb;
    top: 40%;
    right: 5%;
    opacity: 0.15;
    transform: rotate(15deg);
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fdf2f4 0%, #f9cfd9 100%);
    bottom: 30%;
    left: 8%;
    opacity: 0.2;
    transform: rotate(45deg);
    border-radius: 20px;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #f9cfd9 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    top: 60%;
    right: 15%;
    opacity: 0.3;
}

/* ========== FLOATING CARD ANIMATIONS ========== */
.floating-card {
    position: absolute;
    z-index: 10;
}

.card-top-right {
    top: -20px;
    right: -30px;
    animation: float1 4s ease-in-out infinite;
}

.card-bottom-left {
    bottom: 40px;
    left: -20px;
    animation: float2 5s ease-in-out infinite;
}

.card-mid-right {
    top: 50%;
    right: -40px;
    animation: float3 4.5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-1deg); }
}

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

/* ========== SERVICE CARD HOVER ========== */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
}

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(161, 16, 59, 0.08);
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a1103b, #f2235c);
    transition: width 0.3s ease;
}

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

#mobileMenu.open {
    transform: translateX(0);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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; }

/* ========== FORM STYLES ========== */
input:focus,
select:focus,
textarea:focus {
    border-color: #a1103b !important;
    box-shadow: 0 0 0 4px rgba(161, 16, 59, 0.1) !important;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 1024px) {
    .card-top-right {
        right: 10px;
        top: -10px;
    }
    .card-bottom-left {
        left: 10px;
    }
    .card-mid-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    .shape-triangle-1 {
        display: none;
    }
    .shape-square-1 {
        display: none;
    }
    .shape-dots {
        display: none;
    }
}
