/* Alapértelmezett stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f5f0 0%, #fafaf8 50%, #f0f0ea 100%);
    min-height: 100vh;
    color: #333;
}

/* Fejléc */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #57534e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
    font-weight: 500;
}

.back-button:hover {
    background: #44403c;
}

.back-button span {
    display: none;
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-center h1 {
    font-size: 1.5rem;
    color: #292524;
    margin-bottom: 0.25rem;
}

.header-center p {
    font-size: 0.875rem;
    color: #78716c;
}

.header-spacer {
    width: 100px;
}

/* Főoldal */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.intro-section {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #292524;
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.125rem;
    color: #78716c;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: #e7e5e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: #d6d3d1;
}

.service-card h3 {
    font-size: 1.75rem;
    color: #292524;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #78716c;
    font-size: 1rem;
}

/* Síremlék katalógus */
.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.catalog-header {
    margin-bottom: 2rem;
}

.catalog-header h2 {
    font-size: 2rem;
    color: #292524;
}

.tombstone-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.tombstone-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.tombstone-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.tombstone-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tombstone-info {
    padding: 1.5rem;
}

.tombstone-info h3 {
    font-size: 1.5rem;
    color: #292524;
    margin-bottom: 0.5rem;
}

.tombstone-info .material {
    color: #78716c;
    margin-bottom: 0.75rem;
}

.tombstone-info .price {
    font-size: 1.75rem;
    font-weight: bold;
    color: #57534e;
    margin-bottom: 1rem;
}

.tombstone-info button {
    width: 100%;
    padding: 0.75rem;
    background: #57534e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.tombstone-info button:hover {
    background: #44403c;
}

/* Síremlék részletek */
.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.detail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-info h2 {
    font-size: 2rem;
    color: #292524;
    margin-bottom: 1rem;
}

.detail-info .material {
    color: #78716c;
    margin-bottom: 0.5rem;
}

.detail-info .base-price {
    font-size: 2rem;
    font-weight: bold;
    color: #57534e;
    margin-bottom: 1.5rem;
}

.extras-section {
    background: #f5f5f4;
    padding: 1.5rem;
    border-radius: 8px;
}

.extras-section h3 {
    font-weight: bold;
    color: #292524;
    margin-bottom: 1rem;
}

.extra-button {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background: white;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.extra-button:hover {
    border-color: #a8a29e;
}

.selected-extras {
    background: #f5f5f4;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.selected-extras h3 {
    font-weight: bold;
    color: #292524;
    margin-bottom: 1rem;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.extra-item input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #d6d3d1;
    border-radius: 4px;
    text-align: center;
}

.extra-item .name {
    flex: 1;
}

.extra-item .price {
    font-weight: 600;
}

.remove-button {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 0.5rem;
}

.remove-button:hover {
    color: #991b1b;
}

.inscription-section {
    margin-bottom: 1.5rem;
}

.inscription-section label {
    display: block;
    font-weight: bold;
    color: #292524;
    margin-bottom: 0.5rem;
}

.inscription-section textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d6d3d1;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
}

.inscription-info {
    font-size: 0.875rem;
    color: #78716c;
    margin-top: 0.5rem;
}

.total-section {
    background: #f5f5f4;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: right;
    margin-bottom: 1.5rem;
}

.total-section .label {
    font-size: 1.125rem;
    color: #78716c;
    margin-bottom: 0.5rem;
}

.total-section .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #292524;
}

/* Űrlap stílusok */
.form-section h3 {
    font-size: 1.5rem;
    color: #292524;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #57534e;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d6d3d1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #57534e;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: #57534e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background: #44403c;
}

/* Ablakpárkány kalkulátor */
.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.calculator-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.option-section {
    margin-bottom: 2rem;
}

.option-section h3 {
    font-weight: bold;
    color: #292524;
    margin-bottom: 1rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.option-button {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e7e5e4;
    background: #f5f5f4;
    color: #57534e;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.option-button:hover {
    background: #e7e5e4;
}

.option-button.active {
    background: #57534e;
    color: white;
    border-color: #57534e;
}

.material-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.material-card {
    border: 2px solid #e7e5e4;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.material-card:hover {
    border-color: #a8a29e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.material-card.active {
    border-color: #57534e;
    box-shadow: 0 0 0 2px #57534e;
}

.material-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.material-info {
    padding: 1rem;
    text-align: center;
}

.material-info h4 {
    color: #292524;
    font-weight: bold;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.material-category {
    color: #a8a29e;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.material-info .price {
    color: #57534e;
    font-weight: 600;
    font-size: 1rem;
}

.material-type {
    color: #a8a29e;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.windowsills-section {
    margin-bottom: 2rem;
}

.windowsills-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.add-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #57534e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.add-button:hover {
    background: #44403c;
}

.windowsill-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    background: #f5f5f4;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.windowsill-item .number {
    font-weight: bold;
    color: #57534e;
    min-width: 30px;
}

.windowsill-item .inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}

.windowsill-item input {
    width: 100%;
    padding: 0.75rem 0.5rem;
    border: 1px solid #d6d3d1;
    border-radius: 8px;
    font-size: 0.875rem;
}

.windowsill-item input:focus {
    outline: none;
    border-color: #57534e;
}

.windowsill-item .remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #78716c;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    cursor: help;
    margin-left: 0.5rem;
}

.info-tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: 30px;
    background: #292524;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    width: 300px;
    z-index: 100;
    line-height: 1.4;
}

.info-icon:hover .info-tooltip {
    display: block;
}

.hidden {
    display: none;
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.5rem;
    background: #e7e5e4;
    border-radius: 50%;  /* Kör */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    overflow: hidden;  /* ← FONTOS! */
    padding: 0;  /* ← VÁLTOZÁS: padding eltávolítása */
}

.service-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* ← VÁLTOZÁS: contain → cover */
    display: block;
    transition: all 0.3s;
}

/* Hover effekt */
.service-card:hover .service-icon {
    background: #d6d3d1;
    transform: scale(1.05);
}

.service-card:hover .service-icon-image {
    transform: scale(1.1);
}

/* ===================================
   MOBIL
   =================================== */
@media (max-width: 640px) {
    .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
}

/* Reszponzív design */
@media (min-width: 640px) {
    .back-button span {
        display: inline;
    }
    
    .header-center h1 {
        font-size: 2rem;
    }
    
    .tombstone-grid,
    .material-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .windowsill-item {
        grid-template-columns: auto 1fr 1fr auto;
    }
    
    .windowsill-item .inputs {
        display: contents;
    }
    
    .windowsill-item input {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tombstone-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .material-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}/* ============================================
   FOOTER STYLES - KOMPAKT
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
    color: #e7e5e4;
    margin-top: 3rem;
    border-top: 3px solid #57534e;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Footer szekciók */
.footer-section h4 {
    color: #fafaf9;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Elérhetőségek */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d6d3d1;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.contact-item:hover {
    color: #fafaf9;
}

.contact-item svg {
    flex-shrink: 0;
    color: #a8a29e;
    width: 18px;
    height: 18px;
}

.contact-item:hover svg {
    color: #fbbf24;
}

/* Nyitvatartás */
.opening-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.day {
    color: #a8a29e;
}

.time {
    color: #fafaf9;
    font-weight: 600;
}

/* Copyright */
.footer-bottom {
    border-top: 1px solid #44403c;
    padding: 1rem 2rem;
    text-align: center;
    background: #1c1917;
}

.footer-bottom p {
    margin: 0;
    color: #78716c;
    font-size: 0.75rem;
}

/* Responsive */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        padding: 0.75rem 1rem;
    }
}

/* ═══════════════════════════════════════════════
   SZÉLESSÉG FIGYELMEZTETŐ MODAL
   ═══════════════════════════════════════════════ */

.width-warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.width-warning-modal.show {
    opacity: 1;
    pointer-events: all;
}

.width-warning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.width-warning-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.width-warning-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.width-warning-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: #f59e0b;
}

.width-warning-content p {
    margin: 0 0 1rem 0;
    color: #57534e;
    line-height: 1.6;
}

.width-warning-content p strong {
    color: #292524;
}

.width-warning-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.contact-link {
    display: block;
    padding: 0.75rem 1.5rem;
    background: #f5f5f4;
    color: #292524;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-link:hover {
    background: #e7e5e4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.width-warning-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #f59e0b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.width-warning-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Mobil */
@media (max-width: 480px) {
    .width-warning-content {
        padding: 1.5rem;
    }
    
    .width-warning-icon {
        font-size: 3rem;
    }
    
    .width-warning-content h3 {
        font-size: 1.25rem;
    }
}

/* ═══════════════════════════════════════════════
   COOKIE SZABÁLYZAT (GDPR) - CSS
   ═══════════════════════════════════════════════ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #292524 0%, #44403c 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: white;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #d6d3d1;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #fed7aa;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-accept {
    background: #22c55e;
    color: white;
}

.cookie-accept:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.cookie-decline {
    background: transparent;
    color: #d6d3d1;
    border: 2px solid #57534e;
}

.cookie-decline:hover {
    background: #57534e;
    color: white;
}

.footer-bottom {
    font-size: 14px;
    text-align: center;
}

.impresszum-link {
    font-size: 13px;
    color: inherit;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.impresszum-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-separator {
    margin: 0 8px;
    opacity: 0.6;
}


/* Mobil */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════
   SÍREMLÉK "FEJLESZTÉS ALATT" OVERLAY
   ═══════════════════════════════════════════════ */

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card.disabled {
    cursor: not-allowed;
}

.dev-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 10;
}

.service-card.disabled:hover .dev-overlay {
    opacity: 1;
}

.dev-message {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dev-message-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dev-message h4 {
    margin: 0 0 0.5rem 0;
    color: #f59e0b;
    font-size: 1.25rem;
}

.dev-message p {
    margin: 0;
    color: #78716c;
    font-size: 0.875rem;
}