/* Custom styles for Sprinkles and Smiles */

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

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

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fce7eb 0%, #f9d0d9 100%);
    top: -100px;
    right: -100px;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f4a8b8 0%, #ec7490 100%);
    bottom: 20%;
    left: -50px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    background: #f2a76e;
    top: 40%;
    right: 10%;
    opacity: 0.2;
    animation: float 10s ease-in-out infinite;
}

.geo-circle-4 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #a11b36 0%, transparent 70%);
    top: -150px;
    right: -150px;
    opacity: 0.3;
    animation: pulse 12s ease-in-out infinite;
}

.geo-circle-5 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #c42746 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    opacity: 0.25;
    animation: pulse 15s ease-in-out infinite reverse;
}

.geo-circle-6 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #a11b36 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    opacity: 0.2;
    animation: float 14s ease-in-out infinite;
}

.geo-circle-7 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #c42746 0%, transparent 70%);
    top: 20%;
    left: 10%;
    opacity: 0.15;
    animation: float 10s ease-in-out infinite reverse;
}

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

.geo-triangle-1 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #fce7eb;
    opacity: 0.4;
    top: 15%;
    left: 5%;
    transform: rotate(15deg);
    animation: spin 20s linear infinite;
}

.geo-triangle-2 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #a11b36;
    opacity: 0.15;
    bottom: 20%;
    right: 10%;
    transform: rotate(-30deg);
    animation: spin 25s linear infinite reverse;
}

.geo-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #f4a8b8 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.3;
    top: 25%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

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

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

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-blur-md;
    box-shadow: 0 2px 20px rgba(132, 26, 51, 0.1);
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Button hover effects */
button, a {
    transition: all 0.2s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c42746;
    border-radius: 5px;
}

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

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(196, 39, 70, 0.1);
}

/* 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;
    }
}

/* Print styles */
@media print {
    #navbar,
    .geo-circle,
    .geo-triangle,
    .geo-dots {
        display: none;
    }
}
