/* ============================================================
   MOBILNA HIŠKA JAKOV — Main Stylesheet
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

:root {
  --green-dark:   #04342C;
  --green-mid:    #0F6E56;
  --green-main:   #1D9E75;
  --green-light:  #5DCAA5;
  --green-pale:   #E1F5EE;
  --green-ultra:  #F0FAF6;
  --text-dark:    #1a1a1a;
  --text-mid:     #444;
  --text-muted:   #777;
  --border:       rgba(0,0,0,0.08);
  --white:        #ffffff;
  --off-white:    #FAFAF8;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 600; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark svg { display: block; transition: transform 0.4s ease; }
.logo:hover .logo-mark svg { transform: scale(1.08) rotate(-3deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600;
  color: var(--text-dark); letter-spacing: 0.3px;
}
.logo-main em { color: var(--green-main); font-style: italic; }
.logo-sub { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-mid);
  position: relative; padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--green-main); transition: width var(--transition);
}
.nav-links a:hover { color: var(--green-main); }
.nav-links a:hover::after { width: 100%; }
.nav-btn {
  background: var(--green-main) !important; color: white !important;
  padding: 8px 20px !important; border-radius: var(--radius-sm);
  font-size: 13px !important; letter-spacing: 0.8px !important;
  transition: background var(--transition) !important;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover { background: var(--green-mid) !important; color: white !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--text-dark); transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; background: white;
  border-top: 1px solid var(--border); padding: 1rem 2rem;
}
.mobile-menu a { padding: 0.7rem 0; font-size: 15px; border-bottom: 1px solid var(--border); color: var(--text-dark); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-btn { color: var(--green-main) !important; font-weight: 600 !important; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 55%, var(--green-main) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: white; padding: 7rem 2rem 5rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-wave {
  position: absolute; bottom: 0; left: -5%; width: 110%;
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  background: rgba(255,255,255,0.03);
}
.wave1 { height: 120px; animation: wavePulse 8s ease-in-out infinite; }
.wave2 { height: 80px; bottom: 20px; background: rgba(255,255,255,0.04); animation: wavePulse 6s ease-in-out infinite reverse; }
@keyframes wavePulse {
  0%, 100% { transform: scaleX(1) translateY(0); }
  50% { transform: scaleX(1.02) translateY(-8px); }
}
.hero-particles { position: absolute; inset: 0; }
.particle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px; padding: 6px 18px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-light);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 600; line-height: 1.05;
  margin-bottom: 1.5rem; letter-spacing: -0.5px;
}
.hero-title em {
  font-style: italic; font-weight: 300;
  color: var(--green-light);
  display: block;
}
.hero-tagline {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300; opacity: 0.82;
  margin-bottom: 2.5rem; line-height: 1.7;
  letter-spacing: 0.2px;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 3rem; flex-wrap: wrap;
}
.hstat { text-align: center; padding: 0 2rem; }
.hstat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 600; line-height: 1;
  display: inline;
}
.hstat-u { font-size: 16px; font-weight: 300; opacity: 0.7; }
.hstat-l { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.6; margin-top: 4px; }
.hstat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-prim {
  background: white; color: var(--green-dark);
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-prim:hover { background: var(--green-pale); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-sec {
  background: transparent; color: white;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 400; letter-spacing: 0.5px;
  border: 1.5px solid rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.btn-sec:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  animation: bounceDown 2.5s ease-in-out infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1.5px solid rgba(255,255,255,0.4);
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============ SECTIONS ============ */
.section { padding: 5rem 2rem; }
.container { max-width: 1050px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.label-line {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--green-main); font-weight: 600; margin-bottom: 0.8rem;
}
.label-line.light { color: var(--green-light); }
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600; line-height: 1.15;
  color: var(--text-dark);
}
.deco-line {
  width: 50px; height: 2px; background: var(--green-main);
  margin: 1.2rem auto 0; border-radius: 2px;
}
.deco-line.light { background: var(--green-light); }
.section-desc {
  margin-top: 1.2rem; font-size: 17px; color: var(--text-muted);
  font-weight: 300; line-height: 1.8; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ============ ABOUT ============ */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text p {
  font-size: 16.5px; line-height: 1.9; color: var(--text-mid);
  margin-bottom: 1.2rem; font-weight: 300;
}
.about-cards { display: flex; flex-direction: column; gap: 14px; }
.feat-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 1.2rem 1.4rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feat-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.feat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--green-mid);
}
.feat-title { font-size: 15px; font-weight: 600; margin-bottom: 3px; color: var(--text-dark); }
.feat-desc { font-size: 13.5px; color: var(--text-muted); font-weight: 300; }

/* ============ ROOMS ============ */
.rooms-section { background: var(--off-white); }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.room-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.room-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--green-main), var(--green-light));
  transform: scaleX(0); transition: transform var(--transition);
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.room-card:hover::before { transform: scaleX(1); }
.room-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300; color: var(--green-pale);
  line-height: 1; margin-bottom: -8px; letter-spacing: -2px;
}
.room-icon { font-size: 26px; color: var(--green-main); margin-bottom: 12px; }
.room-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.room-card p { font-size: 13.5px; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

/* ============ AMENITIES ============ */
.amenities-section { background: white; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.amenity {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: var(--off-white); border-radius: var(--radius-md);
  border: 1px solid var(--border); font-size: 14px; font-weight: 400;
  transition: all var(--transition);
}
.amenity:hover { background: var(--green-pale); border-color: var(--green-light); transform: scale(1.01); }
.amenity i { font-size: 16px; color: var(--green-main); flex-shrink: 0; width: 20px; text-align: center; }

/* ============ GALLERY ============ */
.gallery-section { background: var(--off-white); }
.gallery-section .container { margin-bottom: 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 10px;
  max-width: 1050px; margin: 0 auto; padding: 0 2rem;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; position: relative; }
.gi-big { grid-row: span 2; }
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #9FE1CB 0%, #1D9E75 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.85);
  transition: transform var(--transition);
  font-size: 14px;
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.03); }
.gallery-placeholder i { font-size: 36px; opacity: 0.7; }
/* When real images are added */
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-note {
  text-align: center; padding: 1.5rem 2rem 0; max-width: 1050px; margin: 0 auto;
  font-size: 14.5px; color: var(--text-muted);
}
.gallery-note a { color: var(--green-main); font-weight: 600; }
.gallery-note a:hover { text-decoration: underline; }
.gallery-note code { font-size: 12px; background: var(--border); padding: 2px 6px; border-radius: 4px; }

/* ============ AVAILABILITY ============ */
.avail-section { background: var(--green-dark); color: white; }
.avail-section .section-header h2 { color: white; }
.avail-section .label-line { color: var(--green-light); }
.avail-section .deco-line { background: var(--green-light); }
.avail-section .section-desc { color: rgba(255,255,255,0.65); }
.avail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 1.5rem; }
.avail-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: all var(--transition);
}
.avail-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.avail-month {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 10px; font-weight: 600;
}
.avail-dates {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; margin-bottom: 8px; line-height: 1.3;
}
.avail-label { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 300; margin-bottom: 12px; }
.avail-nights {
  display: inline-block;
  background: rgba(29,158,117,0.3); color: var(--green-light);
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(29,158,117,0.4);
}
.avail-note {
  background: rgba(29,158,117,0.15);
  border: 1px solid rgba(29,158,117,0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  font-size: 14px; color: var(--green-light);
  display: flex; align-items: center; gap: 10px;
}

/* ============ SURROUNDINGS ============ */
.surr-section { background: white; }
.surr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.surr-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.surr-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; top: 0;
  background: linear-gradient(135deg, var(--green-ultra) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.surr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.surr-card:hover::after { opacity: 1; }
.surr-icon {
  font-size: 28px; color: var(--green-main);
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.surr-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; position: relative; z-index: 1; }
.surr-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 300; position: relative; z-index: 1; }

/* ============ BOOKING ============ */
.booking-section {
  background: var(--green-dark); color: white;
  padding: 5rem 2rem; position: relative; overflow: hidden;
}
.booking-bg { position: absolute; inset: 0; pointer-events: none; }
.booking-wave {
  position: absolute; top: -60px; left: -5%; width: 110%; height: 120px;
  background: white;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.booking-inner { max-width: 1050px; margin: 0 auto; position: relative; z-index: 1; }
.booking-header { text-align: center; margin-bottom: 3rem; }
.booking-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 600; color: white; }
.booking-header p { color: rgba(255,255,255,0.65); font-size: 16px; font-weight: 300; margin-top: 1rem; }
.booking-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.booking-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 15px; color: white;
  font-family: 'Jost', sans-serif; font-weight: 300;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green-light); background: rgba(255,255,255,0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group select option { background: var(--green-dark); color: white; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  background: var(--green-main); color: white; border: none;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: 'Jost', sans-serif;
  letter-spacing: 0.5px; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: var(--green-light); transform: translateY(-1px); }
.form-success {
  display: none; align-items: center; gap: 10px;
  background: rgba(29,158,117,0.2);
  border: 1px solid rgba(29,158,117,0.4);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 14px; color: var(--green-light);
}
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  transition: background var(--transition);
}
.contact-card:hover { background: rgba(255,255,255,0.12); }
.cc-icon { font-size: 20px; color: var(--green-light); margin-bottom: 6px; }
.cc-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.cc-val { font-size: 14.5px; color: white; font-weight: 400; transition: color var(--transition); }
a.cc-val:hover { color: var(--green-light); }

/* ============ FOOTER ============ */
.footer {
  background: #02211A; color: rgba(255,255,255,0.45);
  padding: 3rem 2rem; text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}
.footer-logo em { color: var(--green-light); font-style: italic; }
.footer p { font-size: 13px; line-height: 2; }
.footer a { color: var(--green-light); }
.footer a:hover { text-decoration: underline; }
.footer-copy { margin-top: 1.5rem; font-size: 12px; opacity: 0.5; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .booking-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-big { grid-column: span 2; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 1.5rem; }
  .hstat-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .gi-big { grid-column: span 1; }
  .section { padding: 3.5rem 1.2rem; }
}
