/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --accent-color: #10b981;
    --accent-dark: #059669;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Navigation */
.nav {
    background-color: rgb(25, 25, 30); /* R25 G25 B30 */
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.nav-menu a:hover {
    color: rgb(46, 96, 173); /* R46 G96 B173 for hover */
    text-decoration: none;
    opacity: 0.9;
}

/* Hamburger Menu Button */
.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
    opacity: 0.9;
    transition: opacity 0.25s ease;
}

.nav-burger:hover {
    opacity: 1;
}

.nav-burger:active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.burger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
}

.burger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.burger-inner,
.burger-inner::before,
.burger-inner::after {
    width: 24px;
    height: 3px;
    background-color: white;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.burger-inner::before,
.burger-inner::after {
    content: "";
    display: block;
}

.burger-inner::before {
    top: -8px;
    transition: top 0.2s 0.12s ease, opacity 0.075s ease;
}

.burger-inner::after {
    bottom: -8px;
    transition: bottom 0.2s 0.12s ease, transform 0.08s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/* Active state for burger (X shape) */
.nav-burger.state-active-burger .burger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.nav-burger.state-active-burger .burger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.08s ease, opacity 0.08s 0.12s ease;
}

.nav-burger.state-active-burger .burger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.08s ease, transform 0.08s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Buttons */
.btn-primary, .btn-large {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: rgb(46, 96, 173); /* R46 G96 B173 */
    color: white; /* White text on button */
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover, .btn-large:hover {
    background-color: rgb(35, 75, 140); /* Slightly darker blue on hover */
    text-decoration: none;
    color: white;
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* Sizes Section */
.sizes {
    background-color: var(--bg-light);
}

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

.size-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
}

.size-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.size-card p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Pricing Table */
.pricing {
    background-color: white;
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
    background-color: white;
    min-width: 600px;
}

.pricing-table thead {
    background-color: var(--primary-color);
    color: white;
}

.pricing-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.2rem;
    border-bottom: 3px solid var(--primary-dark);
}

.pricing-table th small {
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.pricing-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.pricing-table tbody tr:hover {
    background-color: var(--bg-light);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table td strong {
    font-size: 1.2rem;
    color: var(--text-color);
    display: block;
    margin-bottom: 0.25rem;
}

.pricing-table td small {
    font-size: 0.95rem;
    color: var(--text-light);
    display: block;
    margin-top: 0.25rem;
}

.best-price {
    background-color: #ecfdf5;
    font-weight: 700;
    color: var(--accent-dark);
    position: relative;
}

.best-price::before {
    content: "✓ Legjobb ár";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.75rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.pricing-note {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 6px;
}

.pricing-note p {
    margin: 0;
    font-size: 1.1rem;
}

/* Info Section */
.info {
    background-color: var(--bg-light);
}

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

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

/* Location Section */
.location {
    background-color: white;
}

.location-item {
    margin-bottom: 3rem;
}

.location-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    padding-top: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background-color: white;
}

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

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

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

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

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

#fs-frm-inputs,
#fs-frm-selects {
    border: none;
    padding: 0;
    margin: 0;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Show hamburger button on mobile */
    .nav-burger {
        display: block;
    }
    
    /* Hide menu by default on mobile, show when opened */
    .nav-menu-wrapper .nav-menu {
        opacity: 0;
        visibility: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        background-color: rgb(25, 25, 30);
        z-index: 1000;
        gap: 2rem;
        padding: 2rem;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    
    /* Show menu when opened */
    .nav-menu-wrapper.state-opened-menu .nav-menu {
        opacity: 1;
        visibility: visible;
    }
    
    /* Animate menu items */
    .nav-menu-wrapper .nav-menu li {
        transform: translateY(10px);
        opacity: 0;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .nav-menu-wrapper.state-opened-menu .nav-menu li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu-wrapper .nav-menu li:nth-child(1) {
        transition-delay: 0.05s;
    }
    .nav-menu-wrapper .nav-menu li:nth-child(2) {
        transition-delay: 0.1s;
    }
    .nav-menu-wrapper .nav-menu li:nth-child(3) {
        transition-delay: 0.15s;
    }
    .nav-menu-wrapper .nav-menu li:nth-child(4) {
        transition-delay: 0.2s;
    }
    .nav-menu-wrapper .nav-menu li:nth-child(5) {
        transition-delay: 0.25s;
    }
    .nav-menu-wrapper .nav-menu li:nth-child(6) {
        transition-delay: 0.3s;
    }
    
    .nav-menu-wrapper.state-opened-menu .nav-menu li:nth-child(1) {
        transition-delay: 0.05s;
    }
    .nav-menu-wrapper.state-opened-menu .nav-menu li:nth-child(2) {
        transition-delay: 0.1s;
    }
    .nav-menu-wrapper.state-opened-menu .nav-menu li:nth-child(3) {
        transition-delay: 0.15s;
    }
    .nav-menu-wrapper.state-opened-menu .nav-menu li:nth-child(4) {
        transition-delay: 0.2s;
    }
    .nav-menu-wrapper.state-opened-menu .nav-menu li:nth-child(5) {
        transition-delay: 0.25s;
    }
    .nav-menu-wrapper.state-opened-menu .nav-menu li:nth-child(6) {
        transition-delay: 0.3s;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        font-size: 1rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .best-price::before {
        position: static;
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Prevent body scroll when menu is open */
body.state-fixed-body {
    overflow: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .nav,
    .footer {
        display: none;
    }
    
    .pricing-table {
        page-break-inside: avoid;
    }
}
