/* ============================================
   Fatima African Hair Lounge — Custom Styles
   ============================================ */

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

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

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

/* Selection */
::selection {
    background: #d4a843;
    color: #0a1628;
}

/* ============================================
   Geometric Background Shapes (Hero)
   ============================================ */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    bottom: -50px;
    right: 20%;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.geo-triangle-1 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(212, 168, 67, 0.06);
    top: 25%;
    left: 3%;
    transform: rotate(-15deg);
}

.geo-rect {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 168, 67, 0.1);
    border-radius: 20px;
    bottom: 15%;
    right: 8%;
    transform: rotate(45deg);
}

.geo-diamond {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(212, 168, 67, 0.08);
    border-radius: 16px;
    transform: rotate(45deg);
}

.geo-diamond-1 {
    top: 10%;
    right: 10%;
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 168, 67, 0.2) 1px, transparent 1px);
    background-size: 16px 16px;
    top: 30%;
    right: 15%;
    pointer-events: none;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(26, 39, 68, 0.08);
}

#navbar.scrolled .font-display,
#navbar.scrolled span {
    color: #1a2744 !important;
}

#navbar.scrolled a:not(.bg-navy-800):not(.bg-gold-500) {
    color: #1a2744 !important;
}

/* Mobile Toggle Animation */
#mobile-toggle.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-toggle.active #bar2 {
    opacity: 0;
}

#mobile-toggle.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6px;
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    position: relative;
}

/* Floating animation for hero image card */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-float {
    animation: float 6s ease-in-out infinite;
}

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

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

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

/* ============================================
   Gallery
   ============================================ */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 39, 68, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-float {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }

    .geo-triangle-1 {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 90px solid rgba(212, 168, 67, 0.06);
    }

    .geo-rect {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}
