/* RESET */

html{
  scroll-behavior:smooth;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter', sans-serif;
  background:#f5f2ed;
  color:#111;
  line-height:1.6;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:100%;
  max-width:1400px;
  margin:auto;
}

/* HEADER */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  transition:0.4s ease;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 60px;
}

header.scrolled{
  background:rgba(255,255,255,0.88);
  backdrop-filter:blur(12px);
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.logo{
  margin-left:-250px;
}

.logo img{
  height:42px;
  width:auto;
}

/* NAV */

nav{
  display:flex;
  align-items:center;
  gap:32px;
  margin-right:-250px;
}

nav a{
  text-decoration:none;
  color:white;
  font-size:14px;
  transition:0.3s;
  position:relative;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:1px;
  background:currentColor;
  transition:0.3s;
}

nav a:hover::after{
  width:100%;
}

header.scrolled nav a{
  color:#111;
}

/* HAMBURGER */

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.menu-toggle span{
  width:26px;
  height:2px;
  background:white;
  transition:0.3s;
}

header.scrolled .menu-toggle span{
  background:#111;
}

/* HERO */

.hero{
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px;
  background:url("kepek/Borvitrin.png") center/cover no-repeat;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.40);
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:800px;
  color:white;
}

.hero h1{
  font-size:clamp(42px, 8vw, 88px);
  line-height:1;
  font-weight:300;
  letter-spacing:-3px;
  margin-bottom:24px;
}

.hero p{
  font-size:18px;
  opacity:0.9;
  max-width:650px;
  margin:auto;
}

/* SECTIONS */

section{
  padding:120px 60px;
}

.section-title{
  font-size:clamp(36px, 5vw, 52px);
  font-weight:300;
  margin-bottom:60px;
  letter-spacing:-2px;
}

/* PROJECT CARDS */

.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:48px;
}

.projektek .grid{
  width:calc(100% + 300px);
  margin-left:-150px;
}

.projektek .section-title{
  margin-left:-150px;
}

.kartya{
  overflow:hidden;
  border-radius:24px;
  background:white;
  text-decoration:none;
  color:#111;
  transition:0.4s ease;
  box-shadow:0 4px 12px rgba(0,0,0,0.03);
}

.kartya:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 50px rgba(0,0,0,0.10);
}

.kartya img{
  width:100%;
  height:560px;
  object-fit:cover;
  transition:0.6s ease;
}

.kartya:hover img{
  transform:scale(1.05);
}

.kartya-tartalom{
  padding:28px;
}

.kartya h3{
  margin-bottom:10px;
  font-size:24px;
  font-weight:500;
}

.kartya p{
  opacity:0.7;
}

/* RÓLUNK */

.rolunk .section-title{
  margin-left:-150px;
}

.rolunk p{
  max-width:1100px;
  font-size:20px;
  line-height:1.9;
  opacity:0.85;
  margin-left:-150px;
}

/* KAPCSOLAT */

.kapcsolat{
  background:white;
}

.kapcsolat .section-title{
  margin-left:-150px;
}

.contact-subtitle{
  max-width:620px;
  margin-left:-150px;
  margin-bottom:60px;
  font-size:18px;
  line-height:1.8;
  opacity:0.65;
}

form{
  max-width:900px;
  margin-left:-150px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.kapcsolat input,
.kapcsolat textarea{
  width:100%;
  padding:22px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(0,0,0,0.18);
  border-radius:0;
  font-family:inherit;
  font-size:16px;
  outline:none;
  box-shadow:none;
  resize:none;
  transition:0.3s ease;
}

.kapcsolat input::placeholder,
.kapcsolat textarea::placeholder{
  color:rgba(0,0,0,0.45);
}

.kapcsolat input:focus,
.kapcsolat textarea:focus{
  border-bottom-color:#111;
  box-shadow:0 1px 0 #111;
}

.kapcsolat button{
  align-self:flex-start;
  padding:16px 42px;
  margin-top:22px;
  border:0;
  border-radius:999px;
  background:#111;
  color:white;
  cursor:pointer;
  font-size:14px;
  letter-spacing:0.5px;
  transition:0.3s ease;
}

.kapcsolat button:hover{
  transform:translateY(-2px);
  opacity:0.92;
}

/* HONEYPOT */

input.hidden-field{
  display:none !important;
}

/* FOOTER */

footer{
  background:#111;
  color:#f5f2ed;
  padding:80px 60px 25px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:60px;
  margin-bottom:60px;
}

.footer-brand h3{
  font-size:32px;
  font-weight:300;
  margin-bottom:20px;
  letter-spacing:-1px;
}

.footer-brand p{
  opacity:0.7;
  max-width:320px;
  line-height:1.8;
}

.footer-links h4,
.footer-contact h4{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-bottom:24px;
  opacity:0.5;
}

.footer-links a,
.footer-contact a{
  display:block;
  color:#f5f2ed;
  text-decoration:none;
  margin-bottom:14px;
  opacity:0.8;
  transition:0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover{
  opacity:1;
  transform:translateX(4px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  padding-top:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  opacity:0.5;
}

/* SMOOTH REVEAL */

.reveal{
  opacity:0;
  transform:translateY(80px);
  transition:1s cubic-bezier(.19,1,.22,1);
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* MOBILE */

@media(max-width:768px){

  .header-inner{
    padding:20px;
  }

  .menu-toggle{
    display:flex;
  }

  nav{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:white;
    flex-direction:column;
    padding:24px;
    gap:20px;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    margin-right:0;
  }

  nav.active{
    display:flex;
  }

  nav a{
    color:#111;
  }

  section{
    padding:80px 20px;
  }

  .hero{
    padding:20px;
  }

  .hero h1{
    font-size:48px;
    letter-spacing:-2px;
  }

  .hero p{
    font-size:16px;
    max-width:100%;
  }

  .logo{
    margin-left:0;
  }

  .logo img{
    height:34px;
  }

  .grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .projektek .grid{
    width:100%;
    margin-left:0;
  }

  .kartya img{
    height:320px;
  }

  .rolunk .section-title,
  .kapcsolat .section-title{
    margin-left:0;
  }

  .rolunk p{
    margin-left:0;
    max-width:100%;
    font-size:17px;
    line-height:1.8;
  }

  .contact-subtitle{
    margin-left:0;
    margin-bottom:40px;
    font-size:16px;
  }

  form{
    margin-left:0;
    max-width:100%;
  }

  footer{
    padding:80px 20px 30px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:50px;
    margin-bottom:50px;
  }

  .footer-bottom{
    flex-direction:column;
    gap:10px;
    align-items:flex-start;
  }

  .reveal{
    opacity:1;
    transform:none;
  }

}

/* COOKIE BANNER */

.cookie-banner{
  position:fixed !important;
  left:30px;
  right:30px;
  bottom:30px;
  top:auto !important;

  background:#111;
  color:#f5f2ed;

  padding:22px 26px;
  border-radius:18px;

  display:none;
  justify-content:space-between;
  align-items:center;
  gap:24px;

  z-index:999999;
  box-shadow:0 20px 60px rgba(0,0,0,0.22);
}

.cookie-banner p{
  font-size:14px;
  line-height:1.6;
  opacity:0.85;
  max-width:720px;
}

.cookie-actions{
  display:flex;
  gap:12px;
  flex-shrink:0;
}

.cookie-actions button{
  width:auto;
  border:none;
  border-radius:999px;
  padding:12px 22px;
  margin:0;

  cursor:pointer;
  font-family:inherit;
  font-size:13px;
}

#cookie-decline{
  background:transparent;
  color:#f5f2ed;
  border:1px solid rgba(255,255,255,0.25);
}

#cookie-accept{
  background:#f5f2ed;
  color:#111;
}

@media(max-width:768px){

  .cookie-banner{
    left:16px !important;
    right:16px !important;
    bottom:16px !important;
    top:auto !important;

    max-height:75vh;
    overflow:auto;

    flex-direction:column;
    align-items:flex-start;

    padding:20px;
  }

  .cookie-actions{
    width:100%;
    flex-direction:column;
  }

  .cookie-actions button{
    width:100%;
    padding:14px;
  }

}