@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Roboto:wght@300;400;700&display=swap");

:root {
    --primary-gold: #a57c4f;
    --secondary-dark: #101010;
    --accent-gray: #333333;
    --text-light: #ffffff;
    --font-heading: "Cinzel", serif;
    --font-body: "Roboto", sans-serif;
    --spacing-xl: 8rem;
    --spacing-lg: 5rem;
    --spacing-md: 2.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-dark);
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
    margin: 20px auto 0;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

p,
li {
    font-size: 1.15rem;
    font-weight: 300;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition:
        color 0.3s,
        border-color 0.3s;
}

a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.site-header {
    background-color: rgba(16, 16, 16, 0.98);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: none;
    letter-spacing: 0.15em;
    padding: 0.5rem 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.05em;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.hero {
    background: url("/img/hero_main_budapest.webp") no-repeat center
        center/cover;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.hero-content {
    z-index: 10;
    max-width: 900px;
    padding: var(--spacing-md);
}

.content-section {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    text-align: left;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.content-section:nth-child(even) {
    background-color: #1a1a1a;
}

.section-text {
    flex: 1;
    max-width: 55%;
    padding: var(--spacing-md) 0;
}

.section-image {
    flex: 1;
    max-width: 45%;
    opacity: 0.9;
    transition: opacity 0.5s ease-in-out;
}

.section-image:hover {
    opacity: 1;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    object-fit: cover;
}

#jatekok .section-image img {
    content: url("/img/games_blackjack_table.webp");
}

#helyszin .section-image img {
    content: url("/img/judgeta_interior_view.webp");
}

#elerhetoseg .section-image img {
    content: url("/img/budapest_night_view.webp");
}

.premium-services {
    background-color: var(--secondary-dark);
    text-align: center;
}

.premium-services .container {
    max-width: 1200px;
}

.premium-services .intro-text {
    margin-bottom: var(--spacing-lg);
    font-size: 1.25rem;
}

.premium-services ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    margin-top: 5rem;
}

.premium-services li {
    background-color: var(--accent-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    flex: 1;
    min-width: 280px;
    border-bottom: 5px solid var(--primary-gold);
    transition:
        transform 0.3s,
        background-color 0.3s;
}

.premium-services li:hover {
    transform: translateY(-10px);
    background-color: #3e3e3e;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(
        to right,
        var(--secondary-dark),
        var(--primary-gold),
        var(--secondary-dark)
    );
    margin: 0;
}

.site-footer {
    background-color: #000000;
    padding: var(--spacing-lg) 0 2rem;
    border-top: 8px solid var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    text-align: left;
}

.footer-col h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: #cccccc;
    font-size: 1rem;
    line-height: 2;
    display: block;
}

.footer-col a:hover {
    color: var(--primary-gold);
    text-decoration: none;
}

.footer-bottom {
    margin-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--accent-gray);
}

.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out;
}

.modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--secondary-dark);
    padding: 50px;
    border: 5px double var(--primary-gold);
    width: 90%;
    max-width: 550px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(165, 124, 79, 0.4);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.modal.visible .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.modal-content button {
    background-color: var(--primary-gold);
    color: var(--secondary-dark);
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition:
        background-color 0.3s,
        transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-content button:hover {
    background-color: #ffd700;
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .content-section {
        gap: var(--spacing-md);
    }
    .section-text {
        max-width: 50%;
    }
    .section-image {
        max-width: 50%;
    }
}

@media (max-width: 992px) {
    :root {
        --spacing-xl: 6rem;
        --spacing-lg: 3rem;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        margin-bottom: var(--spacing-md);
    }

    .main-nav ul {
        gap: 1.5rem;
    }

    .content-section {
        flex-direction: column !important;
        text-align: center;
    }

    .section-text,
    .section-image {
        max-width: 100%;
        padding: 0;
    }

    .premium-services ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .premium-services li {
        min-width: 45%;
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-md: 1.5rem;
    }

    .site-header {
        padding: 1rem 0;
    }

    .nav-menu {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .main-nav a {
        font-size: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .premium-services ul {
        flex-direction: column;
    }

    .premium-services li {
        min-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
