/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-red: #ff0000;
    --color-blue: #1e40af;
    --color-blue-light: #3b82f6;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #f5f5f5;
    --color-gray-dark: #333333;
    --font-primary: 'Montserrat', sans-serif;
    --font-script: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    background-color: var(--color-black);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-red);
    font-size: 24px;
    font-weight: 700;
    text-transform: lowercase;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    color: var(--color-red);
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-red);
    text-decoration: none;
}

.nav-link.active {
    color: var(--color-red);
    text-decoration: none;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-black);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item:hover {
    background-color: rgba(255, 0, 0, 0.1);
    color: var(--color-red);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

/* ============================================
   CONTACTS SECTION
   ============================================ */

.contacts-section {
    padding: 100px 20px 80px;
    background-color: var(--color-white);
}

.contacts-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.contacts-title {
    position: relative;
    display: inline-block;
}

.contacts-title-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-script);
    font-size: 200px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 182, 193, 0.25);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.4;
}

.contacts-title-text {
    position: relative;
    z-index: 1;
    font-size: 72px;
    font-weight: 800;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-primary);
}

.map-container {
    width: 100%;
    height: 550px;
    margin-bottom: 80px;
    filter: grayscale(100%);
    border: none;
    overflow: hidden;
    border-radius: 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.salon-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.salon-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.salon-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.salon-detail {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.salon-detail .icon {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.salon-detail p {
    font-size: 14px;
    line-height: 1.8;
    text-transform: uppercase;
    font-family: var(--font-primary);
    font-weight: 400;
}

.salon-detail .plus-code {
    font-size: 12px;
    color: var(--color-gray-dark);
    text-transform: none;
    margin-top: 5px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-logo-text {
    color: var(--color-red);
    font-size: 28px;
    font-weight: 700;
    text-transform: lowercase;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-white);
    border-radius: 50%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--font-primary);
    letter-spacing: 1px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item p {
    font-size: 13px;
    line-height: 1.6;
    font-family: var(--font-primary);
}

.footer-contact-item p strong {
    font-weight: 700;
}

.footer-hours {
    display: flex;
    flex-direction: column;
}

.footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours-list p {
    font-size: 13px;
    line-height: 1.6;
    font-family: var(--font-primary);
}

.footer-map {
    display: flex;
    flex-direction: column;
}

.footer-map-graphic {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-top: 10px;
}

.footer-map-graphic img {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
}

.footer-bottom strong {
    color: var(--color-white);
    font-weight: 700;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 2px solid var(--color-red);
    border-radius: 50%;
    color: var(--color-red);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateY(-5px);
}

.back-to-top img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(7500%) hue-rotate(0deg) brightness(100%) contrast(118%);
}

.back-to-top:hover img {
    filter: brightness(0) invert(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .contacts-title-bg {
        font-size: 120px;
    }

    .contacts-title-text {
        font-size: 56px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--color-black);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .contacts-title-bg {
        font-size: 80px;
    }

    .contacts-title-text {
        font-size: 42px;
    }

    .salon-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contacts-title-bg {
        font-size: 60px;
    }

    .contacts-title-text {
        font-size: 32px;
    }
}
