/* ============================================
   Images of Us Salon — Custom Styles
   Vibrant Modern | Forest Green + Off-White
   ============================================ */

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

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

body {
    min-height: 100vh;
}

::selection {
    background-color: #63a474;
    color: #0a180e;
}

/* ---- Fixed Background Geometry ---- */
.geo-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 164, 116, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -100px;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 245, 233, 0.5) 0%, transparent 70%);
    bottom: 20%;
    left: -50px;
}

.geo-triangle {
    position: fixed;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(99, 164, 116, 0.06);
    pointer-events: none;
    z-index: 0;
    top: 40%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-rect {
    position: fixed;
    width: 120px;
    height: 120px;
    background: rgba(232, 245, 233, 0.3);
    pointer-events: none;
    z-index: 0;
    bottom: 30%;
    right: 8%;
    transform: rotate(30deg);
    border-radius: 12px;
}

.geo-dots {
    position: fixed;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(99, 164, 116, 0.15) 2px, transparent 2px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: 0;
    top: 60%;
    left: 15%;
}

/* ---- Hero Shapes ---- */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(232, 245, 233, 0.12);
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.shape-circle-1 {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(232, 245, 233, 0.15);
    border-radius: 50%;
    top: 30%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(99, 164, 116, 0.2);
    bottom: 25%;
    left: 8%;
    animation: float 7s ease-in-out infinite;
}

.shape-rect-1 {
    width: 60px;
    height: 100px;
    background: rgba(232, 245, 233, 0.08);
    border-radius: 12px;
    bottom: 30%;
    right: 10%;
    transform: rotate(-15deg);
    animation: float 5s ease-in-out infinite reverse;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border: 4px solid rgba(232, 245, 233, 0.08);
    border-radius: 50%;
    top: 15%;
    right: 5%;
    animation: float 9s ease-in-out infinite;
}

/* ---- CTA Shapes ---- */
.cta-shape {
    position: absolute;
    pointer-events: none;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 164, 116, 0.15) 0%, transparent 70%);
    top: -50px;
    left: -80px;
    border-radius: 50%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 245, 233, 0.08) 0%, transparent 70%);
    bottom: -30px;
    right: 10%;
    border-radius: 50%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(232, 245, 233, 0.1);
    top: 20%;
    right: 20%;
    transform: rotate(45deg);
}

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

.shape-square-1 { --rotate: 45deg; }
.shape-triangle-1 { --rotate: 15deg; }
.shape-rect-1 { --rotate: -15deg; }

/* ---- Navbar ---- */
.nav-header {
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(26, 63, 38, 0.1);
}

.nav-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1a3f26;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #1a3f26;
    color: #FAFAF5;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0px #1a3f26 !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    transform: translate(2px, 2px);
}

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

/* ---- Testimonial Cards ---- */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Syne', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(26, 63, 38, 0.06);
    line-height: 1;
    pointer-events: none;
}

/* ---- Gallery Items ---- */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 63, 38, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ---- Contact Info Cards ---- */
.contact-info-card {
    position: relative;
}

/* ---- Mobile Menu ---- */
.mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease, pointer-events 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-nav-link {
    display: block;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}

/* ---- Scroll Reveal (Progressive Enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ---- Focus Styles ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #63a474;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .geo-circle,
    .geo-triangle,
    .geo-rect,
    .geo-dots {
        display: none;
    }

    .hero-shape {
        display: none;
    }
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 70px;
    }
}
