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

/* Geometric Decorations */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.geo-circle-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.2) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation: float 12s ease-in-out infinite;
}

.geo-circle-5 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    animation: float 14s ease-in-out infinite reverse;
}

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

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(251, 113, 133, 0.08);
    border-radius: 24px;
    top: 20%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    bottom: 25%;
    left: 8%;
    transform: rotate(30deg);
    animation: spin-slow 15s linear infinite reverse;
}

.geo-square-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    top: 10%;
    left: -50px;
    transform: rotate(20deg);
    animation: spin-slow 25s linear infinite;
}

.geo-square-4 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    bottom: 15%;
    right: 5%;
    transform: rotate(-15deg);
    animation: spin-slow 18s linear infinite reverse;
}

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

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(251, 113, 133, 0.08);
    top: 35%;
    left: 3%;
    transform: rotate(-20deg);
    animation: float 7s ease-in-out infinite;
}

/* Floating Cards */
.floating-card {
    animation: float-card 4s ease-in-out infinite;
}

.card-top-right {
    animation-delay: 0s;
}

.card-bottom-left {
    animation-delay: 1.5s;
}

.card-mid-right {
    animation-delay: 3s;
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Navbar Scroll State */
.navbar-scrolled {
    background: rgba(255, 250, 248, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08) !important;
}

.navbar-scrolled .nav-link {
    color: #5c1e2b !important;
}

.navbar-scrolled .logo-text {
    color: #7B2D3B !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #f9cfd9;
    color: #7B2D3B;
}

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

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

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

/* ===== MOBILE MENU ===== */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-square-2 {
        display: none;
    }
    
    .geo-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(251, 113, 133, 0.08);
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .floating-card {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
