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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.site-header h1 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.site-header h1 a:hover {
    opacity: 0.9;
}

.site-header nav {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.site-header nav a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

.site-header nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.language-switcher {
    display: inline-flex;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.language-switcher a {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    opacity: 0.8;
}

.language-switcher a.active {
    background: rgba(255,255,255,0.3) !important;
    opacity: 1;
    font-weight: 600;
}

/* Main */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 0;
}

.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.site-main article {
    background: white;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    margin: 40px auto;
    max-width: 1200px;
}

.site-main h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.2;
}

.content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.content p {
    margin-bottom: 1.5rem;
}

.content h2, .content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.content h2 {
    font-size: 2rem;
}

.content h3 {
    font-size: 1.5rem;
}

/* Modulok */
.module-hero {
    position: relative;
    overflow: hidden;
}

.module-hero .hero-content {
    position: relative;
    z-index: 2;
}

.module-text {
    padding: 60px 0;
    background: white;
}

.module-image {
    padding: 40px 0;
    background: #f8f9fa;
}

.module-contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.module-contact h2 {
    color: white;
}

.module-map {
    padding: 40px 0;
    background: #f8f9fa;
}

.module-map iframe {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Template variánsok */
.template-full-width article {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 40px;
}

.template-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.template-sidebar .sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.site-footer p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-header nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .language-switcher {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.3);
        padding-left: 0;
        padding-top: 15px;
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .site-main article {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .site-main h1 {
        font-size: 2rem;
    }
    
    .template-sidebar {
        grid-template-columns: 1fr;
    }
    
    .template-sidebar .sidebar {
        position: static;
    }
    
    .module-hero {
        min-height: 300px !important;
    }
}

/* Importált PDF tartalom stílusok */
.imported-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.imported-table th,
.imported-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.imported-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.imported-table tr:nth-child(even) {
    background: #f9f9f9;
}

.imported-table tr:hover {
    background: #f0f0f0;
}

.imported-form {
    max-width: 600px;
    margin: 30px 0;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.imported-form .form-field {
    margin-bottom: 20px;
}

.imported-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.imported-form input[type="text"],
.imported-form input[type="email"],
.imported-form input[type="tel"],
.imported-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.imported-form input[type="text"]:focus,
.imported-form input[type="email"]:focus,
.imported-form input[type="tel"]:focus,
.imported-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

.imported-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.imported-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.imported-form button:active {
    transform: translateY(0);
}

