/* --- SZÍNEK ÉS ALAPOK --- */
:root {
    --bubblegum: #ff85a2;
    --sunshine: #ffde59;
    --brown: #6b5602a8;
    --sky: #38b6ff;
    --mint: #7ed957;
    --text-dark: #2d3436;
    --bg-cream: #fffaf5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(255, 133, 162, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(56, 182, 255, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(126, 217, 87, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 10% 85%, rgba(255, 222, 89, 0.5) 0%, transparent 40%);
}

h1, h2, h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- NAVIGÁCIÓ --- */
nav {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: 4px solid var(--text-dark);
    box-shadow: 4px 4px 0px var(--text-dark);
    display: flex;
    align-items: center;
    z-index: 1000;
    width: max-content;
    max-width: 95%;
    transition: all 0.3s ease;
}

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

.nav-small-logo {
    height: 45px;
    width: auto;
    display: block;
    margin-right: 30px;
    user-select: none;
    -webkit-user-drag: none;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 20px;
    transition: 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
}

nav a:hover {
    background-color: var(--sunshine);
    transform: translateY(-5px) rotate(-3deg);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: 0.3s ease-in-out;
}

/* --- KEZDŐOLDAL --- */
.magic-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 40px;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    max-width: 900px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.hero-image-teaser {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0 45px 0;
}

.teaser-img {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, z-index 0.3s ease;
    cursor: pointer;
}

.teaser-img.img-left {
    transform: rotate(-6deg);
}

.teaser-img.img-right {
    transform: rotate(6deg);
}

.teaser-img.img-center {
    transform: scale(1.1);
    z-index: 2;
}

.teaser-img:hover {
    transform: scale(1.15) rotate(0deg);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.main-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 1.1;
    margin-top: -90px;
    margin-bottom: 20px;
    color: magenta;
    text-shadow: 2px 2px 10px rgba(255, 0, 255, 0.3);
    font-weight: 400;
    transform: rotate(-3deg);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-magic {
    display: inline-block;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-dark);
    background-color: var(--sunshine);
    padding: 15px 40px;
    border-radius: 100px;
    border: 4px solid var(--text-dark);
    box-shadow: 6px 6px 0px var(--text-dark);
    transition: 0.2s;
    cursor: pointer;
}
.btn-magic:hover {
    transform: translateY(-3px);
    background-color: var(--mint);
    box-shadow: 6px 9px 0px var(--text-dark);
}

section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 100%;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5%;
    width: 110%;
    height: 15px;
    background-color: var(--sky);
    z-index: -1;
    border-radius: 10px;
}


/* --- RÓLAM --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 40px;
    border: 5px solid var(--text-dark);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05);
}
.polaroid {
    background: white;
    padding: 15px 15px 40px 15px;
    border: 3px solid var(--text-dark);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
    transform: rotate(-3deg);
    transition: 0.3s;
    cursor: pointer;
}
.polaroid img {
    width: 100%;
    border-radius: 5px;
    border: 2px solid #ddd;
}
.about-text h3 {
    font-size: 2.2rem;
    color: var(--sky);
    margin-bottom: 15px;
}
.about-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* --- SZOLGÁLTATÁSOK --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px
}
.service-card {
    background: white;
    padding: 30px;
    border-radius: 30px;
    border: 4px solid var(--text-dark);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); }
.service-card:nth-child(1) h3 { color: var(--bubblegum); }
.service-card:nth-child(2) h3 { color: var(--sky); }
.service-card:nth-child(3) h3 { color: var(--mint); }
.service-card:nth-child(4) h3 { color: var(--brown); }
.badge-warning {
    background: #ff4757;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    transform: rotate(-2deg);
    border: 2px solid var(--text-dark);
    margin-top: 3px;
    margin-bottom: 3px;
}

/* --- GALÉRIA SZŰRŐ GOMBOK --- */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.filter-btn {
    background: white;
    border: 3px solid var(--text-dark);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    transition: 0.2s;
}
.filter-btn:hover { background: var(--sunshine); }
.filter-btn.active {
    background: var(--sky);
    color: white;
}

/* --- KÉPEK --- */
.scrapbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.scrapbook-item {
    background: white; 
    padding: 10px; 
    border: 3px solid var(--text-dark);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1); 
    cursor: pointer;
    position: relative; 
    z-index: 1;
    transition: transform 0.2s ease-out; 
    will-change: transform;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}
.scrapbook-item:nth-child(odd) { transform: rotate(2deg); }
.scrapbook-item:nth-child(even) { transform: rotate(-2deg); }

.scrapbook-item:hover { 
    transform: scale(1.02) rotate(0deg); 
    z-index: 10; 
}
.scrapbook-item img {
    width: 100%; 
    aspect-ratio: 1/1; 
    object-fit: cover; 
    border: 2px solid #eee; 
    transform: translateZ(0);
}
.scrapbook-item p {
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    margin-top: 10px;
    font-size: 1rem;
}

/* --- LIGHTBOX (KÉP NAGYÍTÁS) --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 52, 54, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightbox.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    border: 5px solid white;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    
    transform: scale(0.95);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

#lightbox.show img {
    transform: scale(1);
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
}

/* --- ÁRAK --- */
.price-board {
    background: white;
    background-image: repeating-linear-gradient(transparent, transparent 39px, #ccc 39px, #ccc 40px);
    padding: 50px;
    border-radius: 20px;
    border: 4px solid black;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    line-height: 1.4;
    border-bottom: 2px dashed rgba(0,0,0,0.1);
    padding-bottom: 10px;
}
.price-row:last-child { border-bottom: none; }
.price-name {
    font-size: 1.5rem;
    font-family: 'Fredoka', sans-serif;
    padding-right: 15px;
}
.price-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: black;
    white-space: nowrap;
}

/* --- KAPCSOLAT --- */
.contact-card {
    background: white;
    padding: 40px;
    border-radius: 40px;
    border: 5px solid var(--text-dark);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.05);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    transition: 0.3s;
}
.contact-link {
    display: inline-block;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-dark);
    margin: 10px 0;
    padding: 10px;
    border-radius: 20px;
    transition: 0.2s;
    word-break: break-all;
    cursor: default;
}
.contact-link:hover {
    background-color: var(--bg-cream);
    transform: scale(1.05);
}
.contact-link.phone { color: magenta; }
.contact-link.email { color: var(--sky); }

/* --- KÖZÖSSÉGI MÉDIA GOMBOK --- */
.social-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: white;
    border: 3px solid var(--text-dark);
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    text-decoration: none;
    box-shadow: 4px 4px 0px var(--text-dark);
    transition: 0.2s;
}
.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 4px 8px 0px var(--text-dark);
}
.social-btn.fb-btn:hover { background: var(--sky); }
.social-btn.ig-btn:hover { background: var(--bubblegum); }

/* --- SÜTI SÁV --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px 5%;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 4px solid var(--sky);
    flex-wrap: wrap;
    gap: 15px;
    font-family: 'Nunito', sans-serif;
}
.cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.95rem;
    line-height: 1.4;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-cookie-accept {
    background: var(--mint);
    padding: 10px 25px;
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    transition: 0.2s;
}
.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0px var(--text-dark);
}
.btn-cookie-decline {
    background: #f1f2f6;
    padding: 10px 20px;
    border: 3px solid #ccc;
    color: #555;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    transition: 0.2s;
}
.btn-cookie-decline:hover { background: #dfe4ea; }

/* TABLET NÉZET */
@media (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: stretch;
        padding: 15px 20px;
        border-radius: 25px;
        width: 90%;
    }

    .nav-header {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .nav-small-logo {
        margin: 0;
        height: 45px;
    }

    .hamburger {
        display: flex;
        margin: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 15px;
        margin-top: 15px;
        border-top: 2px dashed rgba(0,0,0,0.1);
    }

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

    nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    nav a:hover {
        transform: scale(1.05);
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    section { padding: 60px 5%; }
    .about-grid {
        gap: 30px;
        padding: 30px;
    }
    .price-board { padding: 30px; }
}

/* MOBIL NÉZET */
@media (max-width: 850px) {
    .magic-hero { padding-top: 140px; }
    .hero-content { padding: 30px 20px; }
    .main-title { margin-top: -60px; }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .polaroid {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        border-bottom: none;
    }
    .price-name {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .contact-card { padding: 25px 15px; }

    #cookie-banner {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    .btn-cookie-accept, .btn-cookie-decline { width: 100%; }
}

/* KIS KÉPERNYŐS TABLETEK */
@media (max-width: 768px) {
    .hero-image-teaser {
        gap: 10px;
    }
    .teaser-img {
        width: 100px;
        height: 140px;
        border-width: 2px;
    }
    .teaser-img.img-center {
        transform: scale(1.05);
    }
}



/* KIS KÉPERNYŐS MOBILOK */
@media (max-width: 480px) {
    nav a {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    section { padding: 50px 15px; }
    .main-title { margin-top: -45px; }
    .hero-content { border-width: 2px; }
    
    .filter-btn { width: 100%; }
    
    .scrapbook-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .price-board { padding: 20px; }
    .price-value { font-size: 1.5rem; }
}