/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #D62828;
    --dark-red: #a01e1e;
    --black: #000000;
    --dark-gray: #2b2d42;
    --light-gray: #8d99ae;
    --white: #FFFFFF;
    --off-white: #f8f9fa;
    --light-red: #f8d7da;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
}

.btn-hero {
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-hero:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
}

.btn-gallery {
    background-color: var(--white);
    color: var(--black);
}

.btn-gallery:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Header styles */
.header {
    background-color: var(--black);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-red);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero section */
.hero {
    position: relative;
    height: 80vh;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Page Hero for internal pages */
.page-hero {
    position: relative;
    height: 50vh;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Introduction section */
.intro {
    background-color: var(--off-white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Gallery preview section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 300px;
}

.gallery-preview-item:hover {
    transform: translateY(-10px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-preview-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-preview-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Testimonials section */
.testimonials {
    background-color: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--primary-red);
}

/* Gallery Navigation */
.gallery-nav {
    background-color: var(--off-white);
    padding: 40px 0;
}

.gallery-nav-content {
    text-align: center;
}

.gallery-nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.gallery-nav-link {
    background-color: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid var(--primary-red);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-nav-link:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

/* Gallery Sections */
.gallery-section {
    padding: 80px 0;
}

.gallery-section:nth-child(even) {
    background-color: var(--off-white);
}

.gallery-section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.gallery-section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Full gallery grid */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item-full {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 250px;
}

.gallery-item-full:hover {
    transform: translateY(-5px);
}

.gallery-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-full:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-content {
    color: var(--white);
}

.gallery-item-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-item-desc {
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1003;
}

.lightbox-img {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    padding: 10px 0;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.lightbox-prev, .lightbox-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Biography section */
.biography {
    background-color: var(--off-white);
}

.biography-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.biography-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.biography-text strong {
    color: var(--primary-red);
}

.quote-block {
    background-color: var(--white);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.bio-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mission section */
.mission {
    background-color: var(--white);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Contact info section */
.contact-info {
    background-color: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item-title {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.contact-item-text {
    margin-bottom: 5px;
}

.map-placeholder {
    background-color: var(--light-gray);
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: var(--dark-gray);
}

/* Contact form section */
.contact-form-section {
    background-color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.form-success {
    display: none;
    background-color: var(--light-red);
    color: var(--dark-red);
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
}

.error-message {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
    border-color: var(--primary-red);
}

.form-group.error .error-message {
    display: block;
}

/* Footer styles */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.footer-text {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Responsive design */
@media (max-width: 992px) {
    .gallery-grid,
    .testimonials-grid,
    .footer-content,
    .biography-content,
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title, .page-hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--black);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title, .page-hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid,
    .testimonials-grid,
    .footer-content,
    .biography-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title, .page-hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle, .page-hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .lightbox-content {
        width: 95%;
    }
}/* Add these to your existing styles.css */

/* Base mobile improvements */
@media (max-width: 768px) {
  /* Improve header for mobile */
  .header-content {
    padding: 10px 0;
  }
  
  .logo-img {
    height: 40px; /* Smaller logo on mobile */
  }
  
  /* Mobile menu improvements */
  .nav-list {
    top: 70px;
    height: calc(100vh - 70px);
    padding-top: 30px;
  }
  
  .nav-item {
    margin: 12px 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
  }
  
  /* Hero section mobile optimization */
  .hero, .page-hero {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-title, .page-hero-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle, .page-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .btn-hero {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  /* Section spacing for mobile */
  section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    margin-bottom: 2rem;
  }
  
  /* Gallery improvements for mobile */
  .gallery-grid, 
  .testimonials-grid, 
  .footer-content, 
  .biography-content, 
  .contact-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .gallery-preview-item {
    height: 250px;
  }
  
  /* Biography section mobile layout */
  .biography-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .biography-image {
    order: -1; /* Put image first on mobile */
  }
  
  .bio-img {
    max-height: 400px;
    object-fit: cover;
  }
  
  /* Contact section mobile improvements */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-map iframe {
    height: 300px;
    width: 100%;
  }
  
  /* Form improvements for mobile */
  .form-input, .form-textarea {
    padding: 14px; /* Larger touch targets */
    font-size: 16px; /* Prevents iOS zoom */
  }
  
  .btn-submit {
    padding: 16px;
  }
  
  /* Footer mobile adjustments */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .social-links {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  
  /* Lightbox mobile improvements */
  .lightbox-content {
    width: 95%;
    padding: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }
  
  .lightbox-prev, .lightbox-next {
    padding: 8px 12px;
  }
  
  /* Gallery navigation for mobile */
  .gallery-nav-links {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-nav-link {
    width: 80%;
    text-align: center;
  }
  
  /* Testimonial cards mobile */
  .testimonial-card {
    padding: 20px;
  }
}

/* Additional small mobile optimizations */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title, .page-hero-title {
    font-size: 1.7rem;
  }
  
  .hero-subtitle, .page-hero-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .gallery-preview-item {
    height: 200px;
  }
  
  .contact-map iframe {
    height: 250px;
  }
}

/* Improve touch targets for all interactive elements */
.btn, 
.nav-link, 
.gallery-nav-link, 
.social-link,
.form-input,
.form-textarea {
  min-height: 44px; /* Minimum touch target size */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Prevent horizontal scrolling */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Improve text readability on mobile */
body {
  font-size: 16px; /* Base font size for mobile */
  line-height: 1.6;
}

/* Optimize images for mobile */
img {
  max-width: 100%;
  height: auto;
}
.mobile-menu-toggle {
  padding: 10px; /* Larger touch area */
}/* Contact page specific mobile improvements */
@media (max-width: 768px) {
    .contact-details {
        order: 2; /* Elérhetőségek lent */
    }
    
    .contact-map {
        order: 1; /* Térkép felül */
        margin-bottom: 30px;
    }
    
    .contact-content {
        display: flex;
        flex-direction: column;
    }
    
    .training-times {
        background: var(--off-white);
        padding: 20px;
        border-radius: 8px;
        border-left: 4px solid var(--primary-red);
        margin-top: 20px;
    }
    
    .training-times .contact-item-title {
        color: var(--primary-red);
        margin-bottom: 15px;
    }
}

/* Extra small mobile fixes */
@media (max-width: 480px) {
    .contact-item {
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .contact-item:last-child {
        border-bottom: none;
    }
    
    .contact-map iframe {
        height: 250px;
    }
}

/* Training times highlight */
.training-times {
    background: var(--off-white);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.training-times .contact-item-title {
    color: var(--primary-red);
}
/* ===== CONTACT PAGE MOBILE FIXES ===== */

/* Contact section complete mobile overhaul */
@media (max-width: 768px) {
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-map {
        order: 1;
        width: 100%;
    }
    
    .contact-map iframe {
        width: 100% !important;
        height: 300px !important;
        border-radius: 8px;
    }
    
    .contact-details {
        order: 2;
        width: 100%;
    }
    
    .contact-item {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .contact-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .contact-item-title {
        font-size: 1.2rem;
        color: var(--primary-red);
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .contact-item-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 5px;
    }
    
    /* Training times special styling */
    .training-times {
        background: linear-gradient(135deg, var(--off-white) 0%, #f5f5f5 100%);
        padding: 20px;
        border-radius: 10px;
        border-left: 5px solid var(--primary-red);
        margin-top: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }
    
    .training-times .contact-item-title {
        text-align: center;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .training-times .contact-item-text {
        font-weight: 500;
        text-align: center;
        font-size: 1.1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .contact-map iframe {
        height: 250px !important;
    }
    
    .contact-item {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .training-times {
        padding: 15px;
        margin-top: 5px;
    }
    
    .training-times .contact-item-title {
        font-size: 1.2rem;
    }
    
    .training-times .contact-item-text {
        font-size: 1rem;
    }
}

/* Force mobile layout for contact section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Ensure proper spacing */
.contact-info {
    padding: 60px 0;
}

.contact-info .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-gray);
}
/* ===== CONTACT PAGE MOBILE FIXES ===== */

/* Contact section complete mobile overhaul */
@media (max-width: 768px) {
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-map {
        order: 1;
        width: 100%;
        height: 400px; /* Nagyobb térkép */
    }
    
    .contact-map iframe {
        width: 100% !important;
        height: 100% !important; /* Kitölti a teljes magasságot */
        border-radius: 8px;
    }
    
    .contact-details {
        order: 2;
        width: 100%;
    }
    
    .contact-item {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .contact-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .contact-item-title {
        font-size: 1.2rem;
        color: var(--primary-red);
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .contact-item-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 5px;
    }
    
    /* Training times special styling */
    .training-times {
        background: linear-gradient(135deg, var(--off-white) 0%, #f5f5f5 100%);
        padding: 20px;
        border-radius: 10px;
        border-left: 5px solid var(--primary-red);
        margin-top: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }
    
    .training-times .contact-item-title {
        text-align: center;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .training-times .contact-item-text {
        font-weight: 500;
        text-align: center;
        font-size: 1.1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .contact-map {
        height: 350px; /* Még mindig nagyobb, de kisebb képernyőn */
    }
    
    .contact-item {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .training-times {
        padding: 15px;
        margin-top: 5px;
    }
    
    .training-times .contact-item-title {
        font-size: 1.2rem;
    }
    
    .training-times .contact-item-text {
        font-size: 1rem;
    }
}

/* Force mobile layout for contact section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Ensure proper spacing */
.contact-info {
    padding: 60px 0;
}

.contact-info .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

/* Desktop térkép méret */
.contact-map {
    height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
/* Training schedule table styles */
.training-schedule {
    overflow-x: auto;
    margin-top: 15px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table th {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.schedule-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-table .age-group {
    font-weight: 600;
    text-align: left;
    background-color: rgba(214, 40, 40, 0.2);
    color: var(--white);
}

.schedule-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsive table */
@media (max-width: 768px) {
    .schedule-table {
        font-size: 0.8rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 8px 5px;
    }
    
    .training-schedule {
        margin: 10px -10px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .schedule-table {
        font-size: 0.75rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 6px 3px;
    }
}
/* Simple schedule styles */
.simple-schedule {
    margin-top: 15px;
}

.schedule-category {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
}

.schedule-category h4 {
    color: var(--primary-red);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.schedule-times {
    color: var(--white);
    line-height: 1.6;
}

.schedule-day {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-block;
    width: 80px;
}

.no-training {
    color: var(--light-gray);
    font-style: italic;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .schedule-category {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .schedule-category h4 {
        font-size: 0.95rem;
    }
    
    .schedule-day {
        width: 70px;
    }
}
/* ===== SPECIFIKUS TELEFON JAVÍTÁSOK ===== */

/* Extra kis kijelzők (iPhone SE, kis Androidok) */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .footer-section {
        padding: 15px 10px;
    }
    
    .training-group {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .group-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .group-header h4 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .age-range {
        font-size: 0.75rem;
    }
    
    .time-slot {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    
    .time-slot .time {
        font-size: 0.8rem;
        padding: 2px 6px;
    }
}

/* Teljes mobil átállás - MINDEN elemet optimalizálunk */
@media (max-width: 768px) {
    /* Alap stílusok biztosítása */
    body {
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* Header mobil optimalizálás */
    .header-content {
        padding: 8px 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    /* Hero szekció mobilra */
    .hero, .page-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-title, .page-hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle, .page-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn-hero {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Footer teljes mobil átalakítás */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-section {
        text-align: center;
        padding: 15px 0;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-text {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    /* Training schedule mobil optimalizálás */
    .training-schedule-modern {
        margin-top: 10px;
    }
    
    .training-group {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .group-header h4 {
        font-size: 0.95rem;
    }
    
    .time-slot .day {
        min-width: 60px;
        font-size: 0.85rem;
    }
    
    .time-slot .time {
        font-size: 0.85rem;
        padding: 3px 8px;
    }
}

/* iPhone specifikus javítások */
@supports (-webkit-touch-callout: none) {
    .training-group {
        -webkit-transform: translateZ(0);
    }
}

/* Biztosítjuk, hogy minden elem látható maradjon */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    img, table, iframe {
        max-width: 100%;
        height: auto;
    }
}

/* Touch targetok biztosítása */
@media (max-width: 768px) {
    .nav-link,
    .btn,
    .social-link,
    .gallery-nav-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* ===== MOBILE TRAINING SCHEDULE FIX ===== */

.simple-schedule {
    margin-top: 15px;
}

.schedule-category {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
}

.schedule-category h4 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.schedule-times {
    color: var(--white);
}

.time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.time-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.schedule-day {
    color: var(--white);
    font-weight: 500;
    flex: 1;
}

.schedule-time {
    color: var(--primary-red);
    font-weight: 600;
    background: rgba(214, 40, 40, 0.15);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.no-training {
    color: var(--light-gray);
    font-style: italic;
    text-align: center;
    display: block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* MOBILE SPECIFIC STYLES */
@media (max-width: 768px) {
    .schedule-category {
        margin-bottom: 15px;
        padding: 12px;
    }
    
    .schedule-category h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .time-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .schedule-day {
        flex: none;
        font-size: 0.9rem;
    }
    
    .schedule-time {
        align-self: flex-start;
        font-size: 0.85rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .schedule-category {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .schedule-category h4 {
        font-size: 0.9rem;
    }
    
    .time-row {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .schedule-day {
        font-size: 0.85rem;
    }
    
    .schedule-time {
        font-size: 0.8rem;
    }
}

/* Biztosítjuk, hogy ne legyenek összefolyt elemek */
.simple-schedule * {
    box-sizing: border-box;
}
/* Add to your existing styles.css */

/* Documents Section */
.documents {
    background-color: var(--off-white);
    padding: 80px 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.document-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
}

.document-icon {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.document-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.document-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.document-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* PDF Viewer Section */
.pdf-viewer {
    padding: 80px 0;
    background-color: var(--white);
}

.pdf-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Google Form Section */
.google-form {
    padding: 80px 0;
    background-color: var(--off-white);
}

.form-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-actions {
        flex-direction: column;
    }
    
    .document-actions .btn {
        width: 100%;
    }
    
    .pdf-container iframe,
    .form-container iframe {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .pdf-container iframe,
    .form-container iframe {
        height: 400px;
    }
}
/* Contact page specific styles */
.contact-social-link {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-social-link:hover {
    color: var(--primary-red);
}

.contact-schedule {
    margin-top: 15px;
}

.contact-schedule-category {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--off-white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-schedule-category h4 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.contact-schedule-times {
    color: var(--black);
}

.contact-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-time-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-schedule-day {
    color: var(--black);
    font-weight: 500;
    flex: 1;
}

.contact-schedule-time {
    color: var(--primary-red);
    font-weight: 600;
    background: rgba(214, 40, 40, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    text-align: center;
    min-width: 120px;
}

.contact-no-training {
    color: var(--light-gray);
    font-style: italic;
    text-align: center;
    display: block;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

/* Mobile responsive for contact schedule */
@media (max-width: 768px) {
    .contact-schedule-category {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .contact-schedule-category h4 {
        font-size: 1rem;
    }
    
    .contact-time-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .contact-schedule-day {
        flex: none;
        font-size: 0.9rem;
    }
    
    .contact-schedule-time {
        align-self: stretch;
        text-align: center;
        font-size: 0.9rem;
        padding: 4px 8px;
        min-width: auto;
    }
}
/* Contact page specific styles */
.facebook-link {
    color: var(--black) !important;
    text-decoration: none !important;
}

.facebook-link:hover {
    color: var(--primary-red) !important;
    text-decoration: none !important;
}

.training-schedule {
    margin-top: 15px;
}

.schedule-group {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.schedule-group h4 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.schedule-times p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-times .day {
    font-weight: 500;
    color: var(--black);
    min-width: 80px;
}

.schedule-times .time {
    font-weight: 600;
    color: var(--primary-red);
    background: rgba(214, 40, 40, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.no-training {
    color: var(--light-gray);
    font-style: italic;
    text-align: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Mobile responsive for contact schedule */
@media (max-width: 768px) {
    .schedule-times p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .schedule-times .day {
        min-width: auto;
    }
    
    .schedule-times .time {
        align-self: stretch;
        text-align: center;
    }
    
    .schedule-group {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}
/* Contact page specific styles */
.facebook-link {
    color: var(--black) !important;
    text-decoration: none !important;
}

.facebook-link:hover {
    color: var(--primary-red) !important;
    text-decoration: none !important;
}

.training-schedule {
    margin-top: 15px;
}

.schedule-group {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.schedule-group h4 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.schedule-times p {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-times .day {
    font-weight: 500;
    color: var(--black);
    min-width: 80px;
}

.schedule-times .time {
    font-weight: 600;
    color: var(--primary-red);
    background: rgba(214, 40, 40, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.no-training {
    color: var(--light-gray);
    font-style: italic;
    text-align: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Contact page layout fixes */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-map {
    width: 100%;
    height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Mobile responsive for contact page */
@media (max-width: 768px) {
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-map {
        height: 350px;
        order: -1; /* Térkép felülre */
    }
    
    .schedule-times p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .schedule-times .day {
        min-width: auto;
    }
    
    .schedule-times .time {
        align-self: stretch;
        text-align: center;
    }
    
    .schedule-group {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-map {
        height: 300px;
    }
}
/* Biography section mobile fixes */
@media (max-width: 768px) {
    .biography-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .biography-image {
        order: -1;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    
    .bio-img {
        max-height: 400px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: top;
    }
}

@media (max-width: 480px) {
    .bio-img {
        max-height: 350px;
    }
}

/* Additional safety for image display */
.bio-img {
    display: block;
    height: auto;
}
/* Sanda Info Section */
.sanda-info {
    background-color: var(--off-white);
    padding: 80px 0;
}

.sanda-info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sanda-info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Mobile responsive for Sanda info */
@media (max-width: 768px) {
    .sanda-info {
        padding: 60px 0;
    }
    
    .sanda-info-text {
        font-size: 1rem;
        text-align: left;
    }
}
/* Gomb méret egyenlítés */
.btn-primary, .btn-secondary {
    min-width: 160px;
    padding: 12px 30px !important;
}
/* CTA buttons styling */
.cta-buttons {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 160px;
    padding: 12px 24px;
    flex: 0 0 auto;
}

/* Mobile responsive for CTA buttons */
@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}