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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(147, 22, 52, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -5%;
}

.geo-circle-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(227, 96, 82, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(147, 22, 52, 0.06);
    top: 30%;
    left: 15%;
    transform: rotate(15deg);
}

.geo-square {
    width: 80px;
    height: 80px;
    background: rgba(227, 96, 82, 0.06);
    border-radius: 12px;
    bottom: 30%;
    right: 10%;
    transform: rotate(30deg);
}

.geo-ring {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(147, 22, 52, 0.1);
    border-radius: 50%;
    top: 50%;
    right: 20%;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(147, 22, 52, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf8f0;
}

::-webkit-scrollbar-thumb {
    background: #d43f66;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #931634;
}

/* Selection color */
::selection {
    background: rgba(147, 22, 52, 0.15);
    color: #3a0916;
}
