/* =============================================================
   IslandTropical.cz — Main Stylesheet
   Font: Plus Jakarta Sans (via Google Fonts)
   Color scheme: Teal (#0d9488) + Orange (#ea580c)
   ============================================================= */

/* CSS Variables */
:root {
  --primary:             #0d9488;
  --primary-dark:        #0a7969;
  --primary-light:       #f0fdfa;
  --primary-lighter:     #ecfeff;

  --cta:                 #ea580c;
  --cta-hover:           #c2410c;

  --text:                #1e293b;
  --text-heading:        #0f172a;
  --text-secondary:      #64748b;
  --text-muted:          #94a3b8;

  --bg:                  #f8fafc;
  --bg-white:            #ffffff;
  --border:              #e2e8f0;
  --dark:                #0f172a;

  --inline-cta-bg:       #fef2f2;
  --inline-cta-border:   #fecaca;
  --inline-cta-text:     #991b1b;

  --tip-bg:              #fffbeb;
  --tip-border:          #f59e0b;
  --tip-text:            #d97706;
}

/* =============================================================
   Reset & Base
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* =============================================================
   Layout
   ============================================================= */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================================
   Navigation
   ============================================================= */
.nav-wrapper {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-logo {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-logo span {
  color: var(--cta);
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-cta {
  background: var(--cta);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta svg {
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--cta-hover);
}

.nav-cta-teal {
  background: var(--primary);
}

.nav-cta-teal:hover {
  background: var(--primary-dark);
}

.nav-dropdown {
  cursor: pointer;
  position: relative;
}

.nav-dropdown::after {
  content: ' ▾';
  font-size: 14px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 8px 0;
  display: none;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-active {
  color: var(--primary) !important;
  font-weight: 700;
}

/* =============================================================
   Hamburger & Mobile Nav
   ============================================================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--bg-white);
  z-index: 301;
  padding: 20px;
  overflow-y: auto;
  transition: right 0.3s ease;
}

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

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

.mobile-nav-section {
  margin-bottom: 16px;
}

.mobile-nav-section-title {
  font-weight: 700;
  font-size: 14px;
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.mobile-nav-section-title::after {
  content: '▸';
}

.mobile-nav-section.open .mobile-nav-section-title::after {
  content: '▾';
}

.mobile-nav-links {
  display: none;
  padding-left: 12px;
}

.mobile-nav-section.open .mobile-nav-links {
  display: block;
}

.mobile-nav-links a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}

.mobile-nav-links a:hover {
  color: var(--primary);
}

.mobile-nav-cta {
  display: block;
  background: var(--cta);
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 20px;
  text-decoration: none;
}

.mobile-nav-cta:hover {
  background: var(--cta-hover);
}

/* =============================================================
   Buttons
   ============================================================= */
.btn-primary {
  background: var(--cta);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary svg[fill="currentColor"] {
  fill: #fff;
}

.btn-primary svg[stroke="currentColor"] {
  stroke: #fff;
}

.btn-white svg[fill="currentColor"] {
  fill: var(--primary);
}

.btn-white svg[stroke="currentColor"] {
  stroke: var(--primary);
}

.btn-ghost svg[fill="currentColor"] {
  fill: #fff;
}

.btn-ghost svg[stroke="currentColor"] {
  stroke: #fff;
}

.btn-secondary svg[fill="currentColor"] {
  fill: var(--text-secondary);
}

.btn-secondary svg[stroke="currentColor"] {
  stroke: var(--text-secondary);
}

.btn-secondary:hover svg[fill="currentColor"] {
  fill: var(--primary);
}

.btn-secondary:hover svg[stroke="currentColor"] {
  stroke: var(--primary);
}

/* Universal SVG icon alignment in all buttons */
a[class*="btn-"] svg,
a[class*="sticky-btn"] svg,
a[class*="nav-cta"] svg {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
}

a[class*="btn-"],
a[class*="sticky-btn"],
a[class*="nav-cta"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  background: var(--cta-hover);
}

.btn-secondary {
  border: 1.5px solid var(--border);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  background: var(--bg-white);
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-white:hover {
  background: var(--primary-light);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* =============================================================
   Hero
   ============================================================= */
.hero-wrapper {
  background: linear-gradient(180deg, var(--primary-lighter) 0%, var(--primary-light) 50%, var(--bg) 100%);
}

.hero {
  padding-top: 48px;
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
}

.hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 10px;
}

.hero-photo {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* =============================================================
   Stats
   ============================================================= */
.stats {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-white);
  overflow: hidden;
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.stat {
  flex: 1;
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =============================================================
   Sections
   ============================================================= */
.section {
  margin-top: 40px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  color: var(--text-heading);
}

.section-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

/* =============================================================
   Article
   ============================================================= */
.article-intro {
  margin-top: 40px;
}

.article {
  padding: 32px 0;
}

.article-main {
  max-width: 680px;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: start;
}

.article-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
}

.article-text p {
  margin-bottom: 16px;
}

.article-text h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 28px 0 10px;
  letter-spacing: -0.2px;
}

.article-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 24px 0 8px;
}

.article-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-text a:hover {
  color: var(--primary-dark);
}

.article-text ul,
.article-text ol {
  margin: 10px 0 16px 20px;
}

.article-text li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.article-text figure {
  margin: 20px 0;
  max-width: 100%;
}

.article-text .wp-caption.alignleft {
  float: left;
  margin: 4px 20px 12px 0;
}

.article-text .wp-caption.alignright {
  float: right;
  margin: 4px 0 12px 20px;
}

.article-text figure img {
  max-width: 100%;
  border-radius: 10px;
}

.article-text figcaption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.article-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-text th {
  background: var(--primary-light);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}

.article-text td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

/* =============================================================
   Components
   ============================================================= */

/* Info + CTA side by side */
.info-cta-row {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  align-items: stretch;
}

.info-cta-row > .infobox {
  flex: 1;
  margin: 0;
}

.info-cta-row > .inline-cta {
  flex: 1;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

@media (max-width: 600px) {
  .info-cta-row {
    flex-direction: column;
  }
}

/* Infobox */
.infobox {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.7;
}

.infobox strong {
  color: var(--primary);
}

.infobox ul {
  margin: 6px 0 0 16px;
}

.infobox li {
  margin-bottom: 3px;
}

/* Tip box */
.tip-box {
  background: var(--tip-bg);
  border-left: 4px solid var(--tip-border);
  padding: 14px 18px;
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.6;
}

.tip-box strong {
  color: var(--tip-text);
}

/* Inline CTA */
.inline-cta {
  background: var(--inline-cta-bg);
  border: 1px solid var(--inline-cta-border);
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inline-cta-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--inline-cta-text);
}

.inline-cta-text small {
  display: block;
  font-weight: 400;
  color: #b91c1c;
  opacity: 0.7;
  font-size: 12px;
  margin-top: 2px;
}

.inline-cta .btn-primary {
  font-size: 13px;
  padding: 10px 20px;
  white-space: nowrap;
}

/* =============================================================
   Attraction Cards
   ============================================================= */
.attr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.attr-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.attr-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
  transform: translateY(-2px);
}

.attr-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.attr-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-heading);
}

.attr-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =============================================================
   CTA Banner
   ============================================================= */
.cta-banner-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, #0891b2 100%);
}

.cta-banner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.cta-banner h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 3px;
}

.cta-banner p {
  font-size: 13px;
  opacity: 0.85;
}

.cta-banner-buttons {
  display: flex;
  gap: 10px;
}

/* =============================================================
   Info Links
   ============================================================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.info-link {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
}

.info-link:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.info-link .arrow {
  margin-left: auto;
  color: var(--text-muted);
}

/* =============================================================
   FAQ
   ============================================================= */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-q {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-heading);
}

.faq-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-a a {
  color: var(--primary);
}

/* =============================================================
   Breadcrumb
   ============================================================= */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  margin: 0 6px;
}

/* =============================================================
   Page Header (Subpages)
   ============================================================= */
.page-header-wrapper {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.page-header {
  padding-top: 32px;
  padding-bottom: 32px;
}

.page-header-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: end;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.page-header-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.page-header-buttons {
  display: flex;
  gap: 8px;
}

.page-thumb {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* =============================================================
   Related Links Sidebar
   ============================================================= */
.related-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-top: 0;
}

.related-box h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.related-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
}

.related-link:last-child {
  border-bottom: none;
}

.related-link:hover {
  color: var(--primary);
}

.related-link .rel-arrow {
  float: right;
  color: #cbd5e1;
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--dark);
  color: var(--text-muted);
  padding: 32px 24px 92px;
  text-align: center;
  font-size: 13px;
  margin-top: 0;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

/* =============================================================
   Sticky Bar
   ============================================================= */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-price {
  color: white;
  font-size: 14px;
}

.sticky-price strong {
  font-size: 20px;
  font-weight: 800;
}

.sticky-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sticky-btn-orange {
  background: var(--cta);
}

.sticky-btn-orange:hover {
  background: var(--cta-hover);
}

.sticky-btn-teal {
  background: var(--primary);
}

.sticky-btn-teal:hover {
  background: var(--primary-dark);
}

/* =============================================================
   Cookie Banner
   ============================================================= */

/* =============================================================
   Responsive — 960px
   ============================================================= */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-height: 250px;
    object-fit: cover;
  }

  .attr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-header-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   Responsive — 600px
   ============================================================= */
@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .nav-ctas {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
  }

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

  .hero-desc {
    font-size: 14px;
  }

  .page-header {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .page-header-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .page-header-buttons .btn-primary,
  .page-header-buttons .btn-secondary {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .stats {
    flex-wrap: wrap;
  }

  .stat {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--border);
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }

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

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

  .inline-cta {
    flex-direction: column;
    text-align: center;
  }

  .info-cta-row {
    flex-direction: column;
  }

  .sticky-price {
    display: none;
  }

  .sticky-bar {
    gap: 8px;
    padding: 8px 16px;
  }

  .sticky-btn {
    font-size: 12px;
    padding: 10px 14px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .cta-banner-buttons {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .cta-banner-buttons .btn-white,
  .cta-banner-buttons .btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .section-title {
    font-size: 20px;
  }

  .container {
    padding: 0 20px;
  }

  .article-text .wp-caption.alignleft,
  .article-text .wp-caption.alignright {
    float: none !important;
    width: 100% !important;
    margin: 16px 0 !important;
  }

  .article-text .wp-caption img {
    width: 100%;
    height: auto;
  }

  .article-text table {
    display: block;
    overflow-x: auto;
  }

  .sticky-bar {
    padding: 8px 20px;
  }


  .nav-wrapper .container {
    padding: 0 16px;
  }

  .related-box {
    margin-top: 24px;
  }

  .article-text {
    font-size: 14px;
  }

  .page-thumb {
    max-height: 200px;
    object-fit: cover;
  }

}
