/* ===== Custom Styles for Unfiltrd Salon ===== */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Geometric Shapes ===== */
.geo-shape {
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.geo-circle-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float 7s ease-in-out infinite reverse;
}

.geo-circle-5 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    right: -150px;
    animation: float 9s ease-in-out infinite;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(45, 212, 191, 0.2);
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(45, 212, 191, 0.08);
    bottom: 25%;
    right: 15%;
    transform: rotate(30deg);
    animation: spin 15s linear infinite reverse;
}

.geo-rect-3 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(45, 212, 191, 0.15);
    top: 15%;
    left: 15%;
    transform: rotate(20deg);
    animation: spin 18s linear infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(45, 212, 191, 0.06);
    top: 40%;
    right: 5%;
    animation: float 5s ease-in-out infinite;
}

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

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

@keyframes scroll-line {
    0% { top: -16px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 16px; opacity: 0; }
}

.animate-scroll-line {
    animation: scroll-line 1.5s ease-in-out infinite;
}

/* ===== Navbar ===== */
.nav-logo {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: width 0.3s ease;
}

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

/* Navbar scroll state */
.navbar-scrolled .nav-logo {
    color: #1e293b;
}

.navbar-scrolled .nav-link {
    color: #475569;
}

.navbar-scrolled .nav-link:hover {
    color: #0d9488;
}

.navbar-scrolled .nav-link::after {
    background: #0d9488;
}

.navbar-scrolled .book-btn {
    background: #0d9488;
}

.navbar-scrolled .book-btn:hover {
    background: #14b8a6;
}

/* ===== Book Button ===== */
.book-btn {
    position: relative;
    overflow: hidden;
}

.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.book-btn:hover::before {
    left: 100%;
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

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

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.5s ease, background 0.5s ease;
}

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

/* ===== Contact Cards ===== */
.contact-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s 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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Mobile Menu Button ===== */
#bar1.active {
    transform: translateY(4px) rotate(45deg);
}

#bar2.active {
    opacity: 0;
}

#bar3.active {
    transform: translateY(-4px) rotate(-45deg);
}

/* ===== Selection ===== */
::selection {
    background: #14b8a6;
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-rect-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-rect-2 {
        width: 40px;
        height: 40px;
    }
    
    .geo-triangle {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(45, 212, 191, 0.06);
    }
}
