/* Mini Golf Jadran Split — shared stylesheet */

:root {
  --teal-deep: #0a5c63;
  --teal: #12969c;
  --teal-light: #5bc8bf;
  --sand: #faf3e3;
  --sand-dark: #ead9b8;
  --coral: #ff6b55;
  --coral-dark: #e14f3a;
  --ink: #1b2b2d;
  --ink-soft: #456064;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 60, 65, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

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

a { color: var(--teal-deep); text-decoration: none; }

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

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--teal-deep);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 107, 85, 0.35);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-dark {
  background: var(--teal-deep);
  color: var(--white);
}
.btn-dark:hover { background: var(--teal); transform: translateY(-2px); }

.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-teal {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--white);
}
.section-teal h2, .section-teal h3 { color: var(--white); }

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 10px;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(10,60,65,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--teal-deep);
}
.logo .flag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
}
.nav-links a:hover, .nav-links a.active { color: var(--coral); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--teal-deep);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,60,65,0.88), rgba(18,150,156,0.65));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 110px 0 90px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 { color: var(--white); }
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-hero {
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--coral); }

/* Feature grid */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sand-dark);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }

.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.photo-card img { width: 100%; height: 230px; object-fit: cover; }
.photo-card .caption { padding: 18px 20px; }
.photo-card .caption h3 { margin-bottom: 6px; }
.photo-card .caption p { margin-bottom: 0; color: var(--ink-soft); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--coral);
}
.stat .label {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 3px solid transparent;
}
.price-card.featured {
  border-color: var(--coral);
  transform: translateY(-10px);
}
.price-card .price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--teal-deep);
  margin: 10px 0;
}
.price-card .price span { font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  text-align: left;
}
.price-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--sand-dark);
  color: var(--ink-soft);
}
.price-card ul li:last-child { border-bottom: none; }

table.hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.hours th, table.hours td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--sand-dark);
}
table.hours th { background: var(--teal-deep); color: var(--white); }
table.hours tr:last-child td { border-bottom: none; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.gallery-grid .photo-card img { height: 260px; }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .wide img { height: 100%; }

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--coral); margin-bottom: 8px; letter-spacing: 2px; }
.testimonial .who { font-weight: 700; color: var(--teal-deep); margin-top: 14px; }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--teal-deep);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--sand);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-success {
  background: #e3f6e9;
  border: 2px solid #3fb871;
  color: #1c6b3e;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}
.form-error {
  background: #fdeceb;
  border: 2px solid var(--coral);
  color: var(--coral-dark);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Contact info list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-list .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand-dark);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list .icon svg { width: 22px; height: 22px; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  height: 320px;
}

/* CTA band */
.cta-band {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 50px 30px;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band .btn-dark { background: var(--teal-deep); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cfe3e2;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.site-footer a { color: #cfe3e2; }
.site-footer a:hover { color: var(--coral); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: #92a8a7;
}
.footer-bottom a { color: #92a8a7; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.cookie-banner p { margin: 0; font-size: 0.92rem; }
.cookie-banner .actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }

/* Breadcrumb-ish small print */
.small-print { font-size: 0.85rem; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 900px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .split { grid-template-columns: 1fr; }
  .split img { height: 280px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .wide { grid-column: span 2; }
}

@media (max-width: 680px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; }
  .grid, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .wide { grid-column: span 1; }
  .hero-content { padding: 80px 0 60px; }
}
