/* KÁRPITTISZTÍTÁS NYÍREGYHÁZA - CSS */

html { scroll-behavior: smooth; }
::selection { background: #2d4a3e; color: white; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400; }

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #2d4a3e; color: white;
    padding: 12px 24px; border-radius: 9999px;
    font-weight: 700; font-size: 14px;
    border: none; cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45,74,62,0.2);
}
.btn-primary:hover { 
    background: #3e6152; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(45,74,62,0.3);
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.9); color: #2d4a3e;
    padding: 12px 24px; border-radius: 9999px;
    font-weight: 700; border: 1px solid rgba(45,74,62,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { 
    background: white; 
    border-color: #2d4a3e;
    box-shadow: 0 4px 15px rgba(45,74,62,0.1);
}

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: #2d4a3e;
    padding: 12px 24px; border-radius: 9999px;
    font-weight: 700; border: 2px solid #2d4a3e;
    transition: all 0.3s ease;
}
.btn-outline:hover { 
    background: #2d4a3e; 
    color: white;
    box-shadow: 0 4px 15px rgba(45,74,62,0.2);
}

/* Header */
.header-scroll { transition: box-shadow 0.3s ease; }
.header-scroll.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }

/* Mobile Menu */
.mobile-menu { display: none; }
.mobile-menu.active { display: block; animation: slideDown 0.3s ease; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Background - subtle floating elements */
.hero-bg-elements { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.floating-bubble {
    position: absolute; border-radius: 50%;
    background: linear-gradient(135deg, rgba(45,74,62,0.06), rgba(45,74,62,0.02));
    animation: floatBubble 25s ease-in-out infinite;
}
.bubble-1 { width: 400px; height: 400px; top: -100px; right: -150px; }
.bubble-2 { width: 250px; height: 250px; bottom: 50px; left: -80px; animation-delay: -8s; }
.bubble-3 { width: 180px; height: 180px; top: 40%; right: 15%; animation-delay: -15s; }
@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(20px, -30px) scale(1.05); opacity: 0.8; }
    66% { transform: translate(-15px, 20px) scale(0.95); opacity: 0.5; }
}

/* Gradient line accent */
.section-accent {
    position: relative;
}
.section-accent::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #2d4a3e, #3e6152);
    border-radius: 2px;
}

/* Service Cards - elegant hover */
.service-card { 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2d4a3e, #3e6152);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 25px 50px rgba(45,74,62,0.12);
}

/* Stats - pulse effect on numbers */
.stat-number {
    position: relative;
    display: inline-block;
}

/* Review cards - subtle lift */
.review-card {
    transition: all 0.3s ease;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(45,74,62,0.08);
}

/* Before-After Slider */
.before-after-slider { 
    position: relative; 
    aspect-ratio: 3/2; 
    overflow: hidden; 
    cursor: ew-resize; 
    user-select: none;
    border-radius: 1rem;
}
.ba-image { position: absolute; inset: 0; }
.ba-image img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { z-index: 1; clip-path: inset(0 50% 0 0); }
.ba-label { 
    position: absolute; bottom: 16px; 
    padding: 8px 16px; 
    background: rgba(0,0,0,0.75); 
    color: white; font-size: 11px; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 0.05em;
    border-radius: 24px;
    backdrop-filter: blur(4px);
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }
.ba-handle { 
    position: absolute; top: 0; bottom: 0; left: 50%; 
    transform: translateX(-50%); width: 4px; z-index: 10; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
}
.ba-handle-line { 
    flex: 1; width: 2px; 
    background: white; 
    box-shadow: 0 0 15px rgba(0,0,0,0.3); 
}
.ba-handle-circle { 
    width: 48px; height: 48px; 
    background: white; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 4px 25px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}
.ba-handle-circle:hover { transform: scale(1.1); }
.ba-handle-circle .material-symbols-outlined { color: #2d4a3e; }

/* Video */
.video-play-btn { 
    animation: videoPulse 2.5s ease-in-out infinite;
    transition: transform 0.3s ease;
}
.video-play-btn:hover { transform: scale(1.1); }
@keyframes videoPulse { 
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); } 
    50% { box-shadow: 0 0 0 25px rgba(255,255,255,0); } 
}

/* Price Cards */
.price-card {
    transition: all 0.3s ease;
}
.price-card:hover {
    box-shadow: 0 20px 50px rgba(45,74,62,0.1);
}

/* Price Tabs */
.price-tab { transition: all 0.3s ease; }

/* FAQ - smooth accordion */
.faq-item {
    transition: box-shadow 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(45,74,62,0.06);
}
.faq-trigger { cursor: pointer; transition: background 0.2s ease; }
.faq-trigger:hover { background: rgba(242,238,228,0.5); }
.faq-icon { transition: transform 0.3s ease; }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-content.active { max-height: 250px; }

/* Contact cards */
.contact-card {
    transition: all 0.3s ease;
}
.contact-card:hover {
    border-color: rgba(45,74,62,0.3);
    box-shadow: 0 8px 30px rgba(45,74,62,0.08);
}

/* Form inputs - focus glow */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2d4a3e !important;
    box-shadow: 0 0 0 3px rgba(45,74,62,0.1);
}

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: #2d4a3e; color: white;
    border: none; border-radius: 50%;
    cursor: pointer; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(45,74,62,0.3); z-index: 100;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { 
    background: #3e6152; 
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45,74,62,0.4);
}

/* Hero image hover */
.hero-image-hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-image-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(45,74,62,0.2);
}
.hero-image-hover img {
    transition: transform 0.6s ease;
}
.hero-image-hover:hover img {
    transform: scale(1.05);
}

/* About image hover - ferde alapból, egyenes hover-nél */
.about-image-hover {
    transform: rotate(-2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-image-hover:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 35px 70px rgba(45,74,62,0.2);
}
.about-image-hover img {
    transition: transform 0.6s ease;
}
.about-image-hover:hover img {
    transform: scale(1.05);
}

/* Price cards hover */
.price-card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.price-card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(45,74,62,0.15);
    background: linear-gradient(180deg, #fff 0%, #f8f7f2 100%);
}

/* Review cards hover */
.review-card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.review-card-hover:hover {
    transform: translateY(-6px);
    background: white;
    box-shadow: 0 20px 40px rgba(45,74,62,0.1);
    border-color: rgba(45,74,62,0.2);
}

/* Contact cards hover */
.contact-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-card-hover:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: 0 15px 35px rgba(45,74,62,0.12);
    border-color: #2d4a3e;
}
.contact-card-hover:hover .material-symbols-outlined {
    transform: scale(1.1);
}

/* Smooth image hover zoom */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s ease;
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Link underline animation */
.link-animated {
    position: relative;
}
.link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: #2d4a3e;
    transition: width 0.3s ease;
}
.link-animated:hover::after {
    width: 100%;
}

/* Footer links hover */
footer a {
    transition: color 0.2s ease;
}

/* Map grayscale -> color on hover */
.map-container {
    position: relative;
}
.map-container iframe {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}
.map-container:hover iframe {
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-bubble { display: none; }
    .service-card:hover { transform: none; }
}
