@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    background-color: #f8f8f8;
    color: #333;
}

/* Topbar */
.topbar {
    background-color: #A31C20;
    color: white;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Header */
header {
    background-color: #FDAA10 !important;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 10%;
    align-items: center;
}
header .logo img {
    height: 40px;
}
nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #A31C20;
}
.hero, .contact-hero {
    height: 70vh;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    color: white;
    overflow: hidden;
}

.hero::before, .contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-text, .contact-hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.7);
    animation: fadeIn 1.5s ease-out;
}

.hero-text h1, .contact-hero-text h1 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-text p, .contact-hero-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}


/* Gombok */
.button, .button-secondary {
    display: inline-block;
    padding: 12px 24px;
    margin-right: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.button {
    background-color: #A31C20 !important;
}
.button:hover {
    background-color: #A31C20;
    transform: translateY(-3px);
}
.button-secondary {
    background-color: #FDAA10 !important;
}
.button-secondary:hover {
    background-color: #A31C20;
    transform: translateY(-3px);
}

/* Szolgáltatás kártyák */
.services {
    display: flex;
    justify-content: space-around;
    padding: 40px 10%;
    background: white;
}
.card {
    background: white;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.card h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #A31C20 !important;
}
.card p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Vélemények */
.testimonials {
    text-align: center;
    padding: 40px 10%;
    background: #f0f0f0;
    color: #A31C20 !important;
}
.testimonials h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.review {
    margin: 15px 0;
    font-style: italic;
    font-size: 16px;
}

/* Galéria */
.gallery {
    display: flex;
    gap: 10px;
    padding: 20px 10%;
    background: white;
}
.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 5%;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Mobilon egymás alá rendezés */
@media (max-width: 768px) {
    .info-grid {
        flex-direction: column;
    }
}

.info-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.info-item i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #f7c948;
}

.info-item strong {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}


.info-item span {
    display: block;
    font-size: 14px;
}


/* Footer */
footer {
    background-color: #001a33;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Animáció */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-links a {
    color: white;
    margin-left: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
}
.social-links a:hover {
    transform: scale(1.2);
}
.services {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px 10%;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.card h3 {
    color: #FDAA10;
    margin: 15px 0 10px;
    font-size: 18px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #A31C20 !important;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.read-more:hover {
    background-color: #A31C20;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}
.slides img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


.testimonials h2 {
    font-size: 32px;
    color: #A31C20;
    margin-bottom: 5px;
}

.testimonials .subtitle {
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #f7c948;
}

.stars {
    color: #f7c948;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}


blockquote {
    font-size: 14px;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.author {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 3px;
}

.author-subtitle {
    font-size: 12px;
    color: #888;
}
.gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #f8f8f8;
    padding: 30px 0;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: calc(100% / 4);
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 5px;
}

/* Mobil nézet – 2 kép egyszerre */
@media (max-width: 768px) {
    .carousel img {
        width: calc(100% / 2);
        height: 150px;
    }
}


.gallery-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

button.prev { left: 10px; }
button.next { right: 10px; }


/* Mobilra 2 kép egyszerre */
@media (max-width: 768px) {
    .carousel img {
        width: calc((100% - 10px) / 2);
        height: 150px;
    }
}
.contact-hero {
    position: relative;
    width: 100%;
    height: 450px;
    background: url('img/contact-image.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Sötétítő réteg */
    z-index: 1;
}

.contact-hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); /* Hogy mindig jól olvasható legyen */
    animation: fadeIn 1.5s ease-out;
}

.contact-hero-text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-hero-text h2 span {
    color: #A31C20 !important; /* kiemelés */
}

.contact-hero-text h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #cde6ff;
}

.contact-hero-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Gombok */
.contact-buttons a {
    display: inline-block;
    padding: 12px 24px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
}

.contact-buttons .button {
    background-color: #ff6600;
    color: white;
}

.contact-buttons .button:hover {
    background-color: #cc5500;
    transform: translateY(-3px);
}

.contact-buttons .button-secondary {
    background-color: #f7c948;
    color: white;
}

.contact-buttons .button-secondary:hover {
    background-color: #f7c948;
    transform: translateY(-3px);
}

/* Reszponzív nézet (mobilbarát) */
@media (max-width: 768px) {
    .contact-hero {
        height: auto;
        padding: 40px 5%;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-hero-text {
        max-width: 100%;
    }

    .contact-hero-text h2 {
        font-size: 28px;
    }

    .contact-buttons a {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Animáció */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aktív (görgetés közben beúszik) */
section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gomb animáció */
.button, .button-secondary {
    display: inline-block;
    padding: 12px 24px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button {
    background-color: #A31C20;
    color: white;
}

.button:hover {
    background-color: #A31C20;
    transform: translateY(-3px);
}

.button-secondary {
    background-color: #A31C20;
    color: white;
}

.button-secondary:hover {
    background-color: #A31C20;
    transform: translateY(-3px);
}

/* Menü linkek animáció */
nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #ffcc00;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

nav a:hover {
    color: #ff0000;
}

/* Adjunk relatív pozíciót a header-nek */
.main-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7c948;
    padding: 15px 10%;
    /* Egyéb stílusok maradnak */
}

/* Alapból egy sorban tartjuk */
.only-mobile-break br {
    display: none;
}

/* Mobilnézet: engedjük a törést */
@media (max-width: 768px) {
    .only-mobile-break br {
        display: inline;
    }

    .main-header .logo h1 {
        font-size: 22px; /* opcionális: kisebb betűméret mobilon */
        line-height: 1.3;
    }
}


.main-header .logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 15px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    line-height: 1; /* Ez fontos! */
    display: inline-block; /* vagy flex, ha kell */
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 12px 18px; /* Kicsit megnövelt padding a jobb olvashatóságért */
    font-size: 18px; /* Betűméret növelése */
    font-weight: bold;
}


.main-nav a:hover {
    background-color: #A31C20;
    color: #ffcc00;
}

/* Menüelem, ami almenüt tartalmaz */
.menu-item {
    position: relative;
}

/* Almenü - alapállapotban rejtve */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: max-content;
    min-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 5px 5px;
    list-style: none;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* Almenü linkek */
.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 12px 18px; /* Kicsit megnövelt padding a jobb olvashatóságért */
    font-size: 18px; /* Betűméret növelése */
    font-weight: bold; /* Félkövér szöveg */
    color: #003366;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.submenu a:hover {
    background-color: #A31C20;
    color: white;
}

/* Hoverre lenyílás */
.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%); /* sötétítés */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-out;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Gombok */
.hero-text a {
    display: inline-block;
    padding: 12px 24px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button {
    background-color: #ff6600;
    color: white;
}

.button:hover {
    background-color: #cc5500;
    transform: translateY(-3px);
}

.button-secondary {
    background-color: #A31C20;
    color: white;
}

.button-secondary:hover {
    background-color: #A31C20;
    transform: translateY(-3px);
}


.page-header {
    background-color: #A31C20;
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-container {
    padding: 50px 10%;
    background-color: #f8f8f8;
    animation: fadeIn 1s ease-out;
}

.pricing-block {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
}

.pricing-block h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #A31C20;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table tr {
    border-bottom: 1px solid #ddd;
}

.pricing-table td {
    padding: 12px 10px;
    font-size: 16px;
    color: #444;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: bold;
    color: #A31C20;
}

.sub-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* Animációk */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Alapértelmezett stílus a célzott elemre (opcionális) */
:target {
    animation: popout 1s ease;
}

/* Popout animáció */
@keyframes popout {
    0% {
        transform: scale(1);
        box-shadow: none;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: none;
    }
}

.contact-form-section {
    padding: 60px 10%;
    background: #f8f8f8;
}

.contact-form-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #A31C20;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form button {
    align-self: center;
    padding: 12px 30px;
    background-color: #A31C20;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #A31C20;
}

@media (max-width: 768px) {
    .hero-text {
        left: 50%;
        transform: translate(-25%, -25%);
        text-align: center;
    }
}


/* Mobil optimalizálás */
@media (max-width: 768px) {
    .hero-slider {
        height: 65vh; /* Nem lesz túl magas */
    }

    .hero-text {
        max-width: 90%;
        top: 55%;
    }

    .hero-text h1 {
        font-size: 24px; /* Kisebb mobilon */
    }

    .hero-text p {
        font-size: 14px; /* Kevésbé domináns */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
}



.feher-link {
    color: white;
    text-decoration: underline; /* vagy none, ha nem kell aláhúzás */
}

.feher-link:hover {
    color: #ccc; /* halványabb fehér árnyalat hoverre, opcionális */
}

