/*
Theme Name: Cocktail Magic Theme
Author: OneSystems Hungary
AUthor URI: https://onesystems.hu
Description: Egyedi landing page sablon a Cocktail Magic weboldalához, ACF integrációval.
Version: 1.0
*/

:root {
    --dark-bg: #121212;
    --light-bg: rgba(18, 18, 18, 0.9);
    --text-color: #f0f0f0;
    --accent-color: #C70039;
    --dark-accent-bg: #3d0011; /* ÚJ: Sötét bordó a gradienthez */
    --border-color: #2a2a2a;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lora', serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 17px;
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

section { 
    padding: 120px 0; 
}

/* Ez az új, újrahasznosítható osztály */
.section-gradient {
    background-color: var(--dark-bg); /* Fallback régebbi böngészőkhöz */
    background-image: linear-gradient(135deg, var(--dark-accent-bg) 0%, var(--dark-bg) 70%);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 60px; 
    color: var(--text-color); 
}

h2 span { 
    color: var(--accent-color); 
}

h3 { 
    font-size: 1.5rem; 
    margin-bottom: 20px; 
    color: var(--text-color); 
}

p { 
    margin-bottom: 20px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    text-align: center; 
    color: #b3b3b3; 
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 15px 35px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover { 
    background-color: transparent; 
    color: var(--accent-color); 
}

.section-center-button { 
    text-align: center; 
    margin-top: 40px; 
}

.navbar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000; 
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-logo { 
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem; 
    color: var(--text-color); 
    text-decoration: none; 
}

.nav-logo span { 
    color: var(--accent-color); 
}

.nav-links { 
    list-style: none; 
    display: flex; 
}

.nav-links li { 
    margin-left: 30px; 
}

.nav-links a {
    color: var(--text-color); 
    text-decoration: none;
    font-weight: 600; 
    font-family: var(--font-heading);
    font-size: 0.8rem; 
    transition: color 0.3s ease;
}

.nav-links a:hover { 
    color: var(--accent-color); 
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 35px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-menu .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.is-active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-bg);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease-in-out;
}

.mobile-nav.is-active {
    transform: translateX(-100%);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li a {
    display: block;
    padding: 20px;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links li a:hover {
    color: var(--accent-color);
}

body.no-scroll {
    overflow: hidden;
}

.nav-links a.active-link,
.mobile-nav-links a.active-link {
    color: var(--accent-color) !important;
}

/* Erre az újra: */
#hero {
    min-height: 100vh; /* EZ A LEGFONTOSABB VÁLTOZÁS */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px; /* Hozzáadunk egy kis függőleges távolságot is */
}

.hero-content .logo-container img { 
    max-width: 180px; 
    margin-bottom: 25px; 
}

.hero-content h1 { 
    font-size: 3.5rem; 
    color: var(--text-color); 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5); 
    margin-bottom: 20px; 
}

.hero-content .subtitle { 
    font-size: 1.2rem; 
    max-width: 600px; 
    margin: 0 auto 30px auto; 
    color: #f0f0f0; 
}

#rolunk .about-content { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
}

#rolunk .about-text { 
    flex: 1; 
    text-align: left; 
}

#rolunk .about-text p { 
    text-align: left; 
    margin-left: 0; 
}

#rolunk .about-image { 
    flex: 1; 
    max-width: 500px; 
}

#rolunk .about-image img { 
    width: 100%; 
    height: 600px; 
    object-fit: cover; 
    display: block; 
}

#szolgaltatasok { 
    /* A háttérkép beállításai a parallax effekthez */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Ez a sor csinálja a PARALLAX effektet! */
    position: relative; /* Szükséges az overlay-hez */
    z-index: 1;
}

/* Hozzáadunk egy sötét réteget a háttérkép és a tartalom közé, hogy a szöveg olvasható maradjon */
#szolgaltatasok::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.75); /* Sötét overlay, a --dark-bg szín alapján */
    z-index: -1;
}

#csomagok, #kapcsolat {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ÚJ: A csomag árának stílusa */
.package-card .package-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0 15px 0;
    line-height: 1.2;
}

#koktelok { 
    background-position: center top;
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
}

.service-card { 
    padding: 40px; 
    text-align: center; 
}

.service-card i { 
    font-size: 2.5rem; 
    color: var(--text-color); 
    margin-bottom: 25px; 
}

/* === ÚJ KOKTÉL RÁCS STÍLUSOK === */
.cocktail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.cocktail-name-item {
    padding: 15px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    background-color: rgba(0,0,0,0.5);
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.cocktail-name-item:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.cocktail-note { 
    text-align: center; 
    margin-top: 40px; 
    font-style: italic; 
}

/* Mobilon 2 oszlop */
@media (max-width: 600px) {
    .cocktail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* style.css */

/* === CSOMAGOK SZEKCIÓ (TÖMÖRÍTETT VERZIÓ) === */
#csomagok { 
    background-color: var(--light-bg); 
}

.packages-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.package-card {
    border: 2px solid var(--border-color); 
    padding: 30px; /* Kisebb belső térköz */
    text-align: center; 
    background-color: rgba(0,0,0,0.75);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Flexbox a jobb elrendezésért */
    flex-direction: column;
}

.package-card:hover { 
    transform: translateY(-10px); 
}

.package-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(199, 0, 57, 0.3);
}

.package-card h3 {
    font-size: 1.4rem; /* Kicsit kisebb címsor */
}

.package-card .price-info { 
    font-size: 1.1rem; /* Kicsit kisebb ár infó */
    font-family: var(--font-heading); 
    margin-bottom: 20px; /* Kisebb margó */
    display: block; 
    color: var(--text-color); 
}

.package-card ul { 
    list-style: none; 
    margin-bottom: 25px; /* Kisebb margó */
    text-align: left; 
}

.package-card ul li { 
    padding: 6px 0; /* Kisebb térköz a lista elemek között */
    font-size: 0.95rem; /* Kicsit kisebb betűméret */
    border-bottom: 1px solid var(--border-color); 
}

.package-card ul li:last-child {
    border-bottom: none; /* Az utolsó elemnek ne legyen alsó vonala */
}

.package-card ul li::before { 
    content: '\2713'; 
    color: var(--accent-color); 
    margin-right: 10px; 
}

/* ÚJ: A csomag leírásának stílusa */
.package-card .package-description {
    font-size: 0.9rem;
    font-style: italic;
    color: #999;
    margin-top: auto; /* Ez a sor letolja a leírást a kártya aljára */
    padding-top: 20px;
}

.package-note { 
    text-align: center; 
    background-color: rgba(0,0,0,0.75);
    margin-top: 60px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(199, 0, 57, 0.3);
}

.package-note h3 {
    padding-top: 20px;
}

/* RESZPONZÍV SZABÁLYOK A CSOMAGOKHOZ */
@media (max-width: 992px) {
    .packages-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; /* Mobilon maradhat nagyobb a térköz */
    }
}

.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 10px; 
}

.gallery-item img {
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover { 
    transform: scale(1.03); 
    filter: brightness(1.1); 
}

#kapcsolat { 
    background-color: var(--light-bg); 
}

.contact-wrapper { 
    display: flex; 
    gap: 60px; 
}

.contact-form { 
    flex: 2; 
}

.contact-info { 
    flex: 1; 
}

.contact-form form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.contact-form input, 
.contact-form textarea {
    background: var(--dark-bg); 
    border: 1px solid #333;
    color: var(--text-color); 
    padding: 15px; 
    font-family: var(--font-body);
    font-size: 1rem; 
    transition: border-color 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus { 
    border-color: var(--accent-color); 
    outline: none; 
}

.contact-info p { 
    text-align: left; 
    margin-left: 0; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    color: #b3b3b3;
}

.contact-info i { 
    color: var(--text-color); 
    width: 20px; 
    text-align: center; 
}

footer { 
    background-color: #000; 
    padding: 40px 0; 
    text-align: center; 
}

.social-links a { 
    color: #aaa; 
    font-size: 1.5rem; 
    margin: 0 15px; 
    transition: color 0.3s ease, transform 0.3s ease; 
}

.social-links a:hover { 
    color: var(--accent-color); 
    transform: translateY(-3px); 
}

.copyright { 
    margin-top: 20px; 
    font-size: 0.9rem; 
    color: #777; 
}

.legal-page-content {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.legal-page-content .page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: var(--accent-color);
}

.legal-page-content .container {
    max-width: 800px;
}

.legal-page-content h2,
.legal-page-content h3,
.legal-page-content h4 {
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.legal-page-content p {
    text-align: left;
    margin-bottom: 1.5em;
}

.legal-page-content ul,
.legal-page-content ol {
    text-align: left;
    margin-left: 20px;
    margin-bottom: 1.5em;
    padding-left: 1em;
}

.legal-page-content li {
    margin-bottom: 0.5em;
}

.legal-page-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-page-content a:hover {
    text-decoration: none;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
}

.error-404-section {
    padding: 150px 0 100px 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-section .error-title {
    font-size: 10rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.error-404-section .error-subtitle {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.error-404-section p {
    max-width: 600px;
    margin-bottom: 30px;
}

.error-404-section .error-search {
    margin-top: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-section .search-form {
    display: flex;
    gap: 10px;
}

.error-404-section .search-field {
    flex-grow: 1;
    background: var(--dark-bg);
    border: 1px solid #333;
    color: var(--text-color);
    padding: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.error-404-section .search-field:focus {
    border-color: var(--accent-color);
    outline: none;
}

.error-404-section .search-submit {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 0 25px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.error-404-section .search-submit:hover {
    background-color: transparent;
    color: var(--accent-color);
}

body.admin-bar .navbar {
    top: 32px;
}

/* === HÍRLEVÉL SZEKCIÓ === */
.newsletter-form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
}

/* A plugin által generált űrlap konténer stílusa */
.newsletter-form-wrapper .mc4wp-form-fields {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Az e-mail beviteli mező stílusa */
.newsletter-form-wrapper input[type="email"] {
    flex-grow: 1; /* Kitölti a rendelkezésre álló helyet */
    background: var(--dark-bg); 
    border: 1px solid #333;
    color: var(--text-color); 
    padding: 15px; 
    font-family: var(--font-body);
    font-size: 1rem; 
    transition: border-color 0.3s ease;
}

.newsletter-form-wrapper input[type="email"]:focus { 
    border-color: var(--accent-color); 
    outline: none; 
}

/* A feliratkozás gomb stílusa, a .cta-button alapján */
.newsletter-form-wrapper input[type="submit"] {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 15px 35px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: inherit; /* Biztosítja a megfelelő magasságot */
}

.newsletter-form-wrapper input[type="submit"]:hover { 
    background-color: transparent; 
    color: var(--accent-color); 
}

/* Reszponzív nézet mobilon: az elemek egymás alá kerülnek */
@media (max-width: 576px) {
    .newsletter-form-wrapper .mc4wp-form-fields {
        flex-direction: column;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}

@media (max-width: 992px) {
    h2 { font-size: 2rem; }
    section { padding: 100px 0; }
    .packages-grid { grid-template-columns: 1fr; }
    #rolunk .about-content { flex-direction: column; }
    #rolunk .about-text, #rolunk .about-text p { text-align: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
    #hero h1 { font-size: 2.5rem; }
    .cocktail-accordion {
        columns: 1;
    }
    .contact-wrapper { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) { 
    .cocktail-accordion {
        columns: 1;
    }
}