/* ============================================
   BEAUTY EMPIRE SALON - CUSTOM STYLES
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

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

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid rgba(20, 184, 166, 0.06);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(20, 184, 166, 0.04);
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(20, 184, 166, 0.05);
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(20, 184, 166, 0.03);
    top: 60%;
    left: 8%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-ring-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(20, 184, 166, 0.04);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    animation: float-slow 16s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ============================================
   HERO DECORATIVE ELEMENTS
   ============================================ */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-circle-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 10%;
    left: -10%;
    animation: hero-float 12s ease-in-out infinite;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: 15%;
    right: -5%;
    animation: hero-float 10s ease-in-out infinite reverse;
}

.hero-line-1 {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 30%;
    left: 5%;
    animation: hero-slide 8s ease-in-out infinite;
}

.hero-line-2 {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    bottom: 35%;
    right: 8%;
    animation: hero-slide 10s ease-in-out infinite reverse;
}

.hero-dot-grid {
    width: 120px;
    height: 120px;
    top: 25%;
    right: 15%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 15px 15px;
    animation: hero-float 14s ease-in-out infinite;
}

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

@keyframes hero-slide {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(20px); opacity: 1; }
}

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

.cta-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: cta-float 15s ease-in-out infinite;
}

.cta-circle-2 {
    width: 250px;
    height: 250px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -50px;
    right: 10%;
    animation: cta-float 12s ease-in-out infinite reverse;
}

.cta-square-1 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    bottom: 20%;
    left: 5%;
    transform: rotate(45deg);
    animation: cta-float 18s ease-in-out infinite;
}

@keyframes cta-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #0d9488;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ============================================
   INPUT FIELDS
   ============================================ */
.input-field {
    width: 100%;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.input-field:focus {
    border-color: #14b8a6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.input-field option {
    background: #1e293b;
    color: white;
}

textarea.input-field {
    resize: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
    transition: width 0.3s ease;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
    transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
    width: 80%;
}

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

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

/* ============================================
   HERO ANIMATIONS
   ============================================ */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

.hero-headline {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subheadline {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-trust {
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-scroll {
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   ACCESSIBILITY: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .service-card,
    .gallery-item {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .shape-circle-1,
    .shape-circle-2,
    .shape-square-1,
    .shape-triangle-1,
    .shape-ring-1 {
        display: none;
    }
    
    .hero-circle-1,
    .hero-circle-2 {
        display: none;
    }
    
    .cta-circle-1,
    .cta-circle-2,
    .cta-square-1 {
        display: none;
    }
}

/* ============================================
   FOCUS VISIBLE STYLES
   ============================================ */
*:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: white;
}
