:root {
  --yellow:#FFCE05;
  --black:#000;
  --white:#FFF;
  --gray:#f7f7f7;
}

/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Inter",system-ui,sans-serif;
}

html{scroll-behavior:smooth}
body{
  background:var(--white);
  color:var(--black);
  line-height:1.6;
}

/* ================= HEADER ================= */
.header{
  position:fixed;
  top:0;
  width:100%;
  padding:1rem 2rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(12px);
  z-index:100;
  transition:.3s;
}

.logo{
  font-weight:900;
  letter-spacing:2px;
  font-size:1.4rem;
}

.nav a{
  margin-left:1.4rem;
  text-decoration:none;
  color:var(--black);
  font-weight:500;
  position:relative;
}

.nav a::after{
  content:"";
  position:absolute;
  bottom:-4px;
  left:0;
  width:0;
  height:2px;
  background:var(--yellow);
  transition:.3s;
}

.nav a:hover::after{width:100%}

.btn{
  background:var(--yellow);
  padding:.6rem 1.4rem;
  border-radius:30px;
  font-weight:600;
  color:var(--black);
}

/* ================= HERO ================= */
.hero{
  height:100vh;
  background:
    linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.4)),
    url("https://images.unsplash.com/photo-1522163182402-834f871fd851");
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:var(--white);
  position:relative;
  overflow:hidden;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 30%,rgba(255,206,5,.25),transparent 60%);
  animation:pulse 6s infinite alternate;
}

@keyframes pulse{
  from{opacity:.4}
  to{opacity:.9}
}

.hero h1{
  font-size:clamp(2.5rem,5vw,4rem);
}

.hero span{color:var(--yellow)}

.big{font-size:1.1rem}

/* ================= SECTIONS ================= */
.section{
  padding:6rem 2rem;
  max-width:1200px;
  margin:auto;
  position:relative;
}

.section::before{
  content:"";
  position:absolute;
  top:-1px;
  left:0;
  width:100%;
  height:80px;
  background:inherit;
  clip-path:ellipse(70% 100% at 50% 0%);
}

.alt{background:var(--gray)}

.section h2{
  text-align:center;
  font-size:2.2rem;
  margin-bottom:3rem;
}

.center{
  max-width:700px;
  margin:auto;
  text-align:center;
}

/* ================= CARDS ================= */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:2rem;
}

.card{
  padding:2.5rem;
  border-radius:24px;
  background:var(--white);
  box-shadow:0 15px 40px rgba(0,0,0,.1);
  transition:.4s cubic-bezier(.4,0,.2,1);
}

.card:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 30px 60px rgba(0,0,0,.15);
}

/* ================= TRIPS ================= */
.trips{padding-bottom:8rem}

.trip-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:2rem;
}

.trip-card{
  height:380px;
  border-radius:28px;
  overflow:hidden;
  position:relative;
  background-size:cover;
  background-position:center;
  cursor:pointer;
  box-shadow:0 25px 50px rgba(0,0,0,.2);
  transition:.5s;
}

.trip-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.75),transparent);
}

.trip-card:hover{
  transform:translateY(-12px) scale(1.03);
}

.overlay{
  position:absolute;
  bottom:2rem;
  left:2rem;
  right:2rem;
  color:#fff;
  z-index:2;
}

.overlay span{
  color:var(--yellow);
  font-size:.85rem;
  letter-spacing:1px;
  text-transform:uppercase;
}

/* BACKGROUNDS */
.sokoliki{background-image:url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee")}
.decin{background-image:url("https://images.unsplash.com/photo-1519681393784-d120267933ba")}
.macedonia{background-image:url("https://images.unsplash.com/photo-1549880338-65ddcdfd017b")}
.jura{background-image:url("https://images.unsplash.com/photo-1523413651479-597eb2da0ad6")}

/* ================= CONTACT ================= */
.contact{
  background:var(--yellow);
}

.contact-box{
  text-align:center;
  font-size:1.05rem;
}

.contact-form{
  max-width:600px;
  margin:3rem auto 0;
  display:flex;
  flex-direction:column;
  gap:1.2rem;
}

.contact-form input,
.contact-form textarea{
  padding:1rem 1.2rem;
  border-radius:18px;
  border:none;
  font-size:1rem;
  outline:none;
  background:rgba(255,255,255,.95);
  box-shadow:0 12px 30px rgba(0,0,0,.15);
  transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
  transform:translateY(-2px);
  box-shadow:0 20px 45px rgba(0,0,0,.25);
}

.contact-form button{
  align-self:center;
  background:var(--black);
  color:var(--white);
  padding:.8rem 2.5rem;
  border-radius:40px;
  border:none;
  cursor:pointer;
  transition:.3s;
}

.contact-form button:hover{
  transform:translateY(-3px);
  background:#111;
}

/* ================= FOOTER ================= */
.footer{
  background:var(--black);
  color:var(--white);
  text-align:center;
  padding:1.6rem;
}

/* ================= RWD ================= */
@media(max-width:768px){
  .nav{display:none}
}

/* --- GALERIA MASONRY --- */

.gallery {
  column-count: 3;
  column-gap: 1.5rem;
}

.gallery a {
  display: block;
  margin-bottom: 1.5rem;
  break-inside: avoid;
}

.gallery img {
  width: 100%;
  border-radius: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
}

/* RWD */
@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .gallery {
    column-count: 1;
  }
}
/* --- FORMULARZ KONTAKTOWY --- */

.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  align-self: center;
  cursor: pointer;
  border: none;
}

/* reCAPTCHA wycentrowana */
.g-recaptcha {
  display: flex;
  justify-content: center;
}
