:root {
    --primary-color: #0f172a;
    /* Navy Blue */
    --secondary-color: #d97706;
    /* Amber/Gold */
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--secondary-color);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
    font-size: 1.2rem;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 32px;
    /* Arányos a betűmagassággal */
    width: auto;
    border-radius: 50%;
    /* A karika miatt */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(217, 119, 6, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 30% 20%, rgba(80, 80, 80, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(60, 60, 60, 0.1) 0%, transparent 30%),
        linear-gradient(145deg, #2a2a2a 0%, #333333 20%, #2d2d2d 40%, #383838 60%, #2a2a2a 80%, #333333 100%);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Concrete panel joint lines */
        repeating-linear-gradient(90deg,
            transparent,
            transparent 350px,
            rgba(0, 0, 0, 0.15) 350px,
            rgba(0, 0, 0, 0.15) 352px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 500px,
            rgba(0, 0, 0, 0.12) 500px,
            rgba(0, 0, 0, 0.12) 502px),
        /* Subtle grain */
        repeating-linear-gradient(0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.01) 1px,
            rgba(255, 255, 255, 0.01) 3px);
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(15, 22, 40, 0.3) 0%, transparent 30%, transparent 70%, rgba(15, 22, 40, 0.5) 100%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem 2rem 5rem;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================
   Honeycomb Grid
   ============================ */
.honeycomb-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 900px;
    overflow: visible;
}

.hex-row {
    display: flex;
    gap: 6px;
    margin-bottom: -42px;
}

.hex-row-offset {
    transform: translateX(99px);
    /* shift right by half hex width + half gap */
}

.hex-frame {
    width: 204px;
    height: 229px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(6px 10px 18px rgba(0, 0, 0, 0.75)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease, filter 0.4s ease;
    flex-shrink: 0;
}

.hex-frame:hover {
    transform: scale(1.07) translateY(-4px);
    filter: drop-shadow(8px 16px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.6));
    z-index: 10;
}

.hexagon {
    width: 192px;
    height: 216px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    position: relative;
    transition: filter 0.4s ease;
    filter: none;
}

.hexagon:hover {
    filter: brightness(1.1);
}

.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder hexagons (for images not yet uploaded) */
.hexagon img[src*="hex8"],
.hexagon img[src*="hex9"] {
    background: #2a2a2a;
}

/* ============================
   Responsive Hero
   ============================ */
@media (max-width: 1024px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .hero-text {
        max-width: 700px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hex-frame {
        width: 138px;
        height: 155px;
    }

    .hexagon {
        width: 130px;
        height: 146px;
    }

    .hex-row {
        margin-bottom: -28px;
    }

    .hex-row-offset {
        transform: translateX(68px);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hex-frame {
        width: 85px;
        height: 95px;
    }

    .hexagon {
        width: 80px;
        height: 90px;
    }

    .hex-row {
        margin-bottom: -18px;
        gap: 3px;
    }

    .hex-row-offset {
        transform: translateX(42px);
    }

    .honeycomb-grid {
        max-width: 400px;
    }

    .form-buttons {
        flex-direction: column;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-light);
}

/* Services Section */
.services-section {
    background-color: #f1f5f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    padding: 2rem;
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card-disabled {
    opacity: 0.55;
    border-top-color: #999;
}

.service-card-disabled:hover {
    transform: none;
    box-shadow: var(--card-shadow);
}

.coming-soon {
    font-style: italic;
    color: #999;
    font-size: 1rem;
    margin-top: 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Locations */
.locations-section {
    text-align: center;
}

.locations-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tag {
    background: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Gallery Section */
.gallery-section {
    background: #1a1f2e;
    padding-bottom: 4rem;
    overflow: visible;
    position: relative;
}

.gallery-section .section-header h2 {
    color: var(--white);
}

.gallery-section .section-header p {
    color: #94a3b8;
}

.gallery-section .divider {
    background: var(--secondary-color);
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0;
    margin: 0 4rem;
    /* Hely a gomboknak */
    overflow: visible;
}

.gallery-viewport {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0.5rem;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    overflow: visible;
    cursor: grab;
    user-select: none;
    /* Smooth CSS transform transition */
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.gallery-track.dragging {
    cursor: grabbing;
    transition: none;
}

.gallery-item {
    flex: 0 0 300px;
    height: 220px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 1.5rem 1rem 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.gallery-btn-left {
    left: -4rem;
}

.gallery-btn-right {
    right: -4rem;
}

.gallery-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.12);
}

@media (max-width: 600px) {
    .gallery-item {
        flex: 0 0 240px;
        height: 180px;
    }
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--light-bg);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--secondary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--secondary-color);
    margin-right: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
}

.form-group select[multiple] option {
    padding: 0.5rem 0.8rem;
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
}

.form-group select[multiple] option:checked {
    background: var(--secondary-color);
    color: white;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-submit {
    flex: 1;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-submit i {
    margin-right: 0.5rem;
}

.btn-submit.btn-secondary,
.form-buttons .btn-secondary {
    background-color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-submit.btn-secondary:hover,
.form-buttons .btn-secondary:hover {
    background-color: #1e3a5f !important;
    border-color: #1e3a5f !important;
}

.form-group input[type="file"] {
    padding: 0.7rem;
    background: #f8fafc;
    cursor: pointer;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 1.5rem;
    }
}

/* Quote Section */
.quote-section {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(217, 119, 6, 0.1) 0%, transparent 60%),
        linear-gradient(145deg, #0f1628 0%, #1a2540 50%, #0f1628 100%);
    position: relative;
    padding: 6rem 0;
    color: var(--white);
    text-align: center;
}

.quote-section .overlay {
    background: rgba(15, 23, 42, 0.85);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.quote-section .container {
    position: relative;
    z-index: 2;
}

.quote-section h2 {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p {
    margin-bottom: 0.8rem;
    color: #94a3b8;
}

.footer-col a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #1877F2;
    /* Élénk Facebook kék alapból */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
    opacity: 1;
}

.social-icon:hover {
    opacity: 0.7;
    /* Kifakul az egér ráhúzásakor */
    transform: scale(0.98);
    /* Enyhe visszahúzódás */
    color: #ffffff;
}

.social-icon:active {
    opacity: 0.5;
    /* Még jobban kifakul kattintáskor */
    transform: scale(0.95);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}