/*
Theme Name: OPA Custom Theme
Author: OPA67
Version: 2.2
*/

:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5f6b76;
  --primary: #1f3b4d;
  --primary-2: #34566b;
  --accent: #c57b39;
  --line: #ddd6cc;
  --dark: #14222d;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(20, 34, 45, 0.08);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 238, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}


.site-branding img {
  height: 70px !important;
  width: auto !important;
  max-height: 70px !important;
  display: block;
}
.site-branding a {
  display: flex;
  align-items: center;
}
.main-nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--primary);
}
.main-nav li {
  position: relative;
}

.menu-item-has-dropdown {
  position: relative;
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(20, 34, 45, 0.12);
  display: none;
  z-index: 1000;
}

.sub-menu li {
  display: block;
  width: 100%;
}

.sub-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.menu-item-has-dropdown:hover .sub-menu {
  display: block;
}

.hero {
  padding: 26px 0 0;
}

.hero-shell {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(rgba(20, 34, 45, 0.35), rgba(20, 34, 45, 0.55)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 90px 36px 80px;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.9;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.hero p {
  margin: 0;
  max-width: 580px;
  font-size: 1.06rem;
  color: rgba(255,255,255,0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: var(--dark);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.section {
  padding: 40px 0;
}

.section-head {
  margin-bottom: 16px;
}

.section-head .eyebrow-dark {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.destination-card {
  padding: 18px;
}

.destination-collage {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1fr;
  min-height: 300px;
}

.destination-main,
.destination-side-top,
.destination-side-bottom {
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  min-height: 140px;
}

.destination-main {
  min-height: 300px;
}

.destination-side {
  display: grid;
  gap: 12px;
  grid-template-rows: 1fr 1fr;
}

.destination-body {
  padding: 22px 8px 6px;
}

.destination-body h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.destination-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.adventure-card .image {
  height: 190px;
  background: linear-gradient(135deg, #d8e0e5, #c0cdd6);
}

.adventure-card .content {
  padding: 20px;
}

.adventure-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.adventure-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.05fr 0.95fr;
}

.panel {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.panel-image {
  min-height: 320px;
  border-radius: 22px;
  background: linear-gradient(135deg, #d4d0c9, #ece8e1);
}

.feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.tag {
  background: #f7f4ef;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  font-weight: 600;
}

.travel-map {
  background: #f7f4ef;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.cta {
  background: var(--dark);
  color: #fff;
  border-radius: 34px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.cta-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
}

.cta h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.cta p {
  color: rgba(255,255,255,0.82);
  max-width: 560px;
}

.form-placeholder {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  color: var(--text);
}

.form-row {
  background: #f3efe8;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  color: var(--muted);
}

.form-row.message {
  min-height: 110px;
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .main-nav ul {
    gap: 12px;
  }

 .hero-shell {
  min-height: 520px;
}

.hero-content {
  padding: 70px 24px 50px;
}

/* HOMEPAGE ONLY mobile hero */
.home .hero-shell {
  min-height: 150px;
}

.home .hero-content {
  padding: 18px 24px 14px;
}

.home .hero h1 {
  font-size: 1.8rem;
}

  .grid-2,
  .grid-4,
  .tag-grid {
    grid-template-columns: 1fr;
  }

  .destination-collage {
    grid-template-columns: 1fr;
  }

  .destination-main {
    min-height: 220px;
  }

  .destination-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .section {
    padding: 54px 0;
  }

  .cta {
    padding: 28px;
  }
}

.construction-banner {
  background: #c57b39;
  color: #fff;
  padding: 12px 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.construction-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

.construction-banner strong {
  margin-right: 6px;
}

@media (max-width: 760px) {
  .construction-banner {
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .construction-banner .container {
    width: 100%;
  }

  .construction-banner a {
    display: inline-block;
    margin-top: 4px;
  }
}
.panel h2 {
  margin-top: 0;
}
.panel h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
}
.travel-map br {
  display: block;
  margin-bottom: 8px;
}
.panel-image {
  min-height: 260px;
  border-radius: 20px;
}
.section-head h2 {
  margin: 0 0 6px;
}

.section-head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* HOMEPAGE ONLY – banner hero + tighter destination spacing */

.home .hero {
  padding: 0;
}

.home .hero-shell {
  min-height: 150px;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 8px;
  background: linear-gradient(rgba(20, 34, 45, 0.35), rgba(20, 34, 45, 0.55)),
    url("https://www.opa67.com/wp-content/uploads/2026/03/IMG_9139-scaled.jpeg")
    center 40%/cover no-repeat;
}

.home .hero-content {
  max-width: 520px;
  padding: 22px 0 18px;
}

.home .hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.05;
}

.home .section:first-of-type {
  padding-top: 18px;
  padding-bottom: 24px;
}

.home .section-head {
  margin-bottom: 12px;
}

.home .section-head .eyebrow-dark {
  margin-bottom: 4px;
}

.home .section-head h2 {
  margin: 0 0 6px;
}

.home .section-head p {
  margin: 0;
  font-size: 0.95rem;
}
.panel h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.panel p + h3 {
  margin-top: 24px;
}
.text-link {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  transition: 0.2s ease;
  box-shadow: 0 8px 20px rgba(31, 59, 77, 0.15);
}

.text-link:hover {
  transform: translateY(-1px);
  background: var(--primary-2);
  box-shadow: 0 12px 24px rgba(31, 59, 77, 0.2);
}
.highlight-note {
  margin: 10px 0 12px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-branding img {
  height: 100px !important;
  width: auto;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons a {
  color: var(--muted);
  transition: 0.2s ease;
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}
.social-icons a:hover {
  color: #E1306C;
  transform: translateY(-1px);
}
.site-branding img {
  height: 70px !important;
  max-height: none !important;
}
.header-inner {
  padding: 20px 0;
}
.site-branding {
  flex-shrink: 0;
}
.header-inner .site-branding img {
  height: 95px !important;
  max-height: none !important;
  width: auto !important;
}

.header-inner {
  min-height: 110px;
  padding: 10px 0;
}

.site-branding {
  flex-shrink: 0;
}
.social-icons svg {
  width: 28px;
  height: 28px;
}
.social-icons {
  display: flex;
  align-items: center;
}
.social-icons a:hover svg {
  transform: scale(1.1);
  transition: 0.2s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a svg {
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover svg {
  transform: scale(1.1);
  opacity: 0.7;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  flex-shrink: 0;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.social-icons a {
  color: var(--muted);
  transition: 0.2s ease;
}

.social-icons a:hover {
  color: #E1306C;
  transform: translateY(-1px);
}

.social-icons svg {
  width: 28px;
  height: 28px;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: 24px;
}
.social-icons a:first-child:hover {
  color: #E1306C; /* Instagram */
  transform: translateY(-1px);
}

.social-icons a:last-child:hover {
  color: #1877F2; /* Facebook */
  transform: translateY(-1px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 260px;
  }
}