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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
}

.geo-tri-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #fbbf24;
    top: 35%;
    right: 5%;
    transform: rotate(15deg);
    opacity: 0.04;
}

.geo-tri-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 138px solid #a855f7;
    bottom: 15%;
    right: 15%;
    transform: rotate(-20deg);
    opacity: 0.04;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    background: #fbbf24;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    opacity: 0.04;
}

.geo-dots {
    background-image: radial-gradient(circle, #d8b4fe 1px, transparent 1px);
    background-size: 24px 24px;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 0;
    opacity: 0.08;
}

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

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 1.3s;
}

.card-3 {
    animation-delay: 2.6s;
}

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

/* Service Cards */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    box-shadow: 0 20px 60px -20px rgba(251, 191, 36, 0.15);
}

/* Gallery Cards */
.gallery-card {
    cursor: pointer;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .geo-shape {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(46, 3, 79, 0.95) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu open */
.mobile-menu-open #mobile-menu {
    transform: translateX(0);
}

/* Hamburger animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #faf5ff;
}
