/* --- Változók beállítása a prémium színpalettához --- */
:root {
    --primary-color: #1a1a1a;       /* Mély fekete/sötétszürke az eleganciáért */
    --secondary-color: #faf9f6;     /* Törtfehér háttér */
    --accent-color: #d4af37;        /* Arany/Bézs kiemelés a luxus hatásért */
    --text-color: #333333;          /* Jól olvasható sötétszürke szöveg */
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* - Kötelező mezők jelölése - ezt a KÖZÖS style.css-be tettük (nem a
     booking.css-be vagy admin.css-be), mert ez MINDEN oldalon betöltődik
     (publikus foglalás oldal ÉS admin felület is), így egy helyen
     karbantartható! */
.required-mark {
    color: #b3261e;
    margin-left: 2px;
}

/* --- Alapbeállítások (Reset) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Lágy görgetés a menüpontokra kattintáskor */
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.active-link {
    color: var(--accent-color) !important;
}

/* - Az Időpontfoglalás menüpont a sötét fejlécben az oldal
     háttérszínével (--secondary-color) kap "kiemelő" hátteret, hogy
     jól látszódjon, mint egy önálló gomb, nem csak egy sima link! */
.nav-cta {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 8px 16px !important;
    border-radius: 30px;
}

.nav-cta:hover {
    background-color: var(--accent-color);
    color: #fff !important;
}

/* - Amikor TÉNYLEG az időpontfoglalás oldalon áll a látogató, a
     .active-link osztály is rákerül a linkre - ilyenkor arany
     hátteret kap, hogy egyértelmű legyen, hol jár épp! */
.nav-cta.active-link {
    background-color: var(--accent-color);
    color: #fff !important;
}


/* --- Gombok --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease; /* Finom animáció hover esetén */
}

.btn:hover {
    background-color: #bfa032;
    transform: translateY(-3px); /* Enyhén "felemelkedik" a gomb */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- Navigáció (Header) --- */
.header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 0;
    position: sticky; /* Görgetésnél is látható marad */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}
.logo-link {
    text-decoration: none;
    color: inherit;
}
.logo span {
    color: var(--accent-color); /* Az elegáns pont a logó végén */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* --- Hero Szekció --- */
.hero {
    /* A szalon saját fotója (16:9-re vágva, fekete-fehérre konvertálva) */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
                url('../img/hero-szalon.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-style: italic;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* --- Közös Szekció Címek --- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* --- Szolgáltatások Szekció --- */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

/* Kártya stílus */
.card {
    background-color: var(--secondary-color);
    padding: 40px 20px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* - A kártyák most már <a> linkek (a szolgáltatásra kattintva
         a foglalás oldalra visz), ezért kell a link-alapstílus reset! */
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card p {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #666;
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
}

.services-more {
    text-align: center;
    margin-top: 50px;
}

/* --- Rólunk Szekció --- */
.about {
    padding: 100px 0;
    text-align: center;
    background-color: var(--secondary-color);
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.about-photo {
    flex: 0 0 220px;
    width: 450px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    /* A kép már eleve fekete-fehér, a filter csak biztonsági háló
       (pl. ha valaki később színes képre cserélné) */
    filter: grayscale(100%);
    height: 420px;
}

.about-text {
    flex: 1;
    max-width: 750px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* --- Lábléc (Footer) --- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.footer p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #bbb;
}

.social-links a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    font-size: 0.85rem;
    color: #777;
}

/* --- Reszponzivitás (Mobil eszközökre) --- */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .about-photo {
        flex: 0 0 auto;
        width: 170px;
    }

    .about-text {
        text-align: center;
    }
}