/* =========================
   BASE
========================= */

*{
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
margin:0;
font-family:'Poppins',sans-serif;
background:#fafafa;
color:#4a4a4a;
overflow-x:hidden;
line-height:1.6;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

.container{
max-width:1200px;
margin:0 auto;
padding:0 30px;
}

section{
padding:80px 0;
}



/* =========================
   HEADER
========================= */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:22px 60px;
background:linear-gradient(90deg,#f7efe5,#f3d6d3);
position:sticky;
top:0;
z-index:9999;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
}

header.scrolled{
background:rgba(247,239,229,0.95);
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

header h1{
margin:0;
font-family:'Playfair Display',serif;
font-size:34px;
font-weight:500;
letter-spacing:2px;
color:#5c4a4a;
}

nav{
display:flex;
align-items:center;
gap:0;
}

nav a{
margin-left:32px;
font-size:18px;
font-weight:500;
color:#4a4a4a;
position:relative;
transition:.3s;
letter-spacing:0.5px;
}

nav a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:#8fbf9f;
transition:.3s;
}

nav a:hover{
color:#8fbf9f;
}

nav a:hover::after{
width:100%;
}

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
color:#4a4a4a;
user-select:none;
position:relative;
z-index:10001;
background:none;
border:none;
}



/* =========================
   COMMON TITLES
========================= */

.products h2,
.gallery h2,
.contact-preview h2,
.contact h2,
.why-us h2,
.gallery-page h2,
.page-hero h1,
.about-text-only h2,
.service-text h2{
font-family:'Playfair Display',serif;
color:#4a4a4a;
}

.products h2,
.gallery h2,
.contact h2,
.gallery-page h2,
.why-us h2{
text-align:center;
font-size:32px;
margin:0 0 15px 0;
}

.products h2::after,
.gallery h2::after,
.contact h2::after,
.gallery-page h2::after,
.why-us h2::after{
content:"";
display:block;
width:80px;
height:3px;
margin:15px auto 0;
border-radius:3px;
background:linear-gradient(90deg,#8fbf9f,#e8cfc4);
}



/* =========================
   HERO
========================= */

.hero{
width:100%;
height:calc(100vh - 88px);
min-height:560px;
background-image:url("../images/hero.webp");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
overflow:hidden;
padding:0 20px;
}

.hero-picture{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:0;
}

.hero-img{
width:100%;
height:100%;
object-fit:cover;
}

.hero::before{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,0.35);
z-index:1;
}

.hero-text{
position:relative;
z-index:4;
color:white;
max-width:760px;
padding:40px;
}

.hero-text h2{
margin:0 0 20px 0;
font-family:'Playfair Display',serif;
font-size:48px;
line-height:1.15;
text-shadow:0 4px 15px rgba(0,0,0,0.35);
}

.hero-text p{
margin:0 0 28px 0;
font-size:18px;
line-height:1.7;
}



/* =========================
   BUTTONS
========================= */

.button,
.contact-form button{
display:inline-block;
background:#8fbf9f;
color:white;
padding:14px 30px;
border:none;
border-radius:30px;
font-weight:500;
font-size:16px;
cursor:pointer;
transition:.3s;
}

.button:hover,
.contact-form button:hover{
background:#6fa885;
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(0,0,0,0.12);
}



/* =========================
   HERO PETAL ANIMATION
========================= */

.petals{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
pointer-events:none;
overflow:hidden;
z-index: index -1;;
}

.petal{
position:absolute;
top:-50px;
width:16px;
height:16px;
background:#f3d6d3;
border-radius:50% 60% 50% 60%;
opacity:.85;
animation:fall linear infinite;
}

.petal:nth-child(1){left:8%;animation-duration:9s;animation-delay:0s;}
.petal:nth-child(2){left:18%;animation-duration:12s;animation-delay:1s;}
.petal:nth-child(3){left:32%;animation-duration:10s;animation-delay:2s;}
.petal:nth-child(4){left:48%;animation-duration:14s;animation-delay:.5s;}
.petal:nth-child(5){left:64%;animation-duration:11s;animation-delay:1.5s;}
.petal:nth-child(6){left:80%;animation-duration:9s;animation-delay:2.5s;}
.petal:nth-child(7){left:94%;animation-duration:13s;animation-delay:1s;}

@keyframes fall{
0%{
transform:translateY(-50px) rotate(0deg);
opacity:0;
}
10%{
opacity:.85;
}
100%{
transform:translateY(900px) rotate(360deg);
opacity:0;
}
}



/* =========================
   PRODUCTS
========================= */

.products{
padding:90px 0 80px;
background:#f7efe5;
}

.products .container{
max-width:1500px;
}

.products h2{
text-align:center;
margin:0 0 50px 0;
}

.product-grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:42px;
width:100%;
}

.product-card{
background:white;
padding:26px;
border-radius:14px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
display:flex;
flex-direction:column;
height:100%;
transition:.3s;
}

.product-card:hover{
transform:translateY(-6px);
box-shadow:0 16px 35px rgba(0,0,0,0.12);
}

.product-card img{
width:100%;
aspect-ratio:1 / 1;
object-fit:cover;
border-radius:12px;
margin-bottom:16px;
}

.product-card h3{
margin:0 0 10px 0;
font-family:'Playfair Display',serif;
font-size:24px;
line-height:1.25;
color:#4a4a4a;
}

.product-card p{
margin:0;
color:#666;
font-size:15px;
line-height:1.6;
}



/* =========================
   GALLERY ON HOMEPAGE
========================= */

.gallery{
background:#f7efe5;
text-align:center;
}

.gallery-grid{
column-count:3;
column-gap:25px;
margin-top:50px;
}

.gallery-grid img{
width:100%;
margin-bottom:25px;
border-radius:12px;
display:block;
transition:0.35s;
break-inside:avoid;
}

.gallery-grid img:hover{
transform:scale(1.04);
}

.gallery-grid img{
width:100%;
height:300px;
object-fit:cover;
object-position:center;
border-radius:12px;
transition:.35s;
}

.gallery-grid img:hover{
transform:scale(1.04);
}



/* =========================
   PAGE HERO
========================= */

.page-hero{
background:#f7efe5;
text-align:center;
padding:110px 20px 70px;
}

.page-hero h1{
font-size:42px;
margin:0 0 10px 0;
}

.page-hero p{
margin:0;
font-size:18px;
color:#666;
}



/* =========================
   ABOUT / RÓLAM
========================= */

.about{
background:#f7efe5;
padding:80px 0;
}

.about-text-only{
max-width:800px;
margin:0 auto;
text-align:center;
}

.about-text-only h2{
font-size:36px;
margin:0 0 18px 0;
}

.about-text-only p{
font-size:16px;
line-height:1.8;
color:#555;
margin:0 0 15px 0;
}

.section-divider{
width:80px;
height:3px;
margin:28px auto;
border-radius:3px;
background:linear-gradient(90deg,#8fbf9f,#e8cfc4);
}

.flower-divider{
line-height:0;
}

.flower-divider svg{
display:block;
width:100%;
height:100px;
}

.why-us{
background:#f7efe5;
text-align:center;
}

.why-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
margin-top:40px;
}

.why-card{
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:.3s;
}

.why-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,0.14);
}

.why-card h3{
margin:0 0 10px 0;
font-family:'Playfair Display',serif;
font-size:24px;
color:#4a4a4a;
}

.why-card p{
margin:0;
font-size:15px;
line-height:1.7;
color:#666;
}



/* =========================
   SERVICES PAGE
========================= */

.service-detail{
padding:100px 0;
background:#f7efe5;
}

.service-detail.alt{
background:#fafafa;
}

.service-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.service-image img{
width:100%;
height:380px;
object-fit:cover;
object-position:center;
border-radius:12px;
display:block;
}

.temetesi-koszoru img{
object-position:center 70%;
}

.service-text h2{
font-size:32px;
margin:0 0 15px 0;
}

.service-text p{
margin:0 0 15px 0;
font-size:16px;
line-height:1.75;
color:#555;
}



/* =========================
   GALLERY PAGE (MASONRY)
========================= */

.gallery-page{
padding-top:120px;
background:#f7efe5;
}

.masonry-gallery{
column-count:3;
column-gap:20px;
margin-top:50px;
}

.masonry-gallery a{
display:block;
margin-bottom:20px;
break-inside:avoid;
}

.masonry-gallery img{
width:100%;
border-radius:12px;
display:block;
transition:.3s;
}

.masonry-gallery img:hover{
transform:scale(1.03);
}



/* =========================
   CONTACT PREVIEW (HOME)
========================= */

.contact-preview{
background:linear-gradient(135deg,#f7efe5,#f3d6d3);
padding:50px 20px 55px;
text-align:center;
}

.contact-preview p{
max-width:600px;
margin:0 auto 28px;
color:#666;
font-size:17px;
}



/* =========================
   CONTACT PAGE
========================= */

.contact{
background:#f7efe5;
padding:100px 0 80px;
}

.contact h2{
font-size:36px;
margin:0 0 18px 0;
}

.contact-text{
text-align:center;
max-width:700px;
margin:0 auto 50px auto;
font-size:17px;
line-height:1.7;
color:#666;
}

.contact-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:start;
margin-top:40px;
}

.contact-form form{
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form label{
font-size:14px;
color:#666;
margin-bottom:2px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:14px;
border:1px solid #ddd;
border-radius:8px;
font-family:'Poppins',sans-serif;
font-size:15px;
background:white;
color:#4a4a4a;
}

.contact-form textarea{
min-height:140px;
resize:vertical;
}

.contact-map{
margin-top:35px;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.contact-info{
font-size:17px;
line-height:1.9;
text-align:center;
padding-top:10px;
}

.contact-info p{
margin:0 0 18px 0;
color:#4a4a4a;
}

.contact-info strong{
color:#4a4a4a;
}

.contact-info a{
color:#4a4a4a;
text-decoration:none;
transition:.3s;
}

.contact-info a:hover{
color:#8fbf9f;
}

.social-icons{
margin-top:25px;
display:flex;
justify-content:center;
align-items:center;
gap:20px;
}

.social-icons a{
width:45px;
height:45px;
display:flex;
align-items:center;
justify-content:center;
background:#8fbf9f;
color:white;
border-radius:50%;
font-size:18px;
transition:.3s;
}

.social-icons a:hover{
background:#6fa885;
transform:translateY(-3px);
}

.section-divider-full{
width:100%;
height:3px;
margin:0;
background:linear-gradient(90deg,#8fbf9f,#e8cfc4);
}

/* =========================
   FOOTER
========================= */

footer{
background:#333;
color:white;
text-align:center;
padding:25px 20px;
font-size:14px;
}

footer p{
margin:6px 0;
}

footer a{
color:white;
text-decoration:none;
transition:.3s;
}

footer a:hover{
color:#8fbf9f;
}

.site-credit a{
color:inherit;
text-decoration:none;
transition:0.3s;
}

.site-credit a:hover{
opacity:0.7;
}



/* =========================
   MOBILE
========================= */

@media (max-width:1200px){

.product-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}

}

@media (max-width:900px){

.masonry-gallery{
column-count:2;
}

.service-row{
grid-template-columns:1fr;
gap:35px;
}

.service-image img{
height:auto;
}

.why-grid{
grid-template-columns:1fr;
}

}

@media (max-width:768px){

.container{
padding:0 20px;
}

header{
flex-direction:column;
text-align:center;
padding:20px;
position:relative;
}

header h1{
font-size:26px;
}

.menu-toggle{
display:block;
margin-top:10px;
z-index:1002;
}

nav{
position:absolute;
top:100%;
left:0;
width:100%;
display:flex;
flex-direction:column;
align-items:center;
background:rgba(247,239,229,0.97);
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px);
max-height:0;
overflow:hidden;
padding:0;
margin:0;
border-radius:0 0 14px 14px;
box-shadow:0 10px 20px rgba(0,0,0,0.08);
transition:max-height .3s ease, padding .3s ease;
z-index:1001;
}

nav.active{
max-height:420px;
padding:12px 0 16px;
}

nav a{
margin:10px 0;
font-size:18px;
}

nav a::after{
display:none;
}

.hero{
height:420px;
min-height:420px;
background-size:200%;
background-position:center;
}

.hero-text{
padding:20px;
max-width:320px;
}

.hero-text h2{
font-size:28px;
}

.hero-text p{
font-size:16px;
}

.product-grid,
.gallery-grid,
.contact-container{
grid-template-columns:1fr;
gap:25px;
}

.product-card img,
.gallery-grid img{
height:auto;
}

.page-hero{
padding:95px 20px 55px;
}

.page-hero h1{
font-size:32px;
}

.contact{
padding:80px 0 60px;
}

.contact h2{
font-size:30px;
}

.contact-text{
font-size:16px;
margin:0 auto 35px;
padding:0 10px;
}

.contact-info{
text-align:center;
padding-top:0;
}

.social-icons{
justify-content:center;
}

}

@media (max-width:500px){

.masonry-gallery{
column-count:1;
}

}
/* LIGHTBOX */

.lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
justify-content:center;
align-items:center;
z-index:2000;
}

.lightbox img{
max-width:90%;
max-height:85%;
border-radius:10px;
box-shadow:0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close{
position:absolute;
top:30px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}

.lightbox-prev,
.lightbox-next{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:45px;
color:white;
cursor:pointer;
padding:10px;
}

.lightbox-prev{
left:40px;
}

.lightbox-next{
right:40px;
}
@media (max-width:900px){

.gallery-grid{
column-count:2;
}

}

@media (max-width:500px){

.gallery-grid{
column-count:1;
}

}
.site-credit{
font-size:14px;
opacity:0.7;
margin-top:5px;
}

.site-credit a{
color:inherit;
text-decoration:none;
border-bottom:1px dotted;
}

.site-credit a:hover{
opacity:1;
}
.cookie-banner{

position:fixed;
bottom:0;
left:0;
width:100%;

background:#5c4a4a;
color:white;

padding:15px;
text-align:center;

z-index:9999;

}

.cookie-banner button{

margin-left:15px;
padding:8px 16px;

background:#d7b3af;
border:none;
cursor:pointer;
font-weight:500;

}

.map-consent{

text-align:center;
padding:40px;

background:#f7efe5;
border-radius:10px;

}