/* ============================================
   Natural Eyebrows Threading — Custom Styles
   ============================================ */

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

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

body {
    margin: 0;
    overflow-x: hidden;
}

/* ============================================
   Fixed Background Geometric Shapes
   ============================================ */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9d174d, #f59e0b);
    top: -100px;
    right: -150px;
}

.geo-circle-2 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #db2777);
    bottom: 10%;
    left: -100px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #9d174d;
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-rect {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    bottom: 20%;
    right: 10%;
    transform: rotate(45deg);
    border-radius: 20px;
}

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

.hero-geo-1 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation: float 8s ease-in-out infinite;
}

.hero-geo-2 {
    width: 150px;
    height: 150px;
    background: rgba(251, 191, 36, 0.08);
    border-radius: 50%;
    top: 20%;
    right: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-geo-3 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(251, 191, 36, 0.1);
    bottom: 20%;
    left: 10%;
    animation: spin 20s linear infinite;
}

.hero-geo-4 {
    width: 80px;
    height: 80px;
    background: rgba(244, 114, 182, 0.1);
    border-radius: 16px;
    bottom: 30%;
    right: 15%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.hero-geo-5 {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: 5%;
    right: -3%;
    animation: float 10s ease-in-out infinite reverse;
}

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

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

/* ============================================
   Navbar
   ============================================ */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(157, 23, 77, 0.08);
}

.navbar-scrolled .nav-logo-text {
    color: #9d174d !important;
}

.navbar-scrolled .nav-link {
    color: #374151 !important;
}

.navbar-transparent .nav-logo-text {
    color: #ffffff !important;
}

.navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-transparent .nav-link:hover {
    color: #fbbf24 !important;
}

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9d174d, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.gallery-item img {
    will-change: transform;
}

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

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal.from-bottom {
        transform: translateY(40px);
    }

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

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

    .reveal.scale-in {
        transform: scale(0.9);
    }
}

/* ============================================
   Contact Form
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    border-color: #9d174d !important;
    box-shadow: 0 0 0 3px rgba(157, 23, 77, 0.1) !important;
}

/* ============================================
   Back to Top
   ============================================ */
#back-to-top.visible {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }

    .geo-circle-1,
    .geo-circle-2 {
        display: block;
        opacity: 0.03;
    }
}

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

    .hero-geo {
        display: none;
    }
}
