/*
Theme Name: Salon Søndermarken
Description: 2026 Modern, ultra-sleek, and creative theme for Salon Søndermarken.dk.
Version: 2.0
Author: Streetclaw AI
Text Domain: salonsondermarken
*/

:root {
    --bg-main: #FAF9F6;
    --text-dark: #1C1C1C;
    --text-muted: #5A5A5A;
    --accent: #C5A880;
    --accent-hover: #A68A64;
    --white: #FFFFFF;
    --radius-lg: 30px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100%;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 0px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo span { color: var(--accent); font-style: italic; }

.logo-img {
    height: 100px;
    width: auto;
}

/* Desktop nav — visible by default */
.main-nav {
    display: flex;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
}

.main-nav a:hover { color: var(--accent); }

.btn-book {
    background: var(--text-dark);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
}

.btn-book:hover { background: var(--accent); transform: translateY(-2px); }

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250, 249, 246, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    list-style: none;
}

.mobile-nav-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
}

.mobile-nav-overlay a {
    text-decoration: none;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    transition: var(--transition);
}

.mobile-nav-overlay a:hover { color: var(--accent); }

.mobile-nav-overlay .btn-book {
    background: var(--text-dark);
    color: var(--white) !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
}

@media (max-width: 900px), (hover: none) {
    .main-nav { display: none; } /* hide desktop nav on mobile */
    .burger { display: flex; }
    .mobile-nav-overlay.open { display: flex; }
}

/* Burger — hidden on desktop */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002; /* above the nav overlay's 1000 */
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 5%;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.mobile-nav-close:hover { color: var(--accent); }

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; color: var(--text-dark); }
h1 { font-size: 4.5rem; line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px; }
h1 i { color: var(--accent); }
h2 { font-size: 3rem; margin-bottom: 40px; text-align: center; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 60px;
    background: radial-gradient(
        circle at 50% 0%,
        #5f6f52 0%,
        #3f4a3c 40%,
        #2f2a26 75%,
        #26221f 100%
    );
    color: #f5f3ef;
}

.hero-content { max-width: 800px; z-index: 2; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; font-weight: 300; }

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.3);
}

.btn-primary:hover { background: var(--text-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Layout Sections */
.section { padding: 10px 5%; max-width: 1400px; width: 100%; margin: 0 auto; }

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    text-align: center;
}

.price-card:hover { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.price-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.price-card p.price { font-size: 1.5rem; color: var(--accent); margin-bottom: 20px; font-style: italic; }
.price-card ul { list-style: none; color: var(--text-muted); font-size: 0.95rem; }
.price-card ul li { padding: 8px 0; border-bottom: 1px solid #eee; }
.price-card ul li:last-child { border-bottom: none; }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 400px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 60px;
    aspect-ratio: 4/5;
}

.gallery-grid img:hover { transform: scale(1.03); }
.gallery-grid img:nth-child(2) { transform: translateY(40px); }
.gallery-grid img:nth-child(2):hover { transform: translateY(40px) scale(1.03); }

/* Flex Sections (About & Booking) */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    margin: 60px auto;
}

.split-content { flex: 1; }
.split-content h2 { text-align: left; margin-bottom: 20px; }
.split-visual { flex: 1; }

.booking-frame {
    width: 100%;
    min-height: 500px;
    border-radius: var(--radius-sm);
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ccc;
    color: var(--text-muted);
}

/* Info Grid */
.info-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}

#hours {
    width: 100%;
    max-width: 100%;
}

.info-box { background: var(--white); padding: 40px; border-radius: var(--radius-lg); text-align: center; }
.info-box h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--accent); }
.info-box p, .info-box ul { color: var(--text-muted); list-style: none; }

/* Footer */
footer {
    text-align: center;
    padding: 60px 5%;
    background: var(--text-dark);
    color: var(--white);
    margin-top: 100px;
}

footer p { color: rgba(255,255,255,0.6); font-weight: 300; }

/* Responsive */
@media (max-width: 900px), (hover: none) {
    .burger { display: flex; }

    .main-nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(250, 249, 246, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1001; /* higher than header's 1000 */
    }

    .main-nav.open { display: flex; }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        list-style: none;
    }

    .main-nav a {
        font-size: 2rem;
        font-family: var(--font-heading);
        color: var(--text-dark);
    }

    .main-nav a:hover { color: var(--accent); }

    .btn-book { padding: 16px 40px; font-size: 1.1rem; }
}

/* Booking section */
#booking .split-visual { display: none; }
#booking .split-section { justify-content: center; }
#booking .split-content { max-width: 600px; text-align: center; }
#booking .split-content h2 { text-align: center; }

.btn-book-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-dark);
    color: var(--white);
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-book-large:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(197, 168, 128, 0.35);
}

.btn-arrow {
    font-size: 1.4rem;
    transition: var(--transition);
}

.btn-book-large:hover .btn-arrow { transform: translateX(4px); }