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

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

body {
    margin: 0;
    overflow-x: hidden;
}

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

/* ===== HERO GRADIENT ===== */
.hero-gradient {
    background: linear-gradient(135deg, 
        #781f2e 0%, 
        #b8284e 25%, 
        #d44268 50%, 
        #e82554 75%, 
        #c4133f 100%
    );
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #f4a0b5;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: floatSlow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #f4a0b5;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(244, 160, 181, 0.3);
    top: 30%;
    left: 8%;
    transform: rotate(45deg);
    animation: spinSlow 25s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(244, 160, 181, 0.2);
    top: 20%;
    right: 10%;
    animation: floatSlow 18s ease-in-out infinite;
}

.geo-ring-1 {
    width: 150px;
    height: 150px;
    border: 3px solid rgba(255, 173, 186, 0.4);
    border-radius: 50%;
    bottom: 25%;
    right: 15%;
    animation: pulse 4s ease-in-out infinite;
}

.geo-dots {
    background-image: radial-gradient(rgba(244, 160, 181, 0.4) 2px, transparent 2px);
    background-size: 30px 30px;
    width: 200px;
    height: 200px;
    top: 60%;
    left: 15%;
    animation: floatSlow 22s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spinSlow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* ===== MARQUEE ===== */
.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-content {
    flex-shrink: 0;
}

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

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

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(120, 31, 46, 0.08);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* ===== SCROLL REVEAL ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }

    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
    background: #b8284e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #781f2e;
}

/* ===== SELECTION ===== */
::selection {
    background: #f4a0b5;
    color: #441118;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
    outline: 3px solid #f4a0b5;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== FORM STYLES ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23781f2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ===== BUTTON HOVER LIFT ===== */
button, a {
    transition: all 0.3s ease;
}
