/* =====================
   Look by Katia - Styles
   ===================== */

:root {
    --primary-dark: #1a1a2e;
    --accent: #e94560;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Header */
.header .navbar-brand {
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .header .navbar-brand {
        font-size: 0.95rem;
    }
}

/* Mobile Tabs */
.mobile-tabs .nav-link {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    transition: all 0.2s;
}

.mobile-tabs .nav-link.active,
.mobile-tabs .nav-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
    background: transparent;
}

/* =====================
   Desktop Gallery Grid
   ===================== */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-main {
    grid-row: span 2;
    cursor: pointer;
    overflow: hidden;
}

.gallery-main img,
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-main:hover img,
.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-thumb {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-more-overlay i {
    font-size: 1.5rem;
}

/* =====================
   Mobile Carousel
   ===================== */
.gallery-section {
    position: relative;
}

#salonCarousel .carousel-item {
    height: 350px;
    cursor: pointer;
}

@media (min-width: 576px) {
    #salonCarousel .carousel-item {
        height: 400px;
    }
}

#salonCarousel .carousel-item img {
    height: 100%;
    object-fit: cover;
}

#salonCarousel .carousel-control-prev,
#salonCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 1;
    margin: 0 0.5rem;
}

#salonCarousel .carousel-control-prev-icon,
#salonCarousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
    width: 0.8rem;
    height: 0.8rem;
}

.carousel-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* =====================
   Lightbox
   ===================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
}

.lightbox.active {
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    padding: 60px 1rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.lightbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lightbox-grid img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.lightbox-grid img:hover {
    opacity: 0.9;
}

.lightbox-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lightbox-scroll img {
    width: 100%;
    border-radius: 8px;
}

/* =====================
   Accordion / Services
   ===================== */
.accordion-button {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    background: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: var(--primary-dark);
    box-shadow: none;
}


.accordion-button:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}

.service-item {
    transition: background 0.2s;
}

.service-item:hover {
    background: #f8f9fa;
}

/* Details/Summary for service descriptions */
details summary {
    cursor: pointer;
    color: var(--primary-dark);
}

details summary:hover {
    text-decoration: underline;
}

/* =====================
   Sidebar
   ===================== */
.map-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8ed 100%);
    transition: background 0.2s;
}

.map-placeholder:hover {
    background: linear-gradient(135deg, #dbeef4 0%, #c8e0e7 100%);
    color: #333 !important;
}

.card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* =====================
   Footer
   ===================== */
.footer a:hover {
    color: white !important;
}

/* =====================
   Utilities
   ===================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

@media (min-width: 992px) {
    html {
        scroll-padding-top: 80px;
    }
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-counter,
    .map-placeholder,
    .footer,
    .lightbox {
        display: none !important;
    }

    .accordion-collapse {
        display: block !important;
    }
}
