/**
 * Doszpot Péter - Pszichológiai Weboldal - Main Stylesheet
 * Színpaletta: #2e3774 (kék-lila), #aba297 (bézs-szürke), #ffffff (fehér)
 * Betűtípusok: Anton (címek), Bebas Neue (kiemelések), Inter (szöveg)
 */

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

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

:root {
    /* Színek */
    --primary-color: #2e3774;
    --secondary-color: #aba297;
    --accent-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-beige: #f5f3f1;
    --border-color: #e0e0e0;

    /* Tipográfia */
    --font-heading: 'Anton', 'Bebas Neue', Impact, Arial, sans-serif;
    --font-display: 'Bebas Neue', 'Anton', Impact, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* 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;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--accent-color);
    overflow-x: hidden;
}

/* ============================================
   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: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    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;
}

/* ============================================
   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-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: 50px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.nav-logo a:hover img {
    transform: scale(1.1);
}

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

.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);
}

/* CTA gomb a navigációban */
.nav-cta-item {
    margin-left: auto;
}

.nav-cta-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    color: var(--accent-color);
}

.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 {
    min-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: 0;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
    padding-right: 3rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.hero-image {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -20px;
}

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

/* Fullwidth cover hero */
.hero-cover {
    background-size: cover;
    background-position: center;
}

.hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21, 17, 16, 0.75) 0%, rgba(21, 17, 16, 0.35) 60%, rgba(21, 17, 16, 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(4, 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;
}

.services-grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 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: 80px;
    height: 80px;
    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-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.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: var(--secondary-color);
    color: var(--accent-color);
    transform: scale(1.05);
}

.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-title {
    font-family: var(--font-display) !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    letter-spacing: 3px;
    min-height: 63px;
}

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

.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: 190px;
}

.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-section-with-background {
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 200px;
}

@media (max-width: 1300px) {
    .about-section-with-background {
        padding-bottom: 250px;
    }
}

@media (max-width: 992px) {
    .about-section-with-background {
        padding-bottom: 300px;
    }
}

@media (max-width: 768px) {
    .about-section-with-background {
        padding-bottom: 200px;
    }
}

@media (max-width: 480px) {
    .about-section-with-background {
        padding-bottom: 150px;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    padding-bottom: 30px;
}

.about-image {
    position: sticky;
    top: 120px;
    align-self: start;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
    border-radius: var(--border-radius);
    /* box-shadow: var(--box-shadow); */
}

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

.about-role {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.about-description h4 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

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

.about-description blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.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;
}

/* 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;
}

/* Privacy Checkbox */
.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    margin-top: 0.5rem;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.privacy-checkbox label {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-light);
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}

.privacy-checkbox label a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition-fast);
}

.privacy-checkbox label a:hover {
    color: var(--text-dark);
}

/* Checkbox error state */
.privacy-checkbox input[type="checkbox"].error {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

.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);
    background-image: url('../images/footer/homok 2560 x 1440 v1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--accent-color);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

#footer-container {
    padding-bottom: 200px;
}

@media (max-width: 1300px) {
    #footer-container {
        padding-bottom: 350px;
    }
}

@media (max-width: 992px) {
    #footer-container {
        padding-bottom: 450px;
    }
}

@media (max-width: 768px) {
    #footer-container {
        padding-bottom: 500px;
    }
}

.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 h4 a,
.footer-contact h4 a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.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-address {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.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-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast, all 0.3s ease);
}

.footer-bottom a:hover {
    color: var(--accent-color, #f5f5dc);
}

/* ============================================
   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
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-image {
        height: 60vh;
        margin-right: 0;
    }

    .hero-image img {
        height: 60vh;
        border-radius: 20px;
    }

    /* 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;
    }

    .services-grid-2-col {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 100px;
    }

    .about-image {
        position: relative;
        top: auto;
    }
    
    .about-image img {
        max-width: 100%;
        margin: 0 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;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
        --container-padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .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);
    }

    /* Mobilnézetben a CTA gomb a menü végén, teljes szélességben */
    .nav-cta-item {
        margin-left: 0;
        margin-top: 0.5rem;
        border-bottom: none;
        padding-top: 1rem;
    }

    .nav-cta-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 0;
    }

    .hero-container {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-image {
        height: 50vh;
        margin-right: 0;
    }

    .hero-image img {
        height: 50vh;
        width: 100%;
        border-radius: 20px;
    }

    /* 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;
    }

    .services-grid-2-col {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .pricing-card {
        padding: 2rem 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .btn-large {
        padding: 14px 28px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   JOGI OLDALAK (ÁSZF, ADATKEZELÉSI TÁJÉKOZTATÓ)
   ============================================ */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 1rem;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul, 
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legal-content th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.legal-content td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content tr:hover {
    background-color: var(--bg-light);
}

.info-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.contact-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e2754 100%);
    color: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.contact-box h3 {
    color: white;
    margin-top: 0;
}

.contact-box a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-box a:hover {
    text-decoration: underline;
}

.contact-box table {
    border: none;
    box-shadow: none;
    margin: 1rem 0;
}

.contact-box tr {
    background: transparent !important;
}

.contact-box td {
    border: none;
    padding: 0.5rem 0;
}

.contact-box td:first-child {
    padding-right: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.contact-box td:last-child {
    color: white;
}

.toc {
    background: var(--bg-beige);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.toc h2 {
    margin-top: 0;
    font-size: 1.5rem;
    border: none;
    padding: 0;
}

.toc ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

.toc li {
    counter-increment: item;
    margin-bottom: 0.5rem;
}

.toc li:before {
    content: counters(item, ".") ". ";
    font-weight: 600;
    color: var(--primary-color);
}

.toc a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: var(--primary-color);
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.legal-footer-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.legal-footer-links .btn {
    margin: 0 0.5rem;
}

.legal-version-info {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
}

/* ============================================
   ÁSZF SPECIFIKUS STÍLUSOK (inline CSS kiemelve)
   ============================================ */

/* Page Header */
.aszf-page-header {
    padding-top: 120px;
    background-color: var(--bg-beige);
    padding-bottom: 2rem;
}

.aszf-page-header .section-title {
    font-size: 2.5rem;
}

/* Contact box táblázatok */
.contact-box table {
    border: none !important;
    box-shadow: none !important;
    margin: 1rem 0 !important;
}

.contact-box tr {
    background: transparent !important;
}

.contact-box td {
    border: none !important;
    padding: 0.5rem 0 !important;
}

.contact-box td:first-child {
    padding: 0.5rem 1rem 0.5rem 0 !important;
    font-weight: 600;
    color: var(--secondary-color);
}

.contact-box td:last-child {
    padding: 0.5rem 0 !important;
    color: white;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-box .contact-box-description {
    margin-top: 1.5rem;
    color: white;
}

/* Footer linkek tartalék */
.footer-bottom a.footer-legal-link {
    color: rgba(255,255,255,0.7);
    margin-right: 1rem;
}

.footer-bottom a.footer-legal-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom a.footer-legal-link:last-child {
    margin-left: 1rem;
    margin-right: 0;
}

.footer-bottom a.footer-legal-link:first-child {
    margin-left: 1rem;
}

/* ÁSZF specifikus footer linkek */
.aszf-footer-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.aszf-footer-links .btn {
    margin-right: 1rem;
}

.aszf-closing-text {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
}

/* Blog elrejtése - ügyfél kérésére */
/* Blog link elrejtése a navigációból */
.nav-menu li a[href="blog"],
.nav-menu li a[href*="blog"] {
    display: none !important;
}

/* Blog link szülő li elem elrejtése is */
.nav-menu li:has(a[href="blog"]),
.nav-menu li:has(a[href*="blog"]) {
    display: none !important;
}

/* Blog szekció elrejtése a főoldalon - a blog-grid-et tartalmazó szekció */
section:has(.blog-grid) {
    display: none !important;
}

/* Blog szekció elrejtése - a blog-card-okat tartalmazó szekció */
section:has(.blog-card) {
    display: none !important;
}

/* Blog oldal elrejtése - ha a blog link aktív a navigációban */
body:has(header .nav-menu li a[href="blog"].active) {
    display: none !important;
}