/* ========================================
   SHEILA SEYMOUR LAFRENIERE — SALON STYLES
   Deep Navy + Warm Gold · Vibrant Modern
======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0a1628;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   GEOMETRIC BACKGROUND SHAPES
======================================== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
}

.geo-circle-1 {
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 2px solid #d4a017;
    top: -200px;
    right: -200px;
    animation: geo-float 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, #d4a017 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    animation: geo-float 25s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #d4a017;
    top: 40%;
    right: 5%;
    opacity: 0.02;
    animation: geo-spin 30s linear infinite;
}

.geo-diamond {
    width: 200px;
    height: 200px;
    background: #d4a017;
    transform: rotate(45deg);
    top: 60%;
    left: 8%;
    opacity: 0.02;
    animation: geo-float 18s ease-in-out infinite;
}

.geo-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid #d4a017;
    top: 20%;
    left: 15%;
    opacity: 0.02;
    animation: geo-spin 40s linear infinite reverse;
}

@keyframes geo-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

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

/* ========================================
   FLOATING CARDS
======================================== */
.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

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

/* ========================================
   NAVIGATION
======================================== */
#navbar {
    background: transparent;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hamburger-line {
    transition: all 0.3s ease;
}

#mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 20px;
    margin-right: 0;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ========================================
   REVEAL ANIMATIONS
======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Default visible state for progressive enhancement */
.reveal {
    transform: translateY(0);
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

/* ========================================
   GALLERY HOVER
======================================== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ========================================
   SCROLLBAR
======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* ========================================
   SELECTION
======================================== */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #ffffff;
}

/* ========================================
   INPUT FOCUS
======================================== */
input:focus, textarea:focus {
    outline: none;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 400px;
        height: 400px;
    }
    
    .geo-circle-2 {
        width: 250px;
        height: 250px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-diamond {
        width: 100px;
        height: 100px;
    }
    
    .geo-ring {
        width: 150px;
        height: 150px;
    }
}
