/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

/* Geometric Animations */
@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-25px, 25px) rotate(-120deg); }
    66% { transform: translate(15px, -15px) rotate(-240deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

@keyframes float-4 {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    50% { transform: translate(-15px, 15px) rotate(90deg); }
}

@keyframes float-5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(25px, -10px) rotate(45deg); }
}

.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    top: 10%;
    left: 5%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px solid #fbbf24;
    animation: float-1 20s ease-in-out infinite;
}

.shape-circle-2 {
    top: 60%;
    right: 5%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #fbbf24;
    animation: float-3 15s ease-in-out infinite;
}

.shape-circle-3 {
    bottom: 15%;
    left: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.5);
    animation: float-5 12s ease-in-out infinite;
}

.shape-square-1 {
    top: 25%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: #fbbf24;
    animation: float-4 18s ease-in-out infinite;
}

.shape-square-2 {
    bottom: 25%;
    left: 8%;
    width: 70px;
    height: 70px;
    border: 2px solid #fbbf24;
    animation: float-2 14s ease-in-out infinite;
}

.shape-triangle-1 {
    top: 45%;
    left: 3%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(251, 191, 36, 0.3);
    animation: float-1 16s ease-in-out infinite;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(131, 20, 67, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Gallery Items */
.gallery-item {
    cursor: pointer;
}

/* 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(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(131, 20, 67, 0.08);
}

/* Mobile Menu */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

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

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

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

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

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

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

/* Smooth image loading */
img {
    loading: lazy;
}
