:root {
    --primary: #FFD700;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f5f5;
    --call-green: #00c853; 
    --map-blue: #4285F4; 
}

html {
    scroll-behavior: smooth; 
    scroll-padding-top: 84px; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent; 
    padding-top: 84px; 
}

/* Felső sáv - Logó, Telefon és Nyelvválasztó */
.top-bar {
    background-color: var(--dark);
    color: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 4px solid var(--primary);
    transition: top 0.3s ease-in-out; 
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 50px;
    width: auto;
    border-radius: 5px;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-text p {
    font-size: 0.8rem;
    color: #ccc;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-header a {
    color: var(--dark);
    background-color: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.contact-header a:hover {
    transform: scale(1.05);
}

/* Nyelvválasztó */
.lang-switcher {
    display: flex;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 15px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.lang-btn:hover {
    color: var(--light);
}

.lang-btn.active {
    background-color: var(--primary);
    color: var(--dark);
}

/* Hamburger menü ikon */
.mobile-menu-btn {
    display: block; 
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Lenyíló Menü */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
}

.mobile-menu.open {
    max-height: 250px; 
    border-bottom: 2px solid var(--primary);
}

.mobile-menu a {
    color: var(--light);
    text-decoration: none;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    border-top: 1px solid #333;
    display: block;
    transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.05);
}

/* Lebegő Hívás Gomb */
.floating-call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--call-green);
    color: #083d1a;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 200, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

.floating-call-btn:active {
    transform: scale(0.9);
}

/* Hero Szekció */
.hero {
    position: relative;
    background-image: url('img/taxi_patko.jpeg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light);
    padding: 20px;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-large:hover {
    opacity: 0.9;
}

.btn-call {
    background-color: var(--primary);
    color: var(--dark);
}

.btn-review {
    background-color: var(--primary);
    color: var(--dark);
}

/* Szolgáltatások */
.services-section {
    padding: 50px 5%;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--dark);
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-bottom: 4px solid var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-icon.primary {
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Vélemények szekció */
.reviews-section {
    padding: 50px 5%;
    background-color: var(--gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: relative;
}

.review-card i.fa-quote-left {
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
}

.stars {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
}

.reviewer-name {
    font-weight: bold;
    color: var(--dark);
}

.review-source {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.review-action {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 40px 20px 100px 20px;
}

footer h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

.footer-info a:hover {
    text-decoration: underline;
}

.legal-links {
    margin-top: 20px;
}

.legal-link {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
    display: inline-block;
    transition: color 0.2s;
}

.legal-link:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Kifejezetten Mobil nézet optimalizáció */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .top-bar {
        padding: 10px 5%;
        flex-wrap: nowrap; 
    }
    .logo-container {
        gap: 8px; 
    }
    .logo-container img {
        height: 35px; 
    }
    .logo-text h1 {
        font-size: 1.1rem; 
    }
    .logo-text p {
        font-size: 0.7rem;
    }
    .right-controls {
        gap: 12px; 
    }
    .lang-switcher {
        padding: 3px;
    }
    .lang-btn {
        font-size: 0.9rem; 
        padding: 4px 8px;
    }
    .contact-header {
        display: none; 
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .btn-large {
        width: 100%;
        justify-content: center;
        font-size: 1.2rem;
    }
}
