/* CSS Variables */
:root {
    --navy: #153249;
    --yellow: #F5B204;
    --white: #FFFFFF;
    --blue: #00A0E1;
    /* Cyan-ish Blue */
    --cyan: #00A0E1;
    --dark-grey: #153249;
    --light-grey: #f4f4f4;

    --gradient-navy: linear-gradient(180deg, #153249 0%, #081622 100%);
    --font-heading: 'Ford Antenna', sans-serif;
    --font-body: 'Ford Antenna', sans-serif;
}

/* Font Faces */
@font-face {
    font-family: 'Ford Antenna';
    src: url('assets/fonts/ford-antenna-xlight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Ford Antenna';
    src: url('assets/fonts/ford-antenna-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Ford Antenna';
    src: url('assets/fonts/ford-antenna-semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Ford Antenna';
    src: url('assets/fonts/ford-antenna-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Main Cover Section - Radial Gradient Header with Candle Light Effect */
#main-cover {
    background-color: #153249;
    background-image: none;
    padding: 0.5rem 2rem 0;
    /* Minimizált felső távolság */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 100px;
    /* További csökkentés a fölösleges kék terület miatt */
    position: relative;
    overflow: visible;
    z-index: 10;
}

@media (max-width: 600px) {
    #main-cover {
        min-height: 90px;
        /* Visszaállítva kicsit magasabbra a jobb egyensúlyért */
        padding: 0.5rem 1rem 0;
    }

    .header-center img {
        max-width: 110% !important;
        /* Kicsit "túlnyúlik", hogy mobilon nagy maradjon */
        width: 110% !important;
        margin-left: -5% !important;
        /* Középre igazítás a szélesítés után */
        transform: translateY(12%) !important;
        /* Kevesebb belógás, hogy ne legyen túl lent */
    }
}

.header-center {
    text-align: center;
    position: relative;
    z-index: 10;
}

.header-center img {
    max-width: 1040px;
    /* Megnövelt méret (eredeti 960px volt) */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: translateY(15%);
    /* Kicsit mélyebb belógás a nagyobb méret miatt */
    position: relative;
    z-index: 10;
}

/* White spacer between header and nav - mascot feet overlap here */
.header-spacer {
    background: #ffffff;
    height: 60px;
    position: relative;
    z-index: 1;
}

/* Word Cloud Animation Container */
#word-cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Behind content but above background */
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
    /* Slightly more visible than before */
    animation: floatShape 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Shape Definitions */
.shape-square {
    /* Default is a square due to width/height */
}

.shape-circle {
    border-radius: 50%;
}

.shape-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    /* Triangle needs background color to be visible, handled in JS */
}

.shape-bar {
    /* Handled by width/height in JS, but could add border-radius */
    border-radius: 2px;
}


@keyframes floatShape {
    0% {
        transform: translateY(110%) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-20%) rotate(360deg);
        /* Drift up and rotate */
        opacity: 0;
    }
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    position: relative;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--yellow);
    color: var(--navy);
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #e0a200;
    transform: translateY(-2px);
}

/* Utilities */
.text-center {
    text-align: center;
}

/* .section-title defined in About section block below */

/* Tagline Bar - Compact */
.tagline-bar {
    background-color: var(--white);
    padding: 20px 0;
    /* Reduced */
    text-align: center;
    border-bottom: 1px solid #eee;
}

.tagline-bar h2 {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--navy);
    margin-bottom: 5px;
}

.tagline-bar p {
    font-size: clamp(0.85rem, 3vw, 1.2rem);
    color: var(--cyan);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.secondary-tagline {
    font-size: 1rem !important;
    /* Reduced */
    color: var(--navy) !important;
    font-weight: 500 !important;
    text-shadow: none;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

/* Navbar (Sticky Bar) */
#sticky-nav {
    background-color: var(--navy);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid var(--yellow);
    width: 100%;
}

/* Nav Container (Center Content) */
#sticky-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section - overrides handled by main #main-cover block above */

/* Hero Content Layout */
.cover-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    /* Wider for hero */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    /* Above background animation */
}

.cover-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Left Column: Bullet Points */
.cover-services {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cover-services li {
    font-family: 'Ford Antenna', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    /* Extra bold */
    color: var(--white);
    text-transform: uppercase;
    font-style: italic;
    /* Speed look */
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 2px 2px 0 var(--navy);
}

.bullet-icon {
    width: 20px;
    height: auto;
}

/* Center Column: Mascot & Logo */
.center-col {
    flex: 1.5;
    /* Larger center */
    position: relative;
}

.mascot-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.mascot-img:hover {
    transform: scale(1.02) rotate(-1deg);
}

/* Right Column: Empty for balance or future use */
.right-col {
    flex: 1;
    /* Kept empty but flex ensures center column stays centered */
}

/* Responsive Hero */
@media (max-width: 992px) {
    .cover-container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .cover-services li {
        font-size: 1.4rem;
        justify-content: center;
    }
}



/* --- Navigation Bar --- */
#navbar {
    background: #153249;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

#navbar a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

#navbar a:hover {
    color: var(--yellow);
}

.nav-icon {
    width: 16px;
    height: 16px;
}

/* Admin button in nav */
.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #ffa500;
    border-radius: 4px;
    color: #ffa500;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: #ffa500;
    color: #153249;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #153249;
        flex-direction: column;
        padding: 1rem 0;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #navbar a {
        font-size: 0.8rem;
    }

    .nav-icon {
        width: 13px;
        height: 13px;
    }

    .header-center img {
        transform: translateY(25%);
    }

    .header-spacer {
        height: 50px;
    }
}

/* Legacy service-footer removed */

.nav-logo-small {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--yellow);
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ========================================
   CTA SECTION - ISMERŐS A HELYZET?
   ======================================== */
.cta-section {
    background: #153249;
    padding: 4rem 0;
    border-top: 4px solid #ffa500;
    border-bottom: 4px solid #ffa500;
}

.cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

/* Thinking figure */
.cta-figure {
    flex-shrink: 0;
    z-index: 10;
}

.cta-figure img {
    width: 220px;
    height: auto;
    display: block;
}

/* Content */
.cta-content {
    flex: 1;
}

/* Question text above banner */
.cta-question {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Navy title banner */
.cta-title-banner {
    background: #153249;
    padding: 1rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.cta-title-banner h2 {
    color: #ffa500;
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1px;
}

/* Body text */
.cta-body p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cta-closing {
    font-size: 1.1rem !important;
    color: #ffa500 !important;
}

/* CTA Mobile */
@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        align-items: center;
    }

    .cta-figure img {
        width: 150px;
    }

    .cta-title-banner h2 {
        font-size: 1.4rem;
    }
}

/* ========================================
   ABOUT / BEMUTATKOZÁS SECTION
   ======================================== */
.about-section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

/* Section title with orange underline */
.section-title {
    text-align: center;
    font-size: clamp(1.4rem, 6vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: normal;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        padding: 0 1rem;
        width: 100%;
    }
}

/* Hide ::after underline when .title-underline span is present */
.section-title:has(.title-underline)::after {
    display: none;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--yellow);
    margin: 15px auto 0;
}

.title-underline {
    display: block;
    width: 80px;
    height: 4px;
    background: #ffa500;
    margin: 1rem auto 0;
}

/* Two-column layout */
.about-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Photo - circular */
.about-photo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

/* Text content */
.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #153249;
}

.about-text p {
    margin-bottom: 1.2rem;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.5rem 0 1rem;
    text-transform: none;
}

.about-text h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text strong {
    font-weight: 700;
    color: var(--navy);
}

/* Quote box - light gray background, orange left border */
.quote-box {
    background: rgba(0, 0, 0, 0.06);
    border-left: 4px solid #ffa500;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.quote-box p {
    margin: 0;
    color: var(--navy);
    font-weight: 500;
}

/* Principles list - with arrow icons */
.principles-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.principles-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #153249;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive - mobile */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-photo img {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .about-text {
        text-align: center;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .principles-list {
        text-align: left;
        align-items: flex-start;
        padding-left: 1rem;
    }

    .principles-list li {
        justify-content: flex-start;
        text-align: left;
    }

    .quote-box {
        padding: 1.2rem 1.5rem;
    }
}

/* ========================================
   SERVICES / SZOLGÁLTATÁSAINK SECTION
   ======================================== */
#services {
    padding: 4rem 0;
    background: var(--white);
}

#services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Service Summary Rows (icon + title + bullets) --- */
.services-summary {
    max-width: 600px;
    width: fit-content;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.service-info h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-arrow {
    color: var(--yellow);
    font-weight: 900;
    font-size: 1.4rem;
    margin-right: 0.2rem;
}

.service-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-info ul li {
    font-size: 0.95rem;
    color: #153249;
    line-height: 1.6;
}

/* --- Service Detail Boxes --- */
.service-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-box {
    background: #153249;
    color: #ffffff;
    border-left: 6px solid #ffa500;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-bottom: 0;
}

.service-detail-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: #ffa500;
    text-underline-offset: 4px;
}

.service-quote {
    font-style: italic;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-detail-box p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.service-detail-box p:last-child {
    margin-bottom: 0;
}

/* --- Services Mobile --- */
@media (max-width: 768px) {
    .services-summary {
        max-width: 100%;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .service-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .service-info {
        flex: 1;
        min-width: 0;
    }

    .service-info h3 {
        font-size: 1rem;
    }

    .service-info ul li {
        font-size: 0.9rem;
    }

    .service-detail-box {
        padding: 1.5rem;
    }
}

/* Portfolio/References Section */
#portfolio {
    padding: 4rem 0;
    background: var(--white);
}

#portfolio .section-title {
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.filter-btn.active {
    background: var(--navy);
    color: var(--yellow);
    border-color: var(--navy);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 25px;
    margin-top: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item.hide {
    display: none;
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Let clicks pass through unless on specific buttons */
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.share-buttons {
    display: flex;
    gap: 8px;
    pointer-events: auto;
    /* Enable clicks on share buttons */
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.share-btn img {
    width: 20px;
    /* Smaller icon */
    height: 20px;
    transition: transform 0.2s;
    display: block;
}

.portfolio-content-box {
    padding: 20px;
    background: var(--white);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--yellow);
    /* Visual separation */
}

.portfolio-content-box h4 {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-desc-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    /* Limit lines */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Portfolio Filtering - Hide class */
.portfolio-item.hide {
    display: none !important;
}

.portfolio-item {
    transition: opacity 0.3s ease;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    margin: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10000;
}

.close-lightbox:hover {
    color: var(--yellow);
}

#caption {
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
}

.lightbox-description {
    color: var(--white);
    text-align: center;
    padding: 0 20px 15px;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    opacity: 0.9;
    /* Allow scrolling if text is very long */
    max-height: 20vh;
    overflow-y: auto;
    font-weight: 300;
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--yellow);
    color: var(--navy);
    border-color: var(--yellow);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        padding: 10px 14px;
        font-size: 1.4rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .close-lightbox {
        top: 10px;
        right: 15px;
        font-size: 36px;
    }
}

/* Lightbox Info Area */
.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.lightbox-counter {
    color: var(--yellow);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Copy Description Button */
.copy-description-btn {
    background: var(--yellow);
    color: var(--navy);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.copy-description-btn:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* Copy Notification Toast */
.copy-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--green);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    opacity: 0;
    transition: all 0.4s ease;
}

.copy-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}


/* ========================================
   CONTACT / KAPCSOLAT SECTION
   ======================================== */
#contact {
    padding: 4rem 0;
    background-color: #ffffff;
    color: var(--navy);
    text-align: center;
}

#contact .section-title {
    color: #153249;
}

/* Contact Wrapper */
.contact-wrapper {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}

/* Wide Navy Rectangle (contact info) */
.contact-box {
    background: #1a3a52;
    color: #ffffff;
    padding: 2rem 2.5rem 2.5rem;
    border-radius: 16px;
    flex: 1;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Brand row at top of card: verdadekor.svg + "VERDADEKOR" */
.contact-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-brand-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.contact-brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: uppercase;
}

.brand-yellow {
    color: var(--yellow);
}

/* Wrapper for vertical icon alignment */
.contact-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    width: fit-content;
}

/* Contact Item Row */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-size: 1rem;
}

.contact-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.contact-item a,
.contact-item span {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--yellow);
}

/* Social Icons – kerek navy kör gombok (mint a designban) */
.contact-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.social-circle img {
    width: 64px;
    height: 64px;
}

.social-circle:hover {
    transform: scale(1.1);
}

/* Mobile for Contact */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
        margin: 0 auto 2rem;
    }

    .contact-box {
        padding: 1.75rem 1.5rem 2rem;
        border-radius: 14px;
    }

    .contact-brand-name {
        font-size: 1.25rem;
    }

    .contact-item {
        justify-content: flex-start;
        text-align: left;
        font-size: 1rem;
    }

    .contact-social {
        gap: 2rem;
        margin-top: 1.25rem;
    }

    .social-circle {
        /* No fixed width/height inherited */
    }

    .social-circle img {
        width: 52px;
        height: 52px;
    }
}




/* ========================================
   MODAL STYLES
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--yellow);
}

.modal-content h2 {
    color: var(--navy);
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.modal-subtitle {
    color: var(--cyan);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--navy);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--cyan);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.2s;
}

.submit-btn:hover {
    background: var(--cyan);
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   SHARE BUTTONS ON PORTFOLIO
   ======================================== */
.share-buttons {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
}

.share-btn:hover {
    background: var(--yellow);
    transform: scale(1.1);
}

.share-btn img {
    width: 20px;
    height: 20px;
}

/* ========================================
   ADMIN LINK IN FOOTER
   ======================================== */
/* Fix: This seems to be inside a media query or just indented. Auto-fix closing brace */

/* Legacy nav-admin-btn removed - admin button no longer in nav */

.admin-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 15px;
    transition: color 0.2s;
}

.admin-link:hover {
    color: var(--yellow);
}

/* ========================================
   FOOTER ADATKEZELÉSI LINK
   ======================================== */
#adatkezeles-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

#adatkezeles-link:hover {
    color: var(--yellow);
}

/* ========================================
   ADATKEZELÉSI TÁJÉKOZTATÓ MODAL
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #153249;
}

.modal-close:hover {
    color: var(--yellow);
}

.modal-box h2 {
    color: #153249;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.modal-box h3 {
    color: #ffa500;
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem;
}

.modal-box p {
    color: #153249;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .modal-box {
        padding: 2rem;
        max-height: 90vh;
    }
}

/* 2. Animation Utilities (Fixes "Not Working" sections) */
.hidden-element {
    opacity: 1;
    /* FORCED VISIBILITY - Fix user issue */
    transform: none;
    transition: none;
}

.visible-element {
    opacity: 1;
    transform: none !important;
}

.left-slide {
    transform: none;
}

.right-slide {
    transform: none;
}

/* 3. About Section - Legacy overrides removed, using new .about-photo/.about-text styles above */

/* 4. Legacy Pain Point Section removed - replaced by .cta-section above */

/* Legacy contact business card CSS removed - using simplified .contact-simple above */

/* ========================================
   REFERENCE GROUPS GRID
   ======================================== */
.ref-groups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .ref-groups-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ref-group-card {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--navy);
}

/* Ken Burns animáció */
@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0%, 0%);
    }

    25% {
        transform: scale(1.08) translate(-2%, -1%);
    }

    50% {
        transform: scale(1.05) translate(2%, 1%);
    }

    75% {
        transform: scale(1.1) translate(-1%, 2%);
    }

    100% {
        transform: scale(1) translate(0%, 0%);
    }
}

.ref-group-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: kenBurns 8s ease-in-out infinite;
    transition: opacity 0.4s ease;
    will-change: transform;
}

/* Hover/tap esetén megáll a Ken Burns és képet vált */
.ref-group-card:hover img,
.ref-group-card.touched img {
    animation-play-state: paused;
}

.ref-group-card.hidden {
    display: none;
}

.ref-group-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(21, 50, 73, 0.85);
    color: #F5B204;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    padding: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   LIGHTBOX FACEBOOK SHARE
   ======================================== */
.fb-share-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    transition: transform 0.2s ease;
    align-self: center;
}

.fb-share-btn:hover {
    transform: scale(1.15);
}

.fb-icon {
    width: 44px;
    height: 44px;
    display: block;
}

/* Ensure lightbox info is column layout */
.lightbox-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ========================================
   CONTACT LINK HOVER
   ======================================== */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover,
.contact-link:hover span {
    color: var(--yellow) !important;
    text-decoration: underline;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #153249;
    border-top: 3px solid #F5B204;
    z-index: 9998;
    padding: 1rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner-content p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-content a {
    color: #F5B204;
    text-decoration: underline;
}

.cookie-accept-btn {
    background: #F5B204;
    color: #153249;
    border: none;
    padding: 0.6rem 1.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.cookie-accept-btn:hover {
    background: #e0a200;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-banner-content p {
        font-size: 0.85rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #153249;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* ========================================
   FOOTER HELPER STYLES
   ======================================== */
.footer-separator {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.footer-privacy-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-privacy-link:hover {
    color: var(--yellow);
}

/* ========================================
   BACK TO TOP BUTTON (a footer részén belül dokkolva)
   ======================================== */
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background 0.2s ease, transform 0.2s ease;
    /* nincs position:fixed, nincs z-index – staticként él a footer layoutban */
}

.back-to-top:hover {
    background: var(--yellow);
    transform: translateY(-3px);
}

.back-to-top:hover img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(1500%) hue-rotate(175deg) brightness(92%);
}