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

:root {
    --primary-color: #0f2818;
    --primary-light: #1a472a;
    --secondary-color: #2ecc71;
    --accent-color: #27ae60;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-light: #f8faf8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --dark-accent: #222222;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 4px 16px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #0f2818 0%, #1a472a 100%);
    --gradient-secondary: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

html, body {
    height: auto;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

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

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

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 4px solid var(--secondary-color);
    padding: 0.3rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.in_header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.in_header > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 150px;
    flex-shrink: 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 220px;
    flex-shrink: 0;
    height: 70px;
    padding: 0 0.5rem 0 0;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 70px;
    object-fit: contain;
    display: block;
}

.slogen {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

#slogen {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.in_header h1 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 0;
    color: var(--primary-color);
    text-align: left;
    font-weight: 800;
    line-height: 1.2;
}

.in_header h1 a {
    color: var(--primary-color);
    text-decoration: none;
}

.navbar {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    padding-right: 1rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.nav-menu a {
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    background: transparent;
}

.nav-menu a:hover::after {
    width: 100%;
}

.social_icons {
    margin-top: 1rem;
}

.social_icons a {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: var(--gradient-secondary);
    color: white !important;
    border-radius: 8px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-dark);
}

.social_icons a:hover {
    background: var(--gradient-primary);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.main-content {
    flex: 1;
    background: var(--bg-light);
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 2.5rem;
}

/* Sidebar */
.sidebar, .info-box {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.search-box h3, .info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.75rem;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-input, .form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(79, 179, 131, 0.3);
    background: #fafbfa;
}

.btn-search {
    width: 100%;
    padding: 0.9rem;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main-content {
    flex: 1;
    background: var(--bg-light);
    padding: 2rem 0;
    display: block;
}

.content-center {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248, 250, 248, 0.8) 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--secondary-color);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding: 2rem 0;
}

.hero h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Highlights with images */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 4rem 3rem;
    background: var(--bg-light);
}

.highlight-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
}

.highlight-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

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

.highlight-card h3 {
    color: var(--text-dark);
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.highlight-card p {
    color: var(--text-light);
    padding: 0.5rem 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 4rem 3rem;
    background: white;
}

.gallery-preview h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    display: block;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.preview-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(26, 71, 42, 0.15);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.preview-item:hover img {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 71, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-item:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 204, 113, 0.4);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: var(--dark-accent);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    position: relative;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 204, 113, 0.3);
}

/* Highlights */
.highlights {
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
    transition: transform 0.3s ease;
}

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

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: auto;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-section li:hover {
    opacity: 1;
    padding-left: 0.5rem;
}

.footer-section a {
    color: white;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom {
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(46, 204, 113, 0.3);
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* Page Content */
.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.page-content h2 {
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-size: 2.4rem;
    font-weight: 900;
    border-bottom: 4px solid var(--secondary-color);
    padding-bottom: 1.25rem;
    line-height: 1.2;
}

.page-content h3 {
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.page-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-content ul, .page-content ol {
    margin: 1.5rem 0 1.5rem 1.5rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    min-height: 150px;
    transition: all 0.3s ease;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(79, 179, 131, 0.3);
}

/* Technical Content Styles */
.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.technical-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.technical-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.technical-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.technical-card:hover .technical-card-img {
    transform: scale(1.08);
}

.technical-card h3 {
    padding: 1.5rem 1.5rem 0.75rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    border-top: 3px solid var(--secondary-color);
}

.technical-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.technical-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.technical-section:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.technical-section h3 {
    margin-top: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--primary-color);
    font-weight: 800;
}

.technical-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 1rem 0 0 0;
}

.technical-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.technical-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.technical-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

/* Munkaterület látogatása oldal stílusa */
.workplace-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.workplace-section:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.workplace-section h3 {
    margin-top: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--primary-color);
    font-weight: 800;
}

.workplace-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 1rem 0 0 0;
}

.workplace-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.workplace-section li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.workplace-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

/* Adatkezelés oldal stílusa */
.data-protection-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.data-protection-section:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.data-protection-section h3 {
    margin-top: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--primary-color);
    font-weight: 800;
}

.data-protection-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 1rem 0 0 0;
}

.data-protection-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.data-protection-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.data-protection-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

.submit-btn {
    background: var(--gradient-secondary);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
}

.submit-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 204, 113, 0.4);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* New Gallery Grid Layout */
.gallery-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(46, 204, 113, 0.15);
}

.gallery-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #f0f0f0;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.gallery-card-label {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    background: linear-gradient(135deg, #f0f9f6 0%, #e8f5f3 100%);
    font-size: 0.95rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid-new {
        grid-template-columns: 1fr;
    }
    
    .gallery-card-image {
        height: 180px;
    }
}

.gallery-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 12px 32px rgba(46, 204, 113, 0.25);
    transform: translateY(-8px);
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.12);
    filter: brightness(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 40, 24, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: white;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Lightbox styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-title {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 1rem;
    z-index: 1001;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.menu-toggle.active {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-left, .content-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .hero-image {
        min-height: 280px;
    }

    .hero-content {
        padding: 0.5rem 0;
    }

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

    .slider-container {
        height: 350px;
        padding: 0 0.75rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .flex-direction-nav a {
        width: 45px;
        height: 45px;
        font-size: 18px;
        padding: 0;
    }

    .flex-control-nav a {
        width: 10px;
        height: 10px;
    }

    .flex-control-nav {
        bottom: 15px;
    }

    .highlights {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }

    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .header {
        padding: 0.8rem 0;
        flex-direction: column;
        align-items: stretch;
    }

    .in_header {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        flex: none;
        padding: 0 1rem;
        max-width: none;
        width: 100%;
    }

    .in_header > div:first-child {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: auto;
    }

    .logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: auto;
        flex-shrink: 0;
        height: 55px;
        padding: 0 0.25rem 0 0;
    }

    .logo-img {
        width: auto;
        height: auto;
        max-width: 220px;
        max-height: 55px;
        object-fit: contain;
        display: block;
    }

    .in_header h1 {
        font-size: 1.3rem;
        margin-bottom: 0;
        font-weight: 800;
    }

    .slogen {
        font-size: 0.7rem;
        display: block;
        margin-bottom: 0.1rem;
    }

    .navbar {
        margin: 0;
        width: 100%;
        order: 3;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0;
        padding-right: 0;
        background: transparent;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: var(--gradient-primary);
        box-shadow: var(--shadow-lg);
        padding: 0.5rem 0;
        margin: 0;
        list-style: none;
        animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 1rem 1.25rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white !important;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        background: rgba(46, 204, 113, 0.2);
        padding-left: 1.5rem;
        color: white !important;
    }

    .menu-toggle {
        display: block;
        order: 2;
        font-size: 2rem;
        padding: 0.5rem 1rem;
        margin-left: auto;
        flex-shrink: 0;
    }

    .social_icons {
        display: none;
    }

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

    .hero {
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .highlights {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-content-section {
        padding: 1.5rem 1rem;
    }

    .content-block {
        padding: 1.5rem 1rem;
    }

    .slider-container {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .flex-direction-nav a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .info-boxes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-box-item {
        padding: 1.5rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row .form-group.half {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .header {
        padding: 0.6rem 0;
    }

    .in_header h1 {
        font-size: 1.1rem;
    }

    .slogen {
        font-size: 0.65rem;
    }

    .nav-menu a {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .menu-toggle {
        font-size: 1.5rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .page-content-section {
        padding: 1rem 0.75rem;
    }

    .page-content-section h2 {
        font-size: 1.25rem;
    }

    .content-block {
        padding: 1.5rem 1rem;
    }

    .content-block h3 {
        font-size: 1rem;
    }

    .content-block p {
        font-size: 0.95rem;
    }

    .slider-container {
        height: 220px;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        border-radius: 12px;
    }

    .flex-direction-nav a {
        width: 40px;
        height: 40px;
        font-size: 16px;
        padding: 0;
    }

    .flex-control-nav a {
        width: 9px;
        height: 9px;
    }

    .info-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .info-box-item {
        padding: 1rem;
    }

    .info-box-item h3 {
        font-size: 1.1rem;
    }

    .info-box-item p {
        font-size: 0.85rem;
    }
}

/* Homepage Content Blocks */
.page-content-section {
    padding: 3rem;
    margin: 0 auto;
}

.page-content-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 2.4rem;
    font-weight: 900;
    border-bottom: 4px solid var(--secondary-color);
    padding-bottom: 1.25rem;
    line-height: 1.2;
}

.page-content-section .intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
}

.content-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.content-block {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.content-block h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
}

.content-block p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

/* Homepage Header Section with Slider */
.header-section {
    width: 100%;
    background: var(--bg-light);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.slider-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    position: relative;
}

.flexslider {
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
    width: 100%;
}

.flexslider .slides {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    height: 100%;
    width: 100%;
}

.flexslider .slides li {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.flexslider .slides li.active {
    display: block;
    animation: none;
}

.flexslider .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flex-control-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.flex-control-nav li {
    display: inline-block;
    margin: 0;
}

.flex-control-nav a {
    width: 14px;
    height: 14px;
    display: block;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.flex-control-nav a:hover,
.flex-control-nav a.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.flex-direction-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.flex-direction-nav a {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(15, 40, 24, 0.65);
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.flex-direction-nav a:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.flex-direction-nav a.prev::before {
    content: "❮";
}

.flex-direction-nav a.next::before {
    content: "❯";
}

/* Info Boxes */
.info-boxes {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-box-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.info-box-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.info-box-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.info-box-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.info-box-item a {
    display: inline-block;
}

.info-box-item .btn {
    margin-top: 0.5rem;
}

/* Info Box Image */
.info-box-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
}

.info-box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.info-box-item:hover .info-box-image {
    transform: scale(1.05);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .header, .footer, .sidebar, .social_icons {
        display: none;
    }

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

    a {
        text-decoration: underline;
    }
}

/* Page Header Styles */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header .subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Content Section */
.content-section {
    padding: 0 1rem 3rem 1rem;
    max-width: 1300px;
    margin: 0 auto;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Location Info */
.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-info h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-box p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-box a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Map Section */
.map-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
}

/* Access Info */
.access-info {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.access-info h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border-top: 3px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Tablet */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .subtitle {
        font-size: 1rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .access-info {
        grid-column: 1;
    }

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

    .map-container iframe {
        height: 400px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header .subtitle {
        font-size: 0.95rem;
    }

    .content-section {
        padding: 0 1rem 2rem 1rem;
    }

    .content-wrapper {
        gap: 1.5rem;
    }

    .location-info h2,
    .map-section h2,
    .access-info h2 {
        font-size: 1.4rem;
    }

    .info-box {
        padding: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(46, 204, 113, 0.9) 0%, transparent 100%);
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 40, 24, 0.9) 0%, transparent 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Properties Section */
.properties-section {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 2rem;
}

.properties-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.properties-intro {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Properties Gallery Section */
.properties-gallery {
    margin-bottom: 3rem;
}

.properties-gallery h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.gallery-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Sitemap Section */
.sitemap-section {
    margin-bottom: 2rem;
}

.sitemap-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.sitemap-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sitemap-image:hover {
    transform: scale(1.02);
}

/* Lightbox modal */
.sitemap-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.sitemap-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sitemap-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

.sitemap-lightbox img {
    width: 100%;
    height: auto;
    display: block;
}

.sitemap-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #04397e;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.sitemap-lightbox-close:hover {
    color: #0a5ac7;
    text-shadow: 0 0 15px rgba(4, 57, 126, 0.6);
}

/* Desktop: smaller image */
@media (min-width: 769px) {
    .sitemap-image {
        max-width: 70%;
        margin: 0 auto;
    }
}

/* Property Info */
.property-info {
    margin-bottom: 3rem;
}

.property-info h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.feature-card {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Contact CTA */
.contact-cta {
    grid-column: 1 / -1;
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-cta p {
    margin-bottom: 2rem;
    font-size: 1rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Full Width Content */
.content-wrapper.full-width {
    grid-template-columns: 1fr;
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

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

    .cta-buttons a {
        width: 100%;
    }
}

/* Gallery Section Button */
.gallery-section-button {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2rem 0;
}

.gallery-section-button .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-block {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.btn-wide {
    max-width: none !important;
    width: 100% !important;
    padding: 1.5rem 3rem !important;
}

/* ============================================ */
/* Ajánlatkérés Modal */
/* ============================================ */

.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.quote-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 10000;
}

.quote-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.quote-modal .page-content {
    padding: 40px 30px 30px 30px;
}

.quote-modal h2 {
    margin-bottom: 30px;
    color: #1a1a1a;
    font-size: 28px;
}

.quote-modal .form-group {
    margin-bottom: 20px;
}

.quote-modal .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.quote-modal .form-input:focus {
    outline: none;
    border-color: #04397e;
    box-shadow: 0 0 0 3px rgba(4, 57, 126, 0.1);
}

.quote-modal .submit-btn {
    background: #2ecc71;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease;
    width: 100%;
}

.quote-modal .submit-btn:hover {
    background: #27ae60;
}

.quote-modal .submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-modal {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .quote-modal .page-content {
        padding: 30px 20px 20px 20px;
    }
    
    .quote-modal h2 {
        font-size: 22px;
    }
}

/* Welcome Popup Styles */
/* Welcome Popup Styles */
.welcome-popup-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.welcome-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-popup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    max-height: calc(100vh - 40px);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: popupEnter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.welcome-popup-overlay.closing .welcome-popup {
    animation: popupExit 0.3s cubic-bezier(0.34, 0, 0.66, 0.2) forwards;
}

.welcome-popup-overlay.closing {
    animation: fadeOut 0.3s cubic-bezier(0.34, 0, 0.66, 0.2) forwards;
}

@keyframes popupEnter {
    from {
        transform: translateY(20px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes popupExit {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(20px) scale(0.98);
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.welcome-popup-close {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top));
    right: 16px;
    background: white;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 8px 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.welcome-popup-close:active {
    background: #f5f5f5;
    color: #333;
    transform: scale(0.95);
}

.welcome-popup-content {
    padding: 50px 40px 40px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.welcome-popup-content h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 8px;
    line-height: 1.2;
    font-weight: 700;
}

.welcome-popup-content h3 {
    color: var(--primary-color);
    font-size: 19px;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.welcome-popup-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 17px;
}

.welcome-popup-content ul {
    list-style: none;
    margin-bottom: 16px;
    padding: 0;
}

.welcome-popup-content li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.welcome-popup-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 16px;
}

.welcome-popup-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a472a 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 24px;
    margin-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 4px 12px rgba(15, 40, 24, 0.2);
}

.welcome-popup-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(15, 40, 24, 0.3);
}

@media (max-width: 768px) {
    .welcome-popup {
        width: 95%;
        max-height: calc(100dvh - 100px);
    }
    
    .welcome-popup-content {
        padding: 35px 20px 25px 20px;
    }
    
    .welcome-popup-close {
        top: calc(12px + env(safe-area-inset-top));
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .welcome-popup-content h2 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .welcome-popup-content h3 {
        font-size: 17px;
        margin-top: 14px;
        margin-bottom: 8px;
    }
    
    .welcome-popup-content p {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .welcome-popup-content li {
        font-size: 14px;
        padding-left: 18px;
        margin-bottom: 6px;
    }
    
    .welcome-popup-btn {
        padding: 14px 32px;
        font-size: 18px;
        margin-top: 24px;
    }
}


