/**
 * Eco Journey Studio – Jaskó Sára utazástervező weboldal - Main Stylesheet
 * Színpaletta (természet, víz, homok):
 *   - Primer zöld: #209c77
 *   - Akcentus türkiz: #73e1c7
 *   - Mélyebb zöldesszürke: #708882
 *   - Világos mentazöld / bézs: #aabfbb
 * Betűtípusok:
 *   - Wire One (logó / nagy címsorok)
 *   - Playfair Display (kiemelt címek)
 *   - Lora, Poppins, Montserrat (törzsszöveg és UI)
 */

/* ============================================
   CSS RESET ÉS ALAPÉRTELMEZÉSEK
   ============================================ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Színek – természetes, utazós hangulat */
    --primary-color: #209c77;
    --secondary-color: #73e1c7;
    --accent-color: #ffffff;
    --dark-blue: #486a79;        /* kékes-szürke akcentus */
    --light-purple: #aabfbb;     /* itt inkább világos mentazöld/bézs */
    --text-dark: #234047;
    --text-light: #57757c;
    --bg-light: #e4f6ef;         /* világos mentazöld háttér */
    --bg-beige: #f5f1e7;         /* nagyon világos bézses blokk háttér */
    --border-color: #d0e3de;
    
    /* Tipográfia – könnyed, utazós stílus */
    --font-heading: 'Playfair Display', 'Montserrat', serif;
    --font-display: 'Wire One', 'Garet', 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Lora', 'Poppins', 'Montserrat', 'Segoe UI', 'Helvetica Neue', sans-serif;
    
    /* Hero Font Sizes - Fluid Typography */
    --hero-title-size: clamp(1.75rem, 4vw + 1rem, 3.5rem);
    --hero-subtitle-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
    
    /* Méretek */
    --container-width: 1200px;
    --container-padding: 20px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Átmenetek */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Fix anchor links - figyelembe veszi a fixed header magasságát */
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--accent-color);
    max-width: 100%;
    position: relative;
}

/* ============================================
   TIPOGRÁFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: 4px;
}

h1 {
    font-size: 3rem; /* 48px */
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem; /* 40px */
}

h3 {
    font-size: 2rem; /* 32px */
}

h4 {
    font-size: 1.5rem; /* 24px */
}

h5 {
    font-size: 1.25rem; /* 20px */
}

h6 {
    font-size: 1rem; /* 16px */
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    /* margin-bottom: 3rem; */
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-accent {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

/* ============================================
   GOMBOK
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-base);
    line-height: 1.5;
}

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

.btn-primary:hover {
    background-color: #1e2754;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: #9a8b82;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

.pricing-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pricing-extras ul {
    list-style: none;
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
}

.pricing-extras li + li {
    margin-top: 0.35rem;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-form {
    max-width: 720px;
    margin: 2rem auto 0 auto;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.newsletter-form .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-dark);
}

.newsletter-form .form-group input[type="text"],
.newsletter-form .form-group input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.15rem;
}

.form-message {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    font-size: 0.95rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.8);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dark-blue);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
    max-width: var(--container-width);
    margin: 0 auto;
}

.nav-logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    margin-right: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-cart {
    position: relative;
    margin-left: 1rem;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    overflow: visible;
}

.cart-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
}


.cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    z-index: 1001;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.cart-dropdown-items {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.cart-dropdown-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-dropdown-item:last-child {
    border-bottom: none;
}

.cart-dropdown-footer {
    padding: 1rem;
    border-top: 2px solid var(--primary-color);
    background: var(--bg-beige);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-cart-icon {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f3f1 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 55, 116, 0.05) 0%, rgba(171, 162, 151, 0.05) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 100vh;
    padding-top: 80px;
    max-width: 100%;
    overflow: hidden;
}

.hero-content {
    max-width: 100%;
    padding-right: 2.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: var(--hero-title-size);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: font-size 0.3s ease;
}

.hero-subtitle {
    font-size: var(--hero-subtitle-size);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 100%;
    transition: font-size 0.3s ease;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
    height: auto;
    max-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    width: auto;
    height: auto;
    max-height: calc(100vh - 160px);
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

/* Split hero - újratervezett álló képhez */
.hero-split .hero-container {
    grid-template-columns: 45% 55%;
    gap: 2.5rem;
    align-items: center;
    height: 100vh;
    max-width: 100%;
    overflow: hidden;
}

.hero-split .hero-image {
    order: 2;
    height: auto;
    max-height: calc(100vh - 160px);
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-split .hero-image img {
    width: auto;
    height: auto;
    max-height: calc(100vh - 160px);
    max-width: 85%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    box-shadow: -30px 0 80px rgba(74, 20, 140, 0.15);
    transition: var(--transition-slow);
}

.hero-split .hero-image img:hover {
    transform: scale(1.02);
    box-shadow: -40px 0 100px rgba(74, 20, 140, 0.2);
}

.hero-split .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2.5rem;
}

/* Fullwidth cover hero */
.hero-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Éles háttérkép, nincs blur */
}

.hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(74,20,140,0.75) 0%, rgba(74,20,140,0.35) 60%, rgba(26,35,126,0) 100%);
    z-index: 0;
}

.hero-cover .hero-container {
    grid-template-columns: 1fr;
    padding-top: 120px;
}

.hero-cover-container {
    position: relative;
    z-index: 1;
}

.hero-cover .hero-content {
    color: #fff;
}

.hero-cover .hero-title {
    color: #fff;
}

.hero-cover .hero-subtitle {
    color: rgba(255,255,255,0.85);
}

.btn-ghost {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.9);
}

.btn-ghost:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Decorative dots */
.decorative-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--secondary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: -1;
}

.dots-top-right {
    top: 100px;
    right: -50px;
}

.dots-bottom-left {
    bottom: 100px;
    left: -50px;
}

/* ============================================
   STATISTICS
   ============================================ */

.statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* margin-top: 4rem; */
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(46, 55, 116, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 8px;
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-container {
    margin-top: 3rem;
}

.pricing-section {
    margin-bottom: 4rem;
}

.pricing-section:last-child {
    margin-bottom: 0;
}

.pricing-group-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

/* Váltógombok stílusa (kártyán kívül - régi) */
.pricing-toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.938rem;
}

.toggle-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(32, 156, 119, 0.3);
}

/* Váltógombok stílusa (kártyán belül - új) */
.pricing-toggle-buttons-inline {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    flex-shrink: 0;
    min-height: 50px;
}

/* Ha nincs váltógomb, akkor is foglaljuk a helyet */
.pricing-header-section:not(:has(.pricing-toggle-buttons-inline)) {
    min-height: 100px;
}

.toggle-btn-inline {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    flex: 1;
    min-width: 120px;
}

.toggle-btn-inline:hover {
    background: var(--bg-light);
    transform: translateY(-1px);
}

.toggle-btn-inline.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(32, 156, 119, 0.25);
}

.pricing-card.popular .toggle-btn-inline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.pricing-card.popular .toggle-btn-inline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pricing-card.popular .toggle-btn-inline.active {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Váltógombos kártyák finomhangolása */
.pricing-card-toggle .pricing-title {
    margin-bottom: 0.75rem;
}

.pricing-card-toggle .pricing-toggle-buttons-inline {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-grid-triple {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-grid-five {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-grid-single {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-grid-double {
    grid-template-columns: repeat(2, 1fr);
}

.pricing-card-wrapper {
    display: flex;
    flex-direction: column;
}

.pricing-card-wrapper-toggle {
    position: relative;
}

.pricing-group-title-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

/* Váltógombos kártyák elrendezése */
.pricing-card-toggle {
    position: relative;
}

.pricing-card-toggle.hidden {
    display: none;
}

.pricing-card-toggle.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@media (max-width: 1024px) {
    .pricing-grid-triple {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid-five {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-triple {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid-five {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid-double {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
    position: relative;
}

.pricing-card.popular {
    background-color: #307f6c;
    color: var(--accent-color);
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
}

.pricing-card.popular::before {
    content: 'NÉPSZERŰ';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Pricing header section - cím és váltógomb együtt */
.pricing-header-section {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #52a390;
    flex-shrink: 0;
    line-height: 1.3;
}

.pricing-card.popular .pricing-title {
    color: var(--accent-color);
}

/* Ha nincs váltógomb, a cím után üres helyet hagyunk */
.pricing-header-section .pricing-title:only-child {
    margin-bottom: auto;
}

/* Váltógomb nélküli header section - üres hely a váltógomb helyén */
.pricing-header-section:not(:has(.pricing-toggle-buttons-inline)) {
    min-height: 100px;
}

/* Fallback böngészőknek, amelyek nem támogatják a :has() selectort */
.pricing-header-section .pricing-toggle-buttons-inline {
    margin-top: auto;
    min-height: 50px;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-card.popular .pricing-price {
    color: var(--accent-color);
}

.pricing-duration {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.pricing-card.popular .pricing-duration {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    min-height: 500px;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 10px;
}

.pricing-card.popular .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.popular .pricing-features li::before {
    color: var(--accent-color);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    position: relative; /* Ensure sticky context */
}

.about-image {
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 120px; /* Fixed header height + extra space */
    align-self: flex-start;
    z-index: 10;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    display: block; /* Remove any inline spacing */
}

.about-image img:hover {
    transform: translateY(-4px);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-role {
    font-size: 1.125rem;
    color: #3c685d;
    margin-bottom: 2rem;
    font-style: italic;
}

.about-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-quote {
    background-color: var(--bg-beige);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.about-signature {
    margin-top: 1.5rem;
    font-family: 'Brush Script MT', cursive;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(46, 55, 116, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--text-dark);
    font-weight: 500;
}

/* Időpontfoglalás pulzáló link */
.contact-value.appointment-link {
    color: #7E57C2;
    font-weight: 700;
    text-decoration: underline;
    animation: pulse-appointment 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse-appointment {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}


#contact-page-header {
    padding-bottom: 50px;
}

/* Specifikus szabály CSAK a kapcsolat oldal header gombjához */
#contact-page-appointment-btn {
    margin-top: 20px;
    animation: pulse-contact-btn 2s ease-in-out infinite;
}

@keyframes pulse-contact-btn {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Form Styling */
.contact-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--accent-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Custom Checkbox Styling */
.form-checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--accent-color);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkbox-checkmark {
    border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

.checkbox-container .checkbox-checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.checkbox-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.checkbox-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.form-message {
    margin-top: 1rem;
    padding: 12px;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-category {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--secondary-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more:hover {
    gap: 0.75rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    min-height: 50px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    min-height: 50px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-nav ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-developer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-developer-link:hover {
    color: #b0a2ca;
    text-decoration: underline;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(171, 162, 151, 0.5);
}

.footer-developer-link:active {
    transform: translateY(0);
}

/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: white;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: #d3c6e9;
}

.testimonial-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid var(--secondary-color);
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

.testimonial-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition-base);
}

.dot.active,
.dot:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonials-slider {
        padding: 0 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Kis laptopok és nagy tabletek */
@media (max-width: 1440px) {
    :root {
        --hero-title-size: clamp(1.75rem, 3.5vw + 0.8rem, 3.2rem);
        --hero-subtitle-size: clamp(1rem, 1.3vw + 0.4rem, 1.15rem);
    }
    
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .hero-container {
        grid-template-columns: 46% 54%;
        gap: 1.8rem;
        padding-top: 90px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-split .hero-container {
        grid-template-columns: 46% 54%;
        gap: 1.8rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 2rem;
    }
    
    .hero-split .hero-content {
        padding-right: 1.5rem;
    }
    
    .hero-split .hero-image {
        max-height: calc(100vh - 140px);
        margin-right: 0;
    }
    
    .hero-split .hero-image img {
        max-height: calc(100vh - 140px);
        max-width: 95%;
    }
}

@media (max-width: 1366px) {
    :root {
        --hero-title-size: clamp(1.7rem, 3.2vw + 0.7rem, 3rem);
        --hero-subtitle-size: clamp(0.95rem, 1.2vw + 0.4rem, 1.1rem);
    }
    
    .container {
        max-width: 100%;
        padding: 0 25px;
    }
    
    .hero-container {
        grid-template-columns: 47% 53%;
        gap: 1.5rem;
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .hero-split .hero-container {
        grid-template-columns: 47% 53%;
        gap: 1.5rem;
    }
    
    .hero-content {
        padding-right: 1.5rem;
    }
    
    .hero-split .hero-content {
        padding-right: 1.2rem;
    }
}

/* 1280px szélesség - általános laptop méret */
@media (max-width: 1280px) {
    :root {
        --hero-title-size: clamp(1.65rem, 3vw + 0.65rem, 2.8rem);
        --hero-subtitle-size: clamp(0.93rem, 1.15vw + 0.38rem, 1.08rem);
    }
    
    .hero-container {
        grid-template-columns: 47.5% 52.5%;
        gap: 1.4rem;
    }
    
    .hero-split .hero-container {
        grid-template-columns: 47.5% 52.5%;
        gap: 1.4rem;
    }
    
    .hero-split .hero-content {
        padding-right: 1rem;
    }
}

/* Nagyon kis laptopok */
@media (max-width: 1200px) {
    :root {
        --hero-title-size: clamp(1.6rem, 3vw + 0.6rem, 2.6rem);
        --hero-subtitle-size: clamp(0.9rem, 1.1vw + 0.35rem, 1.05rem);
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-split .hero-container {
        grid-template-columns: 48% 52%;
        gap: 1.2rem;
    }
    
    .hero-split .hero-content {
        padding-right: 0.8rem;
    }
    
    .hero-split .hero-image {
        max-height: calc(100vh - 120px);
        margin-right: 0;
    }
    
    .hero-split .hero-image img {
        max-height: calc(100vh - 120px);
        max-width: 95%;
    }
    
    .hero-cta {
        gap: 0.7rem;
        flex-wrap: wrap;
    }
}

/* Extra kis laptopok (pl. 1024px szélesség) */
@media (max-width: 1100px) {
    :root {
        --hero-title-size: clamp(1.5rem, 2.8vw + 0.5rem, 2.3rem);
        --hero-subtitle-size: clamp(0.88rem, 1vw + 0.3rem, 1rem);
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero-split .hero-container {
        grid-template-columns: 50% 50%;
        gap: 1rem;
    }
    
    .hero-split .hero-image {
        margin-right: 0;
    }
    
    .hero-split .hero-image img {
        max-width: 100%;
    }
    
    .hero-cta {
        gap: 0.6rem;
    }
}

/* iPad és hasonló tabletek - 1024px */
@media (max-width: 1024px) {
    :root {
        --hero-title-size: clamp(1.48rem, 2.7vw + 0.48rem, 2.2rem);
        --hero-subtitle-size: clamp(0.87rem, 0.98vw + 0.3rem, 0.98rem);
    }
    
    .hero-split .hero-container {
        gap: 0.9rem;
    }
    
    .hero-cta {
        gap: 0.55rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 15px;
        --hero-title-size: clamp(1.8rem, 4vw + 0.5rem, 2.5rem);
        --hero-subtitle-size: clamp(1rem, 1.5vw + 0.4rem, 1.15rem);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-image {
        height: auto;
        max-height: none;
        margin-right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-image img {
        width: auto;
        height: auto;
        max-height: 55vh;
        max-width: 90%;
        object-fit: contain;
        border-radius: 20px;
    }
    
    /* Hero split responsive */
    .hero-split .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-split .hero-content {
        order: 1;
        padding-right: 0;
        text-align: center;
    }
    
    .hero-split .hero-image {
        order: 2;
        height: auto;
        max-height: none;
        margin-right: 0;
    }
    
    .hero-split .hero-image img {
        width: auto;
        height: auto;
        max-height: 55vh;
        max-width: 90%;
        object-fit: contain;
        border-radius: 20px;
        box-shadow: var(--box-shadow-hover);
    }
    
    .hero-split .hero-cta {
        justify-content: center;
    }
    
    /* Hero cover responsive */
    .hero-cover .hero-container {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-cover::after {
        background: linear-gradient(90deg, rgba(21,17,16,0.8) 0%, rgba(21,17,16,0.5) 100%);
    }
    
    .statistics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Disable sticky on mobile */
    .about-image {
        position: relative;
        top: auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
        --container-padding: 15px;
        --hero-title-size: clamp(1.5rem, 5vw + 0.5rem, 2rem);
        --hero-subtitle-size: clamp(0.95rem, 2vw + 0.3rem, 1.08rem);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .mobile-header-actions {
        display: flex;
    }
    
    .mobile-cart-icon {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop cart in nav-menu on mobile */
    .nav-cart {
        display: none;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--accent-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--box-shadow);
        display: none;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-container {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-image {
        height: auto;
        max-height: calc(100vh - 450px);
        margin-right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-image img {
        width: auto;
        height: auto;
        max-height: calc(100vh - 450px);
        max-width: 100%;
        object-fit: contain;
        border-radius: 20px;
    }
    
    /* Hero split mobile responsive - szöveg először, kép utána */
    .hero-split .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .hero-split .hero-content {
        order: 1;
        text-align: center;
        padding-right: 0;
        padding-top: 20px;
    }
    
    .hero-split .hero-image {
        order: 2;
        height: auto;
        max-height: none;
        margin-right: 0;
        justify-content: center;
    }
    
    .hero-split .hero-image img {
        width: auto;
        height: auto;
        max-height: 50vh;
        max-width: 90%;
        object-fit: contain;
        border-radius: 20px;
        box-shadow: var(--box-shadow);
    }
    
    .hero-split .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-split .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Hero cover mobile responsive */
    .hero-cover {
        min-height: 90vh;
        background-position: center center;
    }
    
    .hero-cover::after {
        background: linear-gradient(180deg, rgba(21,17,16,0.5) 0%, rgba(21,17,16,0.85) 70%);
    }
    
    .hero-cover .hero-container {
        padding-top: 120px;
        padding-bottom: 50px;
        text-align: center;
    }
    
    .hero-cover .hero-content {
        max-width: 100%;
    }
    
    .hero-cover .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-cover .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .statistics {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    .section-title {
        display: flex;
        flex-direction: column;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --hero-title-size: clamp(1.35rem, 5.5vw + 0.4rem, 1.65rem);
        --hero-subtitle-size: clamp(0.88rem, 2.2vw + 0.25rem, 0.98rem);
    }
    
    h1 { font-size: 1.5rem; }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-container {
        height: auto;
        min-height: 100vh;
        padding-top: 70px;
        padding-bottom: 25px;
    }
    
    .hero-split .hero-container {
        height: auto;
        min-height: 100vh;
        gap: 1.2rem;
        padding-top: 70px;
        padding-bottom: 25px;
    }
    
    .hero-split .hero-image {
        height: auto;
        max-height: none;
    }
    
    .hero-split .hero-image img {
        width: auto;
        height: auto;
        max-height: 42vh;
        max-width: 85%;
        object-fit: contain;
        border-radius: 16px;
    }
    
    .hero-split .hero-cta {
        gap: 0.7rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Extra Small Mobile - nagyon kis képernyők */
@media (max-width: 360px) {
    :root {
        --hero-title-size: clamp(1.25rem, 6vw + 0.3rem, 1.5rem);
        --hero-subtitle-size: clamp(0.85rem, 2.5vw + 0.2rem, 0.92rem);
    }
    
    h1 { font-size: 1.3rem; }
    
    .btn {
        padding: 9px 18px;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .hero-container {
        padding-top: 65px;
        padding-bottom: 20px;
    }
    
    .hero-split .hero-container {
        gap: 1rem;
        padding-top: 65px;
        padding-bottom: 20px;
    }
    
    .hero-split .hero-image img {
        max-height: 38vh;
        max-width: 85%;
    }
    
    .hero-split .hero-cta .btn {
        max-width: 100%;
    }
    
    .hero-split .hero-cta {
        gap: 0.6rem;
    }
}

/* ============================================
   ORIENTATION & DEVICE SPECIFIC
   ============================================ */

/* Landscape mobil eszközökön - fix 100vh kell mert landscape-ben kevés hely van */
@media (max-width: 768px) and (orientation: landscape) {
    :root {
        --hero-title-size: clamp(1.3rem, 4vw + 0.4rem, 1.6rem);
        --hero-subtitle-size: clamp(0.82rem, 1.8vw + 0.25rem, 0.92rem);
    }
    
    .hero,
    .hero-split {
        height: 100vh;
    }
    
    .hero-container,
    .hero-split .hero-container {
        height: 100vh;
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 10px;
        gap: 0.8rem;
    }
    
    .hero-split .hero-image {
        height: auto;
        max-height: none;
    }
    
    .hero-split .hero-image img {
        width: auto;
        height: auto;
        max-height: 55vh;
        max-width: 90%;
        border-radius: 16px;
    }
    
    .hero-split .hero-content {
        padding-bottom: 0;
    }
    
    .hero-split .hero-cta .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .hero-split .hero-cta {
        gap: 0.5rem;
    }
}

/* Portrait mobil - adaptív magasság */
@media (max-width: 768px) and (orientation: portrait) {
    .hero-split .hero-image {
        height: auto;
        max-height: none;
    }
    
    .hero-split .hero-image img {
        width: auto;
        height: auto;
        max-height: 50vh;
        max-width: 90%;
    }
}

/* Nagyon kis képernyők portrait módban */
@media (max-width: 480px) and (orientation: portrait) {
    .hero-split .hero-image {
        max-height: none;
    }
    
    .hero-split .hero-image img {
        max-height: 45vh;
        max-width: 85%;
    }
}

/* ============================================
   HEIGHT-BASED MEDIA QUERIES (Képernyő magasság alapú)
   Fontos a kis magasságú laptopokhoz (pl. 1366x768)
   ============================================ */

/* Közepes magasság - 800px alatt */
@media (max-height: 800px) {
    :root {
        --hero-title-size: clamp(1.6rem, 3.5vw + 0.7rem, 3rem);
        --hero-subtitle-size: clamp(0.92rem, 1.3vw + 0.4rem, 1.1rem);
    }
    
    .hero-container {
        padding-top: 70px;
    }
    
    .hero-split .hero-container {
        padding-top: 70px;
        gap: 1.8rem;
    }
    
    .hero-title {
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
    
    .hero-image img,
    .hero-split .hero-image img {
        max-height: calc(100vh - 180px);
    }
}

/* Kis magasság - 760px alatt (1366x768 laptopok!) */
@media (max-height: 760px) {
    :root {
        --hero-title-size: clamp(1.5rem, 3.2vw + 0.6rem, 2.7rem);
        --hero-subtitle-size: clamp(0.88rem, 1.2vw + 0.35rem, 1.05rem);
    }
    
    .hero-container {
        padding-top: 65px;
        padding-bottom: 20px;
    }
    
    .hero-split .hero-container {
        padding-top: 65px;
        padding-bottom: 20px;
        gap: 1.5rem;
    }
    
    .hero-content {
        padding-right: 1.5rem;
    }
    
    .hero-split .hero-content {
        padding-right: 1.5rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        gap: 0.7rem;
    }
    
    .hero-image,
    .hero-split .hero-image {
        max-height: calc(100vh - 160px);
    }
    
    .hero-image img,
    .hero-split .hero-image img {
        max-height: calc(100vh - 160px);
    }
    
    .btn-large {
        padding: 14px 28px;
    }
}

/* Nagyon kis magasság - 700px alatt */
@media (max-height: 700px) {
    :root {
        --hero-title-size: clamp(1.4rem, 3vw + 0.5rem, 2.4rem);
        --hero-subtitle-size: clamp(0.85rem, 1.1vw + 0.3rem, 1rem);
    }
    
    .hero-container {
        padding-top: 60px;
        padding-bottom: 15px;
    }
    
    .hero-split .hero-container {
        padding-top: 60px;
        padding-bottom: 15px;
        gap: 1.2rem;
    }
    
    .hero-content {
        padding-right: 1.2rem;
    }
    
    .hero-split .hero-content {
        padding-right: 1.2rem;
    }
    
    .hero-title {
        margin-bottom: 0.8rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
        line-height: 1.55;
    }
    
    .hero-cta {
        gap: 0.6rem;
    }
    
    .hero-image,
    .hero-split .hero-image {
        max-height: calc(100vh - 140px);
    }
    
    .hero-image img,
    .hero-split .hero-image img {
        max-height: calc(100vh - 140px);
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Kritikus kis magasság - 650px alatt */
@media (max-height: 650px) {
    :root {
        --hero-title-size: clamp(1.3rem, 2.8vw + 0.4rem, 2.1rem);
        --hero-subtitle-size: clamp(0.82rem, 1vw + 0.28rem, 0.95rem);
    }
    
    .hero-container {
        padding-top: 55px;
        padding-bottom: 10px;
        min-height: auto;
        height: 100vh;
    }
    
    .hero-split .hero-container {
        padding-top: 55px;
        padding-bottom: 10px;
        gap: 1rem;
        min-height: auto;
        height: 100vh;
    }
    
    .hero-content {
        padding-right: 1rem;
    }
    
    .hero-split .hero-content {
        padding-right: 1rem;
    }
    
    .hero-title {
        margin-bottom: 0.7rem;
        line-height: 1.12;
    }
    
    .hero-subtitle {
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }
    
    .hero-cta {
        gap: 0.5rem;
    }
    
    .hero-image,
    .hero-split .hero-image {
        max-height: calc(100vh - 130px);
    }
    
    .hero-image img,
    .hero-split .hero-image img {
        max-height: calc(100vh - 130px);
    }
    
    .btn-large {
        padding: 11px 22px;
        font-size: 0.9rem;
    }
}

/* Extra kritikus magasság - 600px alatt */
@media (max-height: 600px) {
    :root {
        --hero-title-size: clamp(1.2rem, 2.5vw + 0.35rem, 1.9rem);
        --hero-subtitle-size: clamp(0.8rem, 0.95vw + 0.25rem, 0.9rem);
    }
    
    .hero-container {
        padding-top: 50px;
        padding-bottom: 8px;
        height: 100vh;
        min-height: auto;
    }
    
    .hero-split .hero-container {
        padding-top: 50px;
        padding-bottom: 8px;
        gap: 0.8rem;
        height: 100vh;
        min-height: auto;
    }
    
    .hero-title {
        margin-bottom: 0.6rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        margin-bottom: 0.7rem;
        line-height: 1.45;
    }
    
    .hero-cta {
        gap: 0.4rem;
    }
    
    .hero-image,
    .hero-split .hero-image {
        max-height: calc(100vh - 120px);
    }
    
    .hero-image img,
    .hero-split .hero-image img {
        max-height: calc(100vh - 120px);
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.88rem;
    }
}

/* ============================================
   ANIMÁCIÓK
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   MODERN EXTRA SERVICES SECTION
   ============================================ */

.section-extras-modern {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(135deg, 
        #e4f6ef 0%, 
        #ffffff 50%,
        #f5f1e7 100%);
    overflow: hidden;
}

.section-extras-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(32, 156, 119, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(115, 225, 199, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid Layout */
.extras-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Card Design */
.extra-card-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(32, 156, 119, 0.15);
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.extra-card-modern:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 50px rgba(32, 156, 119, 0.2),
        0 0 0 1px rgba(32, 156, 119, 0.1) inset;
}

/* Card Background */
.extra-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(228, 246, 239, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.extra-card-modern:hover .extra-card-bg {
    opacity: 1;
}

/* Icon Wrapper */
.extra-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extra-icon-glow {
    position: absolute;
    inset: -10px;
    background: conic-gradient(
        from 0deg,
        var(--primary-color) 0deg,
        var(--secondary-color) 120deg,
        var(--primary-color) 240deg,
        var(--secondary-color) 360deg
    );
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    animation: rotate-glow 8s linear infinite;
}

.extra-card-modern:hover .extra-icon-glow {
    opacity: 0.6;
}

.extra-icon-modern {
    position: relative;
    font-size: 3rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.extra-card-modern:hover .extra-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

/* Content */
.extra-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.extra-title-modern {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
    min-height: 70px;
}

.extra-card-modern:hover .extra-title-modern {
    color: var(--text-dark);
}

.extra-description-modern {
    font-size: 0.938rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Price Tag */
.extra-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(32, 156, 119, 0.1);
    border: 1px solid rgba(32, 156, 119, 0.2);
    border-radius: 100px;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.extra-card-modern:hover .extra-price-tag {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.price-icon {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.extra-card-modern:hover .price-icon {
    transform: scale(1.2);
}

.price-text {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.extra-card-modern:hover .price-text {
    color: white;
}

/* Hover Overlay */
.extra-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(32, 156, 119, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.extra-card-modern:hover .extra-card-overlay {
    opacity: 1;
}

/* Empty State */
.empty-state-modern {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px dashed rgba(32, 156, 119, 0.2);
    border-radius: 20px;
    margin-top: 60px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.empty-subtitle {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.6;
}

.admin-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.admin-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .extras-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section-extras-modern {
        padding: 80px 20px;
    }
    
    .extras-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .extra-card-modern {
        padding: 28px 20px;
    }
    
    .extra-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .extra-icon-modern {
        font-size: 2.5rem;
    }
    
    .extra-title-modern {
        font-size: 1.125rem;
    }
    
    .empty-state-modern {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .section-extras-modern {
        padding: 60px 16px;
    }
    
    .extra-card-modern {
        padding: 24px 16px;
    }
    
    .extra-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .extra-icon-modern {
        font-size: 2rem;
    }
    
    .extra-title-modern {
        font-size: 1rem;
    }
    
    .extra-description-modern {
        font-size: 0.875rem;
    }
    
    .extra-price-tag {
        padding: 8px 14px;
    }
    
    .price-text {
        font-size: 0.875rem;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    .extra-card-modern,
    .extra-icon-glow,
    .extra-icon-modern,
    .extra-card-bg,
    .extra-card-overlay {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utolsó extra szolgáltatás kártya különleges elrendezése - ELTÁVOLÍTVA */
/* Az extra-card-last osztályt eltávolítottuk, mert rosszul helyezkedett el a grid-ben */

.pricing-badge {
    display: none;
}

#services_subtitle_home {
    margin-bottom: 40px;
}