/* ========================================
   Nani's Beauty Salon — Custom Styles
   ======================================== */

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

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

body {
    min-height: 100vh;
}

/* ========================================
   Geometric Background Shapes
   ======================================== */
.geometric-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #FF6B6B;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    opacity: 0.08;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #FF6B6B;
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    opacity: 0.05;
}

.circle-3 {
    width: 80px;
    height: 80px;
    background: #FF6B6B;
    border-radius: 50%;
    top: 30%;
    left: 45%;
    opacity: 0.1;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #FF6B6B;
    top: 60%;
    right: 5%;
    opacity: 0.04;
    transform: rotate(15deg);
}

.square-1 {
    width: 120px;
    height: 120px;
    background: #1a1a2e;
    top: 20%;
    right: 10%;
    opacity: 0.03;
    transform: rotate(30deg);
    border-radius: 16px;
}

.circle-4 {
    width: 500px;
    height: 500px;
    background: #FF6B6B;
    border-radius: 50%;
    bottom: -200px;
    right: -150px;
    opacity: 0.05;
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 138px solid #FF6B6B;
    top: 10%;
    left: 5%;
    opacity: 0.04;
    transform: rotate(-20deg);
}

.circle-5 {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    top: -80px;
    left: -80px;
    opacity: 0.1;
}

.square-2 {
    width: 150px;
    height: 150px;
    background: white;
    bottom: -40px;
    right: 10%;
    opacity: 0.08;
    transform: rotate(45deg);
    border-radius: 20px;
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: rgba(255, 107, 107, 0.3);
}

.service-card:hover .w-14 {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

/* ========================================
   Gallery Items
   ======================================== */
.gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* ========================================
   Navigation
   ======================================== */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(250, 250, 248, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
    transition: all 0.3s ease;
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.circle-1 {
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    animation: floatReverse 6s ease-in-out infinite;
}

.circle-3 {
    animation: pulse 4s ease-in-out infinite;
}

.circle-4 {
    animation: float 10s ease-in-out infinite;
}

.triangle-1 {
    animation: floatReverse 7s ease-in-out infinite;
}

.triangle-2 {
    animation: float 9s ease-in-out infinite;
}

.square-1 {
    animation: floatReverse 8s ease-in-out infinite;
}

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

/* ========================================
   Scroll Reveal Animation
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    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; }

/* ========================================
   Form Focus States
   ======================================== */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #FAFAF8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #FF8787;
}

/* ========================================
   Selection Color
   ======================================== */
::selection {
    background: #FF6B6B;
    color: white;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .geometric-shape {
        display: none;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
}
