/* GLOBAL FIX */

*{
box-sizing:border-box;
}

/* BODY */

body{
margin:0;
font-family:Arial;
background:linear-gradient(to bottom,#ffffff,#f7f7f7);
}

/* MENU */

.menu{
position:fixed;
top:0;
left:0;
width:100%;
padding:15px 0;
background:#222;
text-align:center;
z-index:1000;
}

.menu a{
color:white;
text-decoration:none;
margin:0 20px;
font-size:18px;
font-weight:bold;
}

.menu a:hover{
color:#e67e22;
}

/* ESILEHT */

.home .menu{
background:rgba(0,0,0,0.6);
}

/* SMOOTH SCROLL */

html{
scroll-behavior:smooth;
}

/* HERO */

.hero{
position:relative;
height:100vh;
overflow:hidden;
}

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.35);
}

.hero video{
position:absolute;
top:50%;
left:50%;
min-width:100%;
min-height:100%;
transform:translate(-50%,-50%);
object-fit:cover;
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
color:white;
text-align:center;
text-shadow:0 0 10px black;
z-index:2;
}

.hero h1{
font-size:50px;
margin:0;
}

.hero p{
font-size:20px;
}

/* BUTTON */

.btn{
background:#e67e22;
padding:15px 30px;
border:none;
font-size:18px;
color:white;
cursor:pointer;
border-radius:5px;
margin-top:20px;
}

/* SECTIONS */

.section{
max-width:1100px;
margin:auto;
padding:100px 20px 60px 20px;
}

.section h2{
text-align:center;
margin-bottom:40px;
}

/* GRID */

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

.grid img{
width:100%;
border-radius:8px;
}

/* FORM */

input, textarea{
width:100%;
padding:12px;
border-radius:5px;
border:1px solid #ccc;
font-size:16px;
}

/* FORM spacing FIX */

.contact-box form{
display:flex;
flex-direction:column;
gap:10px;
}

/* CONTACT FOOTER */

.contact{
background:#222;
color:white;
text-align:center;
padding:60px 20px;
}

/* GALERII */

.gallery-item{
position:relative;
}

.gallery-item img{
width:100%;
display:block;
}

.overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
display:flex;
justify-content:center;
align-items:center;
opacity:0;
transition:0.3s;
}

.gallery-item:hover .overlay{
opacity:1;
}

/* TOOTE KAARDID */

.card{
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card-content{
padding:15px;
}

.card h3{
margin-top:0;
}

.card p{
font-size:15px;
line-height:1.6;
}

/* GALERII PAGE FIX */

.gallery-page{
min-height:100vh;
display:flex;
flex-direction:column;
}

.gallery-page .section{
flex:1;
}

/* WHATSAPP BUTTON */

.whatsapp-btn{
position:fixed;
bottom:20px;
right:20px;
width:60px;
height:60px;
background:#25D366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 5px 20px rgba(0,0,0,0.3);
z-index:999;
animation:pulse 2s infinite;
transition:0.3s;
}

.whatsapp-btn:hover{
transform:scale(1.1);
animation:none;
}

.whatsapp-btn svg{
width:30px;
height:30px;
fill:white;
}

/* PULSE */

@keyframes pulse{
0%{ box-shadow:0 0 0 0 rgba(37,211,102,0.7); }
70%{ box-shadow:0 0 0 15px rgba(37,211,102,0); }
100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}


/* CONTACT PAGE CLEAN */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    max-width:1200px;
    margin:auto;
    align-items:stretch;
}

.contact-box{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}


.contact-box iframe{
width:100%;
height:100%;
min-height:300px;
border-radius:10px;
}

/* MOBILE */

@media(max-width:768px){
.contact-grid{
grid-template-columns:1fr;
}
}

/* FOOTER IMPROVE */

.footer-divider{
width:60px;
height:3px;
background:#e67e22;
margin:30px auto;
border-radius:5px;
}

.footer-bottom{
text-align:center;
margin-top:10px;
}

.footer-bottom p{
margin:5px 0;
}

.footer-small{
font-size:14px;
color:#aaa;
}


/* THANK YOU PAGE ONLY */

.thankyou {
    background: linear-gradient(135deg, #111, #1a1a1a);
    color: #fff;
}

.thankyou .center-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.thankyou .logo {
    max-width: 300px; /* enne oli liiga suur */
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.thankyou .center-box {
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: auto;
}

.thankyou p {
    margin-bottom: 30px; /* enne oli liiga väike */
}

/* CONTACT PAGE FIX (footer alla) */

.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact {
    margin-top: auto;
}