:root{
  --bg:#ffffff;
  --ink:#111111;
  --muted:#6b7280;
  --line:rgba(0,0,0,0.08);
  --dark:#0f172a;
  --font:'Poppins', sans-serif;
  --max:1200px;
}

/* ===== RESET ===== */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

/* ===== CONTAINER ===== */

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}

/* ===== TYPOGRAPHY ===== */

h1,h2,h3,h4{
  font-weight:500;
  margin:0;
}

p{
  font-weight:300;
  line-height:1.8;
  color:var(--muted);
  margin:0;
}

/* ===== HEADER ===== */

.main-nav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:80px;
  display:flex;
  align-items:center;
  z-index:7000;   /* ← KLJUČNO */
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,0.05);
}


.nav-wrap{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo img{
  height:20px;
}

.desktop-nav{
  display:flex;
  gap:34px;
}

.desktop-nav a{
  font-size:13px;
  letter-spacing:0.04em;
  font-weight:400;
  color:#374151;
  transition:.2s ease;
}

.desktop-nav a:hover{
  color:#000;
}

/* MOBILE */

.mobile-nav{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  cursor:pointer;
}

.mobile-nav span{
  width:22px;
  height:2px;
  background:#111;
}

.mobile-menu{
  position:fixed;
  top:70px;
  left:0;
  width:100%;
  background:#fff;
  display:none;
  flex-direction:column;
  padding:30px 24px;
  border-top:1px solid var(--line);
  z-index:999;
}

.mobile-menu a{
  padding:12px 0;
  font-size:15px;
}

.mobile-menu.open{
  display:flex;
}

.no-scroll{
  overflow:hidden;
}

/* ===== PAGE OFFSET ===== */

.ms-page{
  padding-top:70px;
}

/* ===== HERO ===== */

.ms-hero{
  position:relative;
  height:90vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
}

.ms-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.ms-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.35));
}

.ms-hero-inner{
  position:relative;
  z-index:2;
  max-width:720px;
}

.ms-hero h1{
  font-size:46px;
  line-height:1.15;
}

.ms-lead{
  margin-top:24px;
  font-size:18px;
  color:#d1d5db;
}

.ms-actions{
  margin-top:34px;
  display:flex;
  align-items:center;
  gap:24px;
}

/* ===== BUTTON ===== */

.btn-solid{
  background:#111;
  color:#fff;
  padding:12px 24px;
  font-size:14px;
  transition:.2s ease;
}

.btn-solid:hover{
  opacity:.85;
}

/* ===== UNDERLINE LINK STYLE ===== */

.link-arrow{
  position:relative;
  font-size:14px;
  font-weight:400;
  padding-bottom:4px;
  display:inline-block;
}

.link-arrow::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:#111;
  transition:.2s ease;
}

.link-arrow:hover{
  opacity:.6;
}

/* WHITE VERSION (DARK SECTION) */

.link-arrow-light{
  position:relative;
  font-size:14px;
  padding-bottom:4px;
  display:inline-block;
  color:#fff;
}

.link-arrow-light::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:#fff;
}

/* ===== SECTIONS ===== */

.ms-section {
  padding: 70px 0;
}

.ms-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
}

/* ===== CAPABILITIES CLEAN 4-IN-ROW ===== */

.ms-cap-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:60px;
  margin-top:70px;
}

.ms-cap{
  transition:.25s ease;
}

.ms-cap:hover{
  transform:translateY(-4px);
}

.ms-cap-icon{
  width:42px;
  height:42px;
  margin-bottom:22px;
  color:#0F2A3D;
}

.ms-cap-number{
  display:block;
  font-size:12px;
  letter-spacing:2px;
  color:#9aa4ad;
  margin-bottom:12px;
}

.ms-cap h3{
  font-size:18px;
  margin-bottom:18px;
}

.ms-cap p{
  font-size:14px;
  line-height:1.7;
}

/* ===== DARK SECTION ===== */

.ms-dark{
  background:var(--dark);
  color:#d1d5db;
  padding:120px 0;
}

.ms-dark h2{
  color:#fff;
}

.ms-dark-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
}

.ms-center{
  text-align:center;
}

/* ===== IMAGE BREAK ===== */

.ms-imagebreak{
  position:relative;
  height:60vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color:#fff;
}

.ms-imagebreak-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}

.ms-imagebreak-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.75));
}

.ms-imagebreak-inner{
  position:relative;
  z-index:2;
  padding-bottom:60px;
}

.ms-imagebreak h2{
  font-size:36px;
  line-height:1.2;
}

/* ===== FOOTER ===== */

.ms-footer{
  padding:60px 0 30px;
  border-top:1px solid var(--line);
}

.ms-footer-inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
}

.ms-footer-right{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}

.ms-footer-bottom{
  margin-top:30px;
  font-size:12px;
  color:var(--muted);
}

/* ===== RESPONSIVE ===== */

@media(max-width:1200px){
  .ms-cap-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:980px){

  .desktop-nav{display:none;}
  .mobile-nav{display:flex;}

  .ms-grid,
  .ms-dark-grid{
    grid-template-columns:1fr;
  }

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

  .ms-footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

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


/* =====================================================
   ABOUT PAGE
===================================================== */

/* HERO */

.about-hero{
  position:relative;
  height:65vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
}

.about-hero-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}

.about-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.4));
}

.about-hero-inner{
  position:relative;
  z-index:2;
  max-width:760px;
}

.about-hero h1{
  font-size:42px;
  line-height:1.15;
  font-weight:500;
}

.about-hero p{
  margin-top:18px;
  font-size:17px;
  color:#d1d5db;
  line-height:1.7;
}

/* MAIN SECTIONS */

.about-section{
  padding:120px 0;
}

.about-section-soft{
  padding:120px 0;
  background:#f8fafc;
}

.about-section-closing{
  padding:120px 0;
}

/* TEXT WIDTH CONTROL */

.about-narrow{
  max-width:760px;
}

/* HEADINGS */

.about-section h2{
  font-size:26px;
  margin-bottom:24px;
  font-weight:500;
  color:#111;
}

/* PARAGRAPHS */

.about-section p,
.about-section-soft p,
.about-section-closing p{
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
}

/* SPACING BETWEEN PARAGRAPHS */

.about-section p + p,
.about-section-soft p + p,
.about-section-closing p + p{
  margin-top:20px;
}

/* CLOSING SECTION */

.about-section-closing h2{
  margin-bottom:24px;
}

/* OPTIONAL – subtle section divider */

.about-section + .about-section-soft{
  border-top:1px solid var(--line);
}

.about-section-soft + .about-section{
  border-top:1px solid var(--line);
}

/* RESPONSIVE */

@media(max-width:980px){

  .about-hero{
    height:55vh;
  }

  .about-hero h1{
    font-size:30px;
  }

  .about-hero p{
    font-size:15px;
  }

  .about-section,
  .about-section-soft,
  .about-section-closing{
    padding:90px 0;
  }

  .about-section h2{
    font-size:22px;
  }

}
/* =====================================================
   ABOUT FINAL VIDEO SECTION
===================================================== */

.about-final{
  position:relative;
  min-height:65vh;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
}

.about-final-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.about-final-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.45));
}

.about-final-inner{
  position:relative;
  z-index:2;
  max-width:760px;
}

.about-final h2{
  font-size:36px;
  line-height:1.2;
  margin-bottom:24px;
  font-weight:500;
}

.about-final p{
  font-size:16px;
  line-height:1.8;
  color:#e5e7eb;
}

.about-final p + p{
  margin-top:18px;
}

@media(max-width:980px){

  .about-final{
    min-height:55vh;
  }

  .about-final h2{
    font-size:26px;
  }

  .about-final p{
    font-size:14px;
  }

}

/* =====================================================
   CLEAN STABLE TIMELINE
===================================================== */

.about-timeline{
  padding:140px 0;
  background:#f8fafc;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}


.timeline-title{
  margin-bottom:80px;
  font-size:28px;
}

.timeline-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:60px;
  position:relative;
}

/* Horizontal line */
.timeline-grid::before{
  content:"";
  position:absolute;
  top:20px;
  left:0;
  right:0;
  height:1px;
  background:var(--line);
  z-index:0;
}

.timeline-item{
  position:relative;
  z-index:1;
  padding-top:40px;
}

.timeline-dot{
  position:absolute;
  top:14px;
  left:0;
  width:10px;
  height:10px;
  background:#111;
  border-radius:50%;
}

.timeline-year{
  display:inline-block;
  font-size:12px;
  letter-spacing:2px;
  color:#9aa4ad;
  margin-bottom:16px;
}

.timeline-item h3{
  font-size:18px;
  margin-bottom:14px;
}

.timeline-item p{
  font-size:14px;
  line-height:1.7;
  color:var(--muted);
}

/* RESPONSIVE */

@media(max-width:980px){

  .timeline-grid{
    grid-template-columns:1fr;
    gap:60px;
  }

  .timeline-grid::before{
    display:none;
  }

  .timeline-dot{
    position:relative;
    top:0;
    margin-bottom:14px;
  }

}






/* ===== SERVICE PAGE ===== */

/* HERO */

.service-hero{
  position:relative;
  height:60vh;
  display:flex;
  align-items:center;
  color:#fff;
  margin-bottom:40px;
}

.service-hero-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}

.service-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.service-hero-inner{
  position:relative;
  z-index:2;
  max-width:700px;
}

.service-hero h1{
  font-size:36px;
  line-height:1.2;
}

.service-hero p{
  margin-top:16px;
  font-size:16px;
  color:#d1d5db;
}

/* ACCORDION */

.service-list-section h2{
  margin-bottom:36px;
  font-size:26px;
  font-weight:500;
  text-align:center;
}

.service-accordion{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.service-item{
  border-top:1px solid var(--line);
}

.service-toggle{
  width:100%;
  padding:18px;
  font-size:16px;
  text-align:left;
  background:none;
  border:none;
  color:var(--ink);
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.service-toggle-icon{
  font-size:20px;
  transition:.2s ease;
}

.service-content{
  max-height:0;
  overflow:hidden;
  padding:0 18px;
  transition:max-height .3s ease;
}

.service-content p{
  padding:14px 0;
  font-size:15px;
  color:var(--muted);
}

/* RESPONSIVE */

@media(max-width:980px){

  .service-hero h1{
    font-size:30px;
  }

  .service-list-section{
    padding-top:60px;
  }
}




/* =====================================================
   VESSEL PAGE
===================================================== */

.vessel-hero{
  position:relative;
  height:65vh;
  display:flex;
  align-items:center;
  color:#fff;
}

.vessel-hero-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}

.vessel-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.vessel-hero-inner{
  position:relative;
  z-index:2;
  max-width:700px;
}

.vessel-hero h1{
  font-size:38px;
}

.vessel-hero p{
  margin-top:16px;
  font-size:16px;
  color:#d1d5db;
}

/* INTRO */

.vessel-narrow{
  max-width:760px;
}

/* SPEC GRID */

.vessel-specs h2{
  margin-bottom:50px;
}

.spec-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.spec-item{
  border-top:1px solid var(--line);
  padding-top:14px;
}

.spec-item span{
  display:block;
  font-size:13px;
  color:#9aa4ad;
  margin-bottom:8px;
}

.spec-item strong{
  font-size:18px;
}

/* GALLERY */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.gallery-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
}

/* VIDEO */

.video-wrapper{
  position:relative;
  padding-bottom:56.25%;
  height:0;
}

.video-wrapper iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

/* RESPONSIVE */

@media(max-width:980px){

  .spec-grid{
    grid-template-columns:1fr 1fr;
  }

  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .vessel-hero h1{
    font-size:30px;
  }

}

@media(max-width:600px){

  .spec-grid{
    grid-template-columns:1fr;
  }

  .gallery-grid{
    grid-template-columns:1fr;
  }

}


.vessel-cta{
  padding:160px 0;
  background:#f8fafc;
  
}

.vessel-cta h2{
  margin-bottom:40px;
  font-size:28px;
}


.vessel-gallery{
  padding-bottom:120px;
}


/* ===== LIGHTBOX ===== */

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lightbox img{
  max-width:90%;
  max-height:85vh;
}

.lightbox-close{
  position:absolute;
  top:30px;
  right:40px;
  font-size:32px;
  color:#fff;
  cursor:pointer;
}

.lightbox-prev,
.lightbox-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:40px;
  color:#fff;
  cursor:pointer;
  padding:10px;
}

.lightbox-prev{ left:40px; }
.lightbox-next{ right:40px; }


/* =====================================================
   VESSEL CTA – CLEAN VERSION
===================================================== */

.vessel-cta{
  padding:100px 0;
  background:#f3f4f6;
  text-align:center;
}

.vessel-cta h2{
  margin-bottom:40px;
  font-size:28px;
}

.cta-buttons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

/* Buttons */

.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:54px;
  padding:0 36px;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.05em;
  box-sizing:border-box;
  transition:.3s ease;
  white-space:nowrap;
}

.btn-primary{
  background:#111;
  color:#fff;
  border:1px solid #111;
}

.btn-primary:hover{
  background:#000;
}

.btn-secondary{
  background:transparent;
  color:#111;
  border:1px solid #111;
}

.btn-secondary:hover{
  background:#111;
  color:#fff;
}


/* ===== ECOCUBE FULL IMAGE ===== */

.ecocube-full-image{
  position:relative;
  height:70vh;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
}

.ecocube-image-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:1;
}

.ecocube-image-inner{
  position:relative;
  z-index:2;
  max-width:700px;
}

.ecocube-full-image h2{
  font-size:36px;
  margin-bottom:16px;
}

.ecocube-full-image p{
  margin-bottom:24px;
  opacity:.9;
}

.ecocube-full-image .btn-secondary{
  border:1px solid #fff;
  color:#fff;
}

.ecocube-full-image .btn-secondary:hover{
  background:#fff;
  color:#000;
}


/* ===== VESSEL GALLERY ===== */

.vessel-gallery{
  padding:120px 6vw;
  background:#f7f8fa;
}

.vessel-gallery h2{
  margin-bottom:70px;
  text-align:center;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.gallery-grid img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:.5s ease;
}

.gallery-grid img:hover{
  transform:translateY(-8px);
}


/* ===== CONTACT BALANCED ===== */

/* ===== CONTACT PROFESSIONAL ===== */

/* ===== CONTACT PROFESSIONAL CLEAN ===== */

.ms-contact-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}

.ms-contact-header h1 {
  font-size: 34px;
  margin-bottom: 12px;
  font-weight: 500;
}

.ms-contact-pro {
  padding: 80px 0;
}

.ms-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.ms-contact-left {
  padding-right: 40px;
  border-right: 1px solid var(--line);
}

.contact-block {
  margin-bottom: 36px;
}

.contact-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.5;
  margin-bottom: 8px;
}

.contact-text {
  font-size: 16px;
}

.contact-text a {
  color: #111;
  text-decoration: none;
}

/* ===== CLEAN FORM ===== */

input,
textarea,
select,
button {
  font-family: var(--font);
}

.ms-contact-right h3 {
  margin-bottom: 30px;
  font-weight: 500;
}

.ms-form-row {
  margin-bottom: 26px;
}

.ms-form input,
.ms-form textarea,
.ms-form select {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.3);
  font-size: 14px;
  background: transparent;
  outline: none;
  border-radius: 0;
}

.ms-form input:focus,
.ms-form textarea:focus,
.ms-form select:focus {
  border-bottom: 1px solid #000;
}

.ms-form textarea {
  resize: vertical;
}

.ms-form select {
  appearance: none;
}

/* BUTTON */

.btn-primary {
  margin-top: 10px;
  padding: 14px 28px;
  background: #111;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 0;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #000;
}

/* MAP */

.ms-contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(.3);
}

/* RESPONSIVE */

@media(max-width: 980px){

  .ms-contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .ms-contact-left {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 40px;
  }

}

.eu-project {
  color: var(--muted);
}

/* =====================================================
   FINAL OVERRIDES – DO NOT REMOVE EXISTING CODE
===================================================== */


/* === FORCE IDENTICAL BUTTON HEIGHT === */

.btn-primary,
.btn-secondary{
  height:52px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 32px !important;
  font-size:14px !important;
  white-space:nowrap;
}


/* === FIX ECOCUBE GREY TEXT === */

.ecocube-full-image h2,
.ecocube-full-image p{
  color:#ffffff !important;
  opacity:1 !important;
}

.ecocube-image-overlay{
  background:rgba(0,0,0,.7) !important;
}


/* === ENSURE CTA BUTTONS ALIGN PERFECTLY === */

.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:54px;
  padding:0 36px;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.05em;
  box-sizing:border-box;
}

/* PRIMARY */
.btn-primary{
  background:#111;
  color:#fff;
  border:0;
}

/* SECONDARY */
.btn-secondary{
  background:transparent;
  color:#111;
  border:2px solid #111;
}

/* ===== VESSEL CTA – UNDERLINE STYLE ===== */

.vessel-cta{
  padding:120px 0;
  background:#f3f4f6;
  text-align:center;
}

.vessel-cta h2{
  margin-bottom:50px;
  font-size:28px;
}

.cta-links{
  display:flex;
  justify-content:center;
  gap:60px;
  flex-wrap:wrap;
}

.cta-link{
  position:relative;
  font-size:16px;
  font-weight:500;
  letter-spacing:0.05em;
  padding-bottom:6px;
  transition:.3s ease;
}

.cta-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:#111;
  transition:.3s ease;
}

.cta-link:hover{
  opacity:.6;
}


.vessel-slider{
  padding:120px 0;
  background:#f7f8fa;
}

.slider-wrapper{
  position:relative;
  max-width:1200px;
  margin:0 auto;
  overflow:hidden;
}

.slider-track{
  display:flex;
  transition:transform .5s ease;
}

.slider-track img{
  width:100%;
  flex:0 0 100%;
  height:520px;
  object-fit:cover;
  border-radius:12px;
}

.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.6);
  color:#fff;
  border:0;
  padding:12px 16px;
  cursor:pointer;
}

.prev{ left:20px; }
.next{ right:20px; }


/* =====================================================
   VESSEL FULL WIDTH FADE SLIDER
===================================================== */

.vessel-slider{
  position:relative;
  width:100%;
  height:75vh;
  overflow:hidden;
}

.slider-fade{
  position:relative;
  width:100%;
  height:100%;
}

.slider-fade .slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.2s ease;
}

.slider-fade .slide.active{
  opacity:1;
}


/* ===============================
   SLIDER DOTS
================================ */

.slider-dots{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  z-index:10;
}

.slider-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:.3s ease;
}

.slider-dot.active{
  background:#ffffff;
  transform:scale(1.2);
}

.vessel-slider{
  background:#ffffff;
}
.vessel-slider{
  margin-top:-1px;
}

/* ===== DROPDOWN ===== */

.dropdown{
  position:relative;
}

.dropdown > a{
  cursor:pointer;
}

.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  min-width:200px;
  display:none;
  flex-direction:column;
  padding:12px 0;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.dropdown-menu a{
  padding:10px 20px;
  font-size:13px;
  white-space:nowrap;
}

.dropdown-menu a:hover{
  background:#f3f4f6;
}

.dropdown:hover .dropdown-menu{
  display:flex;
}

/* MOBILE SUBMENU */

.mobile-submenu{
  display:flex;
  flex-direction:column;
  margin:12px 0;
}

.mobile-submenu span{
  font-size:14px;
  font-weight:500;
  margin-bottom:6px;
  opacity:.6;
}


/* NAV WRAP */
.nav-wrap{
  display:flex;
  align-items:center;     /* OVO JE KLJUČNO */
  justify-content:space-between;
}

/* DESKTOP NAV */
.desktop-nav{
  display:flex;
  align-items:center;     /* OVO PORAVNAVA SVE */
  gap:32px;
}

/* LINKS */
.desktop-nav a{
  display:flex;
  align-items:center;
  height:70px;            /* mora biti ista visina svima */
  font-weight:400;
}

/* DROPDOWN */
.dropdown{
  position:relative;
  display:flex;           /* VAŽNO */
  align-items:center;     /* VAŽNO */
  height:70px;            /* ISTA VISINA */
}

.dropdown > a{
  display:flex;
  align-items:center;
  height:100%;
}

/* ==============================
   FOOTER – DARK GREY VERSION
================================ */

.ms-footer{
  background:#1f2933;   /* tamnosiva, ne crna */
  color:rgba(255,255,255,0.75);
  padding:60px 0 30px;
  margin-top:100px;
}

.ms-footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.ms-footer-mark{
  font-size:18px;
  letter-spacing:2px;
  font-weight:600;
  color:#ffffff;
  margin-bottom:14px;
}

.ms-footer-meta{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  color:rgba(255,255,255,0.6);
  margin-bottom:16px;
}

.ms-footer-meta .dot{
  width:4px;
  height:4px;
  background:rgba(255,255,255,0.4);
  border-radius:50%;
}

.ms-footer-contact a{
  font-size:14px;
  color:#ffffff;
  opacity:0.85;
  transition:opacity .2s ease;
}

.ms-footer-contact a:hover{
  opacity:1;
}

.ms-footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  margin-top:40px;
  padding-top:20px;
  font-size:13px;
  color:rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width:768px){
  .ms-footer-inner{
    flex-direction:column;
    gap:20px;
  }
}

/* =======================
   HAMBURGER
======================= */



/* =======================
   DESKTOP DROPDOWN
======================= */

.dropdown{
  position:relative;
}

.dropdown-toggle{
  background:none;
  border:none;
  font:inherit;
  cursor:pointer;
  color:#111;
}

.dropdown-menu{
  position:absolute;
  top:120%;
  left:0;
  min-width:220px;
  background:rgba(255,255,255,0.98);
  backdrop-filter:blur(10px);
  border:1px solid rgba(0,0,0,0.05);
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  padding:12px 0;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:all .25s ease;
}

.dropdown:hover .dropdown-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.dropdown-menu a{
  display:block;
  padding:10px 18px;
  font-size:14px;
  color:#111;
}

.dropdown-menu a:hover{
  background:rgba(0,0,0,0.03);
}


/* =======================
   MOBILE PANEL
======================= */

.mobile-panel{
  position:fixed;
  top:0;
  right:-100%;
  width:100%;
  height:100vh;
  background:#ffffff;
  color:#111;
  padding:120px 40px 60px;
  transition:right .4s cubic-bezier(.2,.8,.2,1);
  z-index:6000;   /* MORA BITI ISPOD HEADERA */
}


.mobile-panel.active{
  right:0;
}

.mobile-nav-inner{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.mobile-nav-inner a{
  color:#fff;
  font-size:20px;
}

.mobile-accordion button{
  background:none;
  border:none;
  color:#fff;
  font-size:20px;
  text-align:left;
  width:100%;
  cursor:pointer;
}

.accordion-content{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-left:15px;
  margin-top:8px;
}

.accordion-content a{
  font-size:16px;
  opacity:0.8;
}

.mobile-accordion.active .accordion-content{
  max-height:500px;
}


/* =======================
   RESPONSIVE
======================= */

@media (max-width: 1024px){

  .desktop-nav{
    display:none;
  }

 

}

/* =========================
   HEADER LAYOUT FIX
========================= */

.main-nav{
  height:80px;
  display:flex;
  align-items:center;
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,0.05);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO CONTROL */

.logo img{
  height:16px;      /* ← OVO kontrolira veličinu */
  width:auto;
  display:block;
}

/* DESKTOP NAV LINKS */

.desktop-nav a,
.dropdown-toggle{
  font-size:14px;
  font-weight:400;
  letter-spacing:0.5px;
}

.dropdown{
  position:relative;
}

.dropdown::after{
  content:"";
  position:absolute;
  left:0;
  top:100%;
  width:100%;
  height:20px;   /* most između linka i menija */
}

/* =========================
   MODERN FLOATING DROPDOWN
========================= */

.dropdown{
  position:relative;
}

.dropdown-menu{
  position:absolute;
  top:100%;
  left:50%;
  transform:translate(-50%, 20px);
  min-width:240px;

  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(14px);

  border-radius:14px;
  padding:14px 0;

  box-shadow:0 20px 50px rgba(0,0,0,0.08);

  opacity:0;
  visibility:hidden;
  transition:all .35s cubic-bezier(.2,.8,.2,1);
}

.dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translate(-50%, 12px);
}

/* Links */

.dropdown-menu a{
  display:block;
  padding:12px 22px;
  font-size:14px;
  color:#111;
  transition:.25s ease;
}

.dropdown-menu a:hover{
  background:rgba(0,0,0,0.03);
}

.dropdown-menu a{
  position:relative;
}

.dropdown-menu a::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:8px;
  width:0;
  height:1px;
  background:#111;
  transition:.3s ease;
}

.dropdown-menu a:hover::after{
  width:calc(100% - 44px);
}


/* =======================
   MOBILE PANEL – CLEAN
======================= */

.mobile-panel{
  position:fixed;
  top:0;
  right:-100%;
  width:100%;
  height:100vh;

  background:#ffffff;     /* ← bijeli (možeš staviti #f3f4f6 ako želiš svijetlo sivu) */
  color:#111;

  padding:120px 40px 60px;
  transition:right .4s cubic-bezier(.2,.8,.2,1);
  z-index:1000;
}

.mobile-panel.active{
  right:0;
}

/* sprječava scroll kad je otvoreno */
body.menu-open{
  overflow:hidden;
}

/* NAV LINKS */

.mobile-nav-inner{
  display:flex;
  flex-direction:column;
  gap:28px;
}

.mobile-nav-inner a{
  font-size:22px;
  font-weight:400;
  color:#111;
}

/* ACCORDION */

.mobile-accordion button{
  background:none;
  border:none;
  font-size:22px;
  text-align:left;
  width:100%;
  cursor:pointer;
  color:#111;
}

.accordion-content{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-top:12px;
  padding-left:10px;
}

.mobile-accordion.active .accordion-content{
  max-height:400px;
}

.accordion-content a{
  font-size:18px;
  opacity:.7;
}



@media (max-width:1024px){
  .desktop-nav{ display:none; }
  .hamburger{ display:flex; }
}

body.menu-open{
  overflow:hidden;
}




/* =====================
   MOBILE CLOSE BUTTON
===================== */

.mobile-close{
  position:absolute;
  top:30px;
  right:30px;
  background:none;
  border:none;
  font-size:28px;
  font-weight:300;
  cursor:pointer;
  color:#111;
  z-index:5001;
}

.mobile-close:hover{
  opacity:.6;
}

/* ===============================
   CLEAN HAMBURGER → X
================================ */

.hamburger{
  display:none;
  width:28px;
  height:22px;
  position:relative;
  background:none;
  border:none;
  cursor:pointer;
  z-index:5000;
}

.hamburger span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:#111;
  transition:all .3s ease;
}

/* 3 lines */
.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:10px; }
.hamburger span:nth-child(3){ bottom:0; }

/* ACTIVE → X */
.hamburger.active span:nth-child(1){
  top:10px;
  transform:rotate(45deg);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  top:10px;
  bottom:auto;
  transform:rotate(-45deg);
}

/* show only mobile */
@media (max-width:1024px){
  .desktop-nav{ display:none; }
  .hamburger{ display:block; }
}

/* ======================================
   FIX HAMBURGER LAYER & VISIBILITY
====================================== */

.hamburger{
  position:relative;
  z-index:6000;   /* mora biti iznad mobile panela */
}

.mobile-panel{
  z-index:5000;
}

/* osiguraj da linije budu vidljive */
.hamburger span{
  background:#111;
}



.hamburger.active span{
  background:#111;
}

.mobile-panel{
  z-index:5000;
}

