/* ============================================
   SALON PINK — 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;
}

/* Selection */
::selection {
    background: rgba(196, 112, 75, 0.15);
    color: #5c3021;
}

/* Navbar */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    background-color: transparent;
}

.nav-fixed.scrolled {
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(203, 165, 136, 0.2);
}

.nav-link {
    position: relative;
}

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

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

/* Hero */
.hero-section {
    position: relative;
    background-color: #fdfcfa;
}

/* Service Cards */
.service-card {
    transition: background-color 0.3s ease;
}

.service-card:hover {
    background-color: #faf6f0;
}

/* Buttons */
.btn-primary {
    border: 1px solid #C4704B;
    border-radius: 0;
    letter-spacing: 0.2em;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

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

.btn-secondary {
    border: 1px solid #dbbfab;
    border-radius: 0;
    letter-spacing: 0.2em;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
}

/* Input Fields */
.input-field {
    border-radius: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    background: transparent;
}

.input-field:focus {
    border-bottom-color: #C4704B !important;
}

.input-field option {
    background-color: #faf6f0;
    color: #5e4839;
}

/* Testimonial Cards */
.testimonial-card {
    transition: background-color 0.3s ease;
}

.testimonial-card:hover {
    background-color: #faf6f0;
}

/* Mobile Menu */
.mobile-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C4704B;
    transition: width 0.3s ease;
}

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

/* Menu Lines Animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

#menu-btn[aria-expanded="true"] .menu-line:first-child {
    transform: translateY(5px) rotate(45deg);
}

#menu-btn[aria-expanded="true"] .menu-line:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

/* Decorative Elements */
.deco-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #e8b8a5, transparent);
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 1px solid #C4704B;
    outline-offset: 2px;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Subtle hover on gallery images */
.aspect-square {
    overflow: hidden;
}

.aspect-square img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Print styles */
@media print {
    .nav-fixed,
    #mobile-menu,
    .reveal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
