/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.12;
}

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

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

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 3px solid #F9A8D4;
    top: 30%;
    right: 10%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: #FCD34D;
    bottom: 25%;
    right: 25%;
    transform: rotate(20deg);
    animation: float-slow 12s ease-in-out infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #F472B6;
    top: 20%;
    left: 8%;
    opacity: 0.08;
    animation: spin-slow 30s linear infinite reverse;
}

.geo-dots {
    background-image: radial-gradient(circle, #FBBF24 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 15%;
    opacity: 0.3;
}

.geo-line-1 {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F59E0B, transparent);
    top: 45%;
    right: 5%;
    transform: rotate(-30deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-line-2 {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F9A8D4, transparent);
    bottom: 35%;
    left: 20%;
    transform: rotate(20deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

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

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

/* Gallery scroll animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(45, 8, 29, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FBBF24;
    transition: width 0.3s ease;
}

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

/* Service card hover effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #BE185D, #F59E0B);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Feature card hover */
.feature-card {
    position: relative;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        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 focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button ripple effect */
button, a {
    cursor: pointer;
}

/* Print styles */
@media print {
    nav, #contactForm, .geo-shape, .animate-scroll {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
