:root {
    --primary-color: #061A40;
    --secondary-color: #007ea7;
    --accent-color: #9D5C63;
    --text-color: #ffffff;
    --transition-speed: 0.3s;
    --navbar-height: 60px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(
        to bottom,
        var(--primary-color) 0%,
        var(--secondary-color) 200%
    );
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    width: min(80%, 1200px);
    margin: 0 auto;
    padding: 50px 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================
   Navigáció
   ========================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: var(--primary-color);
    padding: 0 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;
    font-variant: small-caps;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-variant: uppercase;
    transition: color var(--transition-speed);
}

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

.nav-toggle {
    display: none;
}

/* =========================
   Hero szekció
   ========================= */

header {
    background: url('images/gero_hero.png') no-repeat center center / cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--navbar-height);
    position: relative;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(-80px);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
}

.hero .social-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
}

.hero .social-icons a {
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

.hero .social-icons a:hover {
    color: var(--accent-color);
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--accent-color);
}

.hero-photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #ffffff;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 5;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: transform var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-2px);
}

.spacer {
    height: 100px;
}

/* =========================
   About szekció
   ========================= */

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.about-content img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
    order: 2;
}

.portrait-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    order: 2;
}

.portrait-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.portrait-photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #ffffff;
    opacity: 0.85;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.about-content .text {
    padding: 1rem;
    text-align: justify;
    order: 1;
    flex: 1;
}

.about-content h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
}

/* =========================
   Music szekció
   ========================= */

.spotify-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 10px;
    background: rgba(6, 26, 64, 0.9);
    border: 1px solid rgba(157, 92, 99, 0.35);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.spotify-container iframe {
    display: block;
    width: 100%;
    height: 352px;
    border: none;
    border-radius: 12px;
}

.youtube-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2rem;
    aspect-ratio: 16 / 9;
}

.youtube-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* =========================
   Contact szekció
   ========================= */

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid transparent;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: border-color var(--transition-speed);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Invisible spam protection */
.form-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

button {
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

button:hover {
    background-color: #8d525a;
}

/* =========================
   Footer
   ========================= */

footer {
    background-color: var(--primary-color);
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.footer-content {
    width: min(80%, 1200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-color);
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info p {
    color: var(--text-color);
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.email a {
    color: var(--text-color);
    text-decoration: none;
}

.email a:hover {
    text-decoration: underline;
}

footer .social-icons {
    display: flex;
    gap: 1.5rem;
}

footer .social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

footer .social-icons a:hover {
    color: var(--accent-color);
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

.copyright {
    margin-top: 10px;
    text-align: center;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright p {
    color: var(--text-color);
}

/* =========================
   Cookie sáv
   ========================= */

#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(6, 26, 64, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#cookie-consent.show {
    transform: translateY(0);
}

#cookie-consent.hide {
    transform: translateY(100%);
}

#cookie-consent p {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
}

#cookie-consent a {
    color: var(--accent-color);
    text-decoration: underline;
    margin: 0 5px;
}

#cookie-consent #accept-analytics,
#cookie-consent #reject-analytics {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    margin-left: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    font-weight: 600;
}

#cookie-consent #accept-analytics:hover,
#cookie-consent #reject-analytics:hover {
    background-color: #8d525a;
}

/* =========================
   Responsive design
   ========================= */

@media (max-width: 768px) {

    /* ---------- Navigáció ---------- */

    .navbar {
        padding: 0 1rem;
    }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
    gap: 1.2rem;
    list-style: none;

    display: none;
}

.nav-menu.active {
    display: flex;
}

    .nav-toggle {
        display: flex;
        width: 40px;
        height: 30px;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        cursor: pointer;
        position: relative;
        align-items: flex-start;
        justify-content: center;
        font-size: 0;
    }

    .nav-toggle::before {
        content: "";
        display: block;
        width: 30px;
        height: 3px;
        background-color: #ffffff;
        border-radius: 2px;
        box-shadow:
            0 9px 0 #ffffff,
            0 18px 0 #ffffff;
    }

    /* ---------- About ---------- */

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-content img {
        margin: 0 auto;
    }

    /* ---------- Contact ---------- */

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* ---------- Social icons ---------- */

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    /* ---------- Music ---------- */

    .spotify-container {
        padding: 8px;
    }

    .spotify-container iframe {
        height: 352px;
    }

    .spacer {
        height: 60px;
    }

    /* ---------- Footer ---------- */

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    /* ---------- Cookie banner ---------- */

  /* ---------- Cookie banner – mobil ---------- */

#cookie-consent {
    flex-direction: column;
    text-align: center;
    padding: 10px 14px;
    gap: 8px;
}

#cookie-consent p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
}

#cookie-consent a {
    margin: 0 2px;
}

#cookie-consent #accept-analytics,
#cookie-consent #reject-analytics {
    margin: 0;
    padding: 7px 10px;
    width: auto;
    flex: 1;
    font-size: 0.75rem;
    line-height: 1.2;
}

#cookie-consent .cookie-buttons {
    display: flex;
    width: 100%;
    gap: 8px;
}
}

/* =========================
   Animációk
   ========================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}