/* Alapbeállítások és betűtípusok */
:root {
    --primary-color: #0f3460;      /* Mély mediterrán tengerkék */
    --secondary-color: #16537e;    /* Világosabb kék */
    --accent-color: #d97706;       /* Meleg naplemente narancs/arany */
    --accent-hover: #b45309;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --radius: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fejléc (Header) */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

header .brand-badge {
    display: inline-block;
    background: #f1bf00;           /* Spanyol sárga háttér */
    color: #0f3460;               /* Sötét betűszín */
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
    /* Piros-sárga-piros spanyol zászló keret */
    border: 3px solid #aa151b;    
    box-shadow: inset 0 0 0 2px #aa151b; 
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header h2 {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Gombok */
.btn, .btn1, .btn2 {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1rem;
    text-align: center;
}

/* 1. Kiemelt gomb (Spanyol sárga alap, piros keret) */
.btn1 {
    background-color: #f1bf00;      
    color: #0f3460;                 
    border: 2px solid #aa151b;      
    box-shadow: 0 4px 12px rgba(170, 21, 27, 0.25);
}

/* 2. Fejléc régió gombok */
.btn2 {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 5px;
}

/* 3. Normál kék gombok */
.btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid transparent;
}

/* Egérrel rendelkező eszközökön (asztali gép) lebegtetős hover effekt */
@media (hover: hover) {
    .btn1:hover, .btn2:hover, .btn:hover {
        background-color: #aa151b;      
        color: var(--white);            
        border: 2px solid #f1bf00;      
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(241, 191, 0, 0.35);
    }
}

/* Érintőképernyős eszközökön (mobil/tablet) az érintés pillanatában villan fel, és nem ragad be */
.btn1:active, .btn2:active, .btn:active {
    background-color: #aa151b;      
    color: var(--white);            
    border: 2px solid #f1bf00;      
    transform: scale(0.98);
}

/* Hero Szekció */
.hero {
    background-color: var(--bg-light);
    text-align: center;
    padding: 60px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.hero .container {
    text-align: center;
}

.hero h1 {
    font-size: 2.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero p {
    max-width: 750px;
    margin: 0 auto 25px auto;
    font-size: 1.15rem;
    color: var(--text-dark);
}

/* Általános Szekciók */
section {
    padding: 65px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Kártya Rács (Grid) az előnyökhöz */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Fix 2x2-es rács a folyamat lépéseinek (FHD-ra optimalizálva) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
    transition: transform 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-item h2 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Árazás Szekció */
.pricing-section {
    background-color: var(--bg-light);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary-color);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-top-color: var(--accent-color);
}

.price-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 15px 0;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    flex-grow: 1;
}

.price-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    white-space: nowrap;
}

.price-card ul li::before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: bold;
}

/* CTA / Kapcsolat Szekció */
.cta-box {
    text-align: center;
    background: var(--white);
    padding: 40px 20px;
    margin-top: 40px;
}

.cta-buttons {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Lábléc (Footer) */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 35px 20px;
    font-size: 0.95rem;
}

footer a {
    color: var(--white);
    text-decoration: underline;
}

/* Modális Ablakok */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.modal-content {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 22px;
    color: var(--text-muted);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-content label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-content input, .modal-content textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.modal-content button[type="submit"] {
    margin-top: 20px;
    width: 100%;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.modal-content button[type="submit"]:hover {
    background: var(--accent-hover);
}

/* Reszponzivitás mobilon */
@media (max-width: 768px) {
    header h1 { font-size: 1.9rem; }
    .hero h1 { font-size: 1.6rem; }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .price-card ul li {
        white-space: normal;
    }
}