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

body{
  font-family:'Montserrat', sans-serif;
  background:#f5f5f5;
  color:#111;
  overflow-x:hidden;
}

/* NAVBAR */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 60px;
  z-index:1000;
  background:transparent;
  transition:background 0.35s ease, box-shadow 0.35s ease;
}

/* na skrol: header se pojavi (fejduje u bijelo) i ostaje fiksiran */
header.scrolled{
  background:#fff;
  box-shadow:0 2px 14px rgba(0,0,0,0.10);
}

header.scrolled nav a{
  color:#16384a;
}

header.scrolled nav a.active{
  color:#0e8388;
}

/* logo: bijel preko heroja, normalan (u boji) kad je header bijel */
header.scrolled .logo-mark{
  filter:none;
}

/* burger prati boju logoa: bijel na vrhu, taman kad je header bijel */
header .nav-toggle-label span{
  background:#fff;
}
header.scrolled .nav-toggle-label span{
  background:#16384a;
}
/* X ostaje taman dok je meni otvoren (stoji preko svijetlog panela) */
header .nav-toggle-cb:checked ~ .nav-toggle-label span{
  background:#16384a;
}

.logo{
  display:flex;
  align-items:center;
  color:white;
  font-size:28px;
  font-weight:700;
  letter-spacing:2px;
}

/* Header logo image – tinted white so it shows over the hero image */
.logo-mark{
  display:block;
  width:62px;
  height:62px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}

nav{
  display:flex;
  gap:45px;
}

nav a{
  color:white;
  text-decoration:none;
  font-size:16px;
  font-weight:500;
  letter-spacing:2px;
  transition:0.3s;
}

nav a:hover{
  opacity:0.7;
}

nav a.active{
  color:#0e8388;
}

/* HERO */

.hero{
  position:relative;
  width:100%;
  height:100vh;

  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url('../images/hero.webp');

  background-size:cover;
  background-position:center;

  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}

.hero-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  margin:0 8% 8% 0;
  text-align:left;
  z-index:2;
}

.hero-heading{
  display:flex;
  align-items:stretch;
}

.line{
  width:6px;
  background:#00d2d3;
  margin-right:25px;
  border-radius:10px;
}

.hero h1{
  color:white;
  font-size:58px;
  line-height:1.1;
  font-weight:700;
  margin-bottom:0;
}

.hero-content button{
  margin-top:30px;
}

.hero button{
  width:min(416px, 85vw);
  height:clamp(52px, 9vw, 68px);
  border:none;
  border-radius:40px;
  background:#00b7c2;
  color:white;
  font-size:clamp(14px, 2vw, 18px);
  cursor:pointer;
  transition:0.3s;
}

.hero button:hover{
  background:#009ea7;
  transform:translateY(-2px);
}

/* SERVICES */

.services{
  position:relative;
  overflow:hidden;
  padding:90px 8% 110px;
  background:#fff;
}

/* decorative mint ring, bottom-right */
.services::after{
  content:"";
  position:absolute;
  right:-150px;
  bottom:0;
  width:330px;
  height:330px;
  border-radius:50%;
  border:45px solid #dcefe8;
  z-index:0;
}

/* "Popular" heading – identical to the blog, centered based on the line
   (container = line width 290px, so the line is centered, title on the left). */
.services-title{
  width:fit-content;
  max-width:100%;
  margin:0 auto 75px;
}

.services-title h2{
  font-size:30px;
  font-weight:600;
  line-height:1.1;
  margin-bottom:0;
  color:#111;
}

/* Wavy (mountain) line below the section titles (like on the blog).
   The flat part (.line-flat) stretches, while the peaks (.line-peaks) stay a
   fixed size – so on longer titles the peaks don't overlap the text. */
.section-line{
  display:flex;
  align-items:flex-end;
  width:calc(100% + 153px);   /* title width + 3px gap + 150px peaks */
  height:58px;
  margin:-52px 0 36px;
}

.line-flat{
  flex:1 1 auto;              /* flat part = exactly the title width */
  border-bottom:1.5px solid #16384a;
}

.line-peaks{
  flex:0 0 auto;
  width:150px;
  height:58px;                /* flat part connects to the peaks, no gap */
}

.services-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  column-gap:50px;
  row-gap:70px;
  max-width:1000px;
  margin:0 auto;
}

.service-card{
  text-align:center;
}

.icon{
  width:clamp(64px, 12vw, 90px);
  height:clamp(64px, 12vw, 90px);
  margin:0 auto 22px;

  background:#d9efe8;
  border-radius:50%;

  display:flex;
  justify-content:center;
  align-items:center;

  color:#2ba596;
}

.icon svg{
  width:45%;
  height:45%;
}

.icon.icon-photo{
  background:none;
}

.icon.icon-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.service-card h3{
  margin-bottom:16px;
  font-size:20px;
  font-weight:600;
  color:#222;
}

.service-card p{
  color:#555;
  line-height:1.7;
  font-size:15px;
  text-align:center;
}

/* ONE DAY TOUR */

.one-day-tour{
  width:100%;
  padding:70px 20px;

  background-image:url('../images/mountain-background.webp');
  background-size:cover;
  background-position:center;

  display:flex;
  justify-content:center;
  align-items:center;
}

.odt-card{
  width:100%;
  max-width:900px;
  padding:40px clamp(20px, 5vw, 55px);

  background:rgba(240,243,244,0.55);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  border:1px solid rgba(255,255,255,0.35);
  border-radius:22px;

  color:#1f1f1f;
}

.odt-title{
  width:fit-content;
  max-width:100%;
  margin:0 auto 30px;
}

.odt-title h2{
  font-size:30px;
  font-weight:600;
  line-height:1.1;
  margin-bottom:0;
  color:#111;
}

.odt-stats{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:30px;
}

.odt-stat{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:clamp(16px, 2.2vw, 20px);
  font-weight:700;
}

.odt-stat svg{
  width:30px;
  height:30px;
  flex-shrink:0;
}

.odt-rating{
  color:#1f1f1f;
}

.odt-rating svg{
  width:28px;
  height:28px;
}

.odt-text p{
  font-size:clamp(13px, 1.7vw, 15px);
  line-height:1.7;
  text-align:justify;
  margin-bottom:16px;
}

.odt-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
  margin-top:10px;
}

.odt-actions button{
  width:min(416px, 85vw);
  height:clamp(52px, 9vw, 68px);
  border:none;
  border-radius:40px;
  background:#00b7c2;
  color:white;
  font-size:clamp(14px, 2vw, 18px);
  cursor:pointer;
  transition:0.3s;
}

.odt-actions button:hover{
  background:#009ea7;
  transform:translateY(-2px);
}

.odt-actions a{
  color:#1f1f1f;
  font-size:clamp(13px, 1.6vw, 15px);
  font-weight:500;
  letter-spacing:1px;
  text-decoration:underline;
}

/* CONNECT WITH US */

.connect{
  width:100%;
  padding:60px 20px;

  background-image:
    linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72)),
    url('../images/connect-bg.webp');
  background-size:cover;
  background-position:center;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:35px;
}

.connect-card{
  width:100%;
  max-width:920px;
  padding:45px clamp(25px, 5vw, 60px) 50px;

  background:#fff;
  border-radius:22px;
  box-shadow:0 15px 50px rgba(0,0,0,0.12);
}

.connect-social-card{
  padding:26px clamp(25px, 5vw, 60px);
}

.connect-title{
  width:fit-content;
  max-width:100%;
  margin:0 auto 18px;
}


.connect-title h2{
  font-size:30px;
  font-weight:600;
  line-height:1.1;
  margin-bottom:0;
  color:#111;
}

.connect-sub{
  max-width:620px;
  margin:0 auto 40px;
  text-align:center;
  color:#1f1f1f;
  font-size:clamp(12px, 1.6vw, 14px);
  line-height:1.7;
}

.connect-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px 40px;
  max-width:780px;
  margin:0 auto;
}

.cf-col{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.cf-field{
  position:relative;
}

.cf-field input{
  width:100%;
  height:48px;
  padding:0 44px 0 22px;
  border:1.5px solid #7fcbc4;
  border-radius:30px;
  font-family:'Montserrat', sans-serif;
  font-size:14px;
  color:#333;
  outline:none;
  background:#fff;
}

.cf-field input::placeholder{
  color:#b0b0b0;
}

.cf-field input:focus{
  border-color:#00b7c2;
}

.cf-info{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);

  width:22px;
  height:22px;
  border-radius:50%;
  background:#d9d9d9;
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-style:italic;
  font-weight:600;
  cursor:default;
}

.connect-form textarea{
  width:100%;
  min-height:160px;
  padding:16px 22px;
  border:1.5px solid #7fcbc4;
  border-radius:20px;
  font-family:'Montserrat', sans-serif;
  font-size:14px;
  color:#333;
  outline:none;
  resize:vertical;
}

.connect-form textarea::placeholder{
  color:#b0b0b0;
}

.connect-form textarea:focus{
  border-color:#00b7c2;
}

.cf-send{
  align-self:flex-start;
  margin-top:6px;
  padding:12px 40px;
  border:none;
  border-radius:40px;
  background:#00b7c2;
  color:#fff;
  font-family:'Montserrat', sans-serif;
  font-size:15px;
  cursor:pointer;
  transition:0.3s;
}

.cf-send:hover{
  background:#009ea7;
  transform:translateY(-2px);
}

.connect-social{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(30px, 8vw, 80px);
}

.connect-social a{
  color:#0d7377;
  transition:0.3s;
}

.connect-social a:hover{
  color:#00b7c2;
  transform:translateY(-3px);
}

.connect-social svg,
.connect-social img{
  width:48px;
  height:48px;
  display:block;
  object-fit:contain;
}

.connect-social a[aria-label="Facebook"] img{
  width:44px;
  height:44px;
  transform:translateY(-3px);
}

/* FOOTER (desktop = blog style; mobile <=820px = homepage style) */

.footer{
  margin-top:0;
}

.footer-body{
  position:relative;
  height:215px;
  background-color:#008080;
  background-image:url('../images/footer.webp');
  background-size:100% 205px;
  background-position:bottom center;
  background-repeat:no-repeat;
}

/* Footer logo – white, top-left on the teal strip */
.footer-logo{
  position:absolute;
  top:24px;
  left:12%;
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

.footer-logo .footer-logo-mark{
  width:62px;
  height:62px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}

/* SVG peaks – used only on mobile (teal -> white transition) */
.footer-peaks{
  display:none;
}

.footer-nav{
  position:absolute;
  left:0;
  right:0;
  bottom:30px;
  display:flex;
  justify-content:center;
  gap:55px;
  flex-wrap:wrap;
  padding:0 20px;
}

.footer-nav a{
  color:#333;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}

.footer-nav a:hover{
  color:#0e8d92;
}

.footer-copy{
  text-align:center;
  font-size:13px;
  color:#444;
  padding:16px;
  background:#fff;
}

/* RESPONSIVE */

@media(max-width:900px){

  header{
    padding:25px;
  }

  nav{
    gap:20px;
  }

  .hero-content{
    margin-left:7%;
  }

  .hero h1{
    font-size:42px;
  }

  .connect-form{
    grid-template-columns:1fr;
  }

}

/* Mobile/tablet: homepage style – teal with a centered logo, SVG peaks as a
   transition, then a white block with the nav links. */
@media(max-width:820px){
  .footer-body{
    height:auto;
    background-image:none;
    display:flex;
    flex-direction:column;
  }

  .footer-logo{
    position:static;
    margin:34px auto 24px;
  }

  .footer-peaks{
    display:block;
    width:100%;
    height:130px;
    margin-bottom:-1px;
  }

  .footer-nav{
    position:static;
    background:#fff;
    margin:0;
    padding:26px 22px;
    gap:14px 24px;
  }
}

@media(max-width:600px){

  header{
    flex-direction:column;
    gap:20px;
  }

  .hero h1{
    font-size:32px;
  }

  /* naslovi sekcija manji na telefonu */
  .services-title h2,
  .odt-title h2,
  .connect-title h2{
    font-size:20px;
  }

  /* planinice dosta manje na telefonu — crta ostaje široka kao naslov,
     a vrhovi se nadovezuju na njen desni kraj */
  .section-line{
    width:calc(100% + 63px);   /* širina naslova + 3px + 60px vrhovi */
    height:30px;
    margin:-24px 0 26px;
  }

  .line-peaks{
    width:60px;
    height:30px;
  }

  /* na telefonu je višak 63px, pa je pomak pola toga */
  .services-title,
  .odt-title,
  .connect-title{
    transform:translateX(-31px);
  }

}
/* Force Montserrat on all form controls (buttons, inputs, etc.) */
button,
input,
textarea,
select,
optgroup,
option{
  font-family:'Montserrat', sans-serif;
}
