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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(245, 166, 35, 0.15);
    border-radius: 50%;
    top: 10%;
    left: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(245, 166, 35, 0.08);
    border-radius: 50%;
    top: 60%;
    right: 5%;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 30%;
    right: 15%;
    animation: float 12s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(245, 166, 35, 0.06);
    top: 20%;
    right: 25%;
    animation: rotate 25s linear infinite;
}

.shape-diamond {
    width: 80px;
    height: 80px;
    background: rgba(123, 45, 139, 0.15);
    transform: rotate(45deg);
    bottom: 25%;
    left: 10%;
    animation: float 18s ease-in-out infinite;
}

.shape-ring {
    width: 150px;
    height: 150px;
    border: 3px solid rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    bottom: 15%;
    right: 20%;
    animation: rotate 30s linear infinite reverse;
}

.shape-cross {
    width: 40px;
    height: 40px;
    top: 45%;
    left: 5%;
    animation: float 10s ease-in-out infinite;
}

.shape-cross::before,
.shape-cross::after {
    content: '';
    position: absolute;
    background: rgba(245, 166, 35, 0.12);
}

.shape-cross::before {
    width: 100%;
    height: 8px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
}

.shape-cross::after {
    width: 8px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

/* Hero Photos */
.hero-photo {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0.7;
}

.hero-photo-1 {
    width: 180px;
    height: 220px;
    background: url('https://images.pexels.com/photos/14645130/pexels-photo-14645130.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=400&h=500') center/cover;
    top: 15%;
    left: 5%;
    transform: rotate(-8deg);
    animation: floatPhoto 22s ease-in-out infinite;
}

.hero-photo-2 {
    width: 140px;
    height: 180px;
    background: url('https://images.pexels.com/photos/14334049/pexels-photo-14334049.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=350&h=450') center/cover;
    bottom: 20%;
    right: 8%;
    transform: rotate(5deg);
    animation: floatPhoto 18s ease-in-out infinite reverse;
}

.hero-photo-3 {
    width: 120px;
    height: 150px;
    background: url('https://images.pexels.com/photos/7746084/pexels-photo-7746084.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=300&h=400') center/cover;
    top: 40%;
    right: 3%;
    transform: rotate(12deg);
    animation: floatPhoto 25s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(20px) rotate(-2deg); }
}

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

@keyframes floatPhoto {
    0%, 100% { transform: translateY(0) rotate(var(--rotate, -8deg)); }
    50% { transform: translateY(-15px) rotate(var(--rotate, -8deg)); }
}

.hero-photo-1 { --rotate: -8deg; }
.hero-photo-2 { --rotate: 5deg; }
.hero-photo-3 { --rotate: 12deg; }

/* Hero Content Animation */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    animation: heroFadeIn 1s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: translateY(0) translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

/* Reveal animations are progressive enhancement — content is visible by default */
.reveal-animate .reveal-up {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-animate .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
}

.reveal-animate .reveal-right {
    opacity: 0;
    transform: translateX(30px);
}

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

.reveal-animate.revealed .reveal-left {
    opacity: 1;
    transform: translateX(0);
}

.reveal-animate.revealed .reveal-right {
    opacity: 1;
    transform: translateX(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .hero-photo {
        animation: none;
    }
    
    .reveal-animate .reveal-up,
    .reveal-animate .reveal-left,
    .reveal-animate .reveal-right {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar Scroll State */
.nav-scrolled {
    background: rgba(19, 6, 25, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Mobile Menu */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background: rgba(245, 166, 35, 0.3);
    color: #1a0a20;
}
