/*
Theme Name: Sukatrip WordPress
Theme URI: https://sukatrip.com/
Author: Codex
Description: A modern WordPress theme for a clean travel agency website inspired by Sukatrip.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sukatrip-wp
*/

:root {
  --ink: #102124;
  --muted: #667579;
  --paper: #ffffff;
  --soft: #f6faf8;
  --mist: #edf5f2;
  --line: #dfe9e5;
  --brand: #0d6f73;
  --brand-dark: #06484c;
  --accent: #c96f3a;
  --sand: #f2d49b;
  --shadow: 0 24px 70px rgba(5, 47, 52, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  text-rendering: geometricPrecision;
}

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

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

p {
  margin: 0 0 18px;
}

.container,
.nav-wrap {
  margin: 0 auto;
  max-width: var(--max);
  width: 100%;
}

.site-header {
  left: 0;
  padding: 22px clamp(18px, 5vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 50;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(16, 33, 36, 0.08);
  position: sticky;
  top: 0;
}

.nav-wrap {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  box-shadow: 0 16px 44px rgba(8, 43, 47, 0.12);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 10px 14px 10px 12px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  padding-right: 8px;
}

.brand-mark {
  background: #fff;
  border: 1px solid rgba(16, 33, 36, 0.08);
  border-radius: 999px;
  height: 48px;
  object-fit: cover;
  padding: 5px;
  width: 48px;
}

.menu-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  background: #fff;
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.primary-menu,
.primary-menu ul {
  align-items: center;
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  border-radius: 999px;
  color: rgba(16, 33, 36, 0.78);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 15px;
  transition: background 180ms ease, color 180ms ease;
}

.primary-menu a:hover {
  background: rgba(13, 111, 115, 0.1);
  color: var(--brand-dark);
}

.hero {
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8, 34, 38, 0.82), rgba(8, 34, 38, 0.32), rgba(8, 34, 38, 0.08)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 92vh;
  padding: 132px clamp(20px, 5vw, 64px) 72px;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(36px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.58fr);
}

.hero-content {
  color: #fff;
  max-width: 760px;
}

.eyebrow {
  color: var(--accent);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sand);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  margin: 0 0 24px;
  max-width: 780px;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  margin: 0 0 34px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.wp-block-button__link {
  align-items: center;
  background: var(--brand);
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 14px 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--brand-dark);
  box-shadow: 0 18px 42px rgba(6, 72, 76, 0.24);
  transform: translateY(-1px);
}

.button-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.button-dark-text {
  border-color: var(--line);
  color: var(--ink);
}

.button-wide {
  width: 100%;
}

.trip-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: 24px;
}

.trip-panel strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
}

.panel-label {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.panel-row {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.panel-row span,
.tour-meta,
.footer-note,
.lead {
  color: var(--muted);
}

.panel-row span {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.stats-band {
  background: var(--brand-dark);
  color: #fff;
  padding: 22px clamp(20px, 5vw, 64px);
}

.stats-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 20px;
}

.stats-grid strong {
  display: block;
  font-size: 24px;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: clamp(70px, 8vw, 118px) clamp(20px, 5vw, 64px);
}

.elementor-content {
  min-height: 60vh;
}

.elementor-content > .elementor,
.elementor-content .elementor-section-wrap {
  width: 100%;
}

.muted-section,
.section.soft {
  background: var(--soft);
}

.gallery-section {
  background: #0e2528;
  color: #fff;
}

.gallery-section .lead {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  margin-bottom: 34px;
}

.section-title {
  font-family: "STIX Two Text", Georgia, serif;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  margin: 0;
}

.lead {
  font-size: 18px;
  max-width: 760px;
}

.split-section {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.feature-list + .hero-actions {
  margin-top: 28px;
}

.photo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-grid img,
.gallery-grid img {
  border-radius: var(--radius);
  height: 245px;
  object-fit: cover;
  width: 100%;
}

.photo-grid img:first-child {
  height: 315px;
  grid-row: span 2;
}

.package-photo img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.guide-card {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
}

.guide-card > img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.guide-meta {
  display: grid;
  gap: 2px;
  margin: 24px 0 0;
}

.guide-meta span {
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(8, 43, 47, 0.08);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-media {
  position: relative;
}

.card-media img,
.card > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card-media span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  left: 16px;
  padding: 8px 12px;
  position: absolute;
  top: 16px;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.card p {
  color: var(--muted);
  flex: 1;
  font-size: 14px;
}

.tour-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 16px;
}

.tour-meta span {
  background: var(--mist);
  border-radius: 999px;
  padding: 7px 10px;
}

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

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4) {
  grid-row: span 2;
  height: 504px;
}

.reviews {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(8, 43, 47, 0.06);
  padding: 24px;
}

.review p {
  color: #374649;
  font-size: 14px;
}

.review img {
  border-radius: 999px;
  height: 52px;
  margin: 18px 0 10px;
  object-fit: cover;
  width: 52px;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 212, 155, 0.56), transparent 32%),
    linear-gradient(135deg, #eef8f5, #fff9ed);
  padding: 166px clamp(20px, 5vw, 64px) 78px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 880px;
}

.post-list {
  display: grid;
  gap: 22px;
}

.post-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(8, 43, 47, 0.06);
  padding: 28px;
}

.static-journal article {
  overflow: hidden;
  padding: 0;
}

.static-journal article img {
  aspect-ratio: 16 / 8;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.static-journal article h2,
.static-journal article p,
.static-journal article .button {
  margin-left: 28px;
  margin-right: 28px;
}

.static-journal article h2 {
  margin-top: 24px;
}

.static-journal article .button {
  margin-bottom: 28px;
}

.post-list h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
  margin: 0 0 12px;
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.contact-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(8, 43, 47, 0.06);
  padding: 26px;
}

.contact-item h3 {
  margin: 0 0 8px;
}

.contact-item p {
  color: var(--muted);
  margin: 0;
}

.map-frame {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 420px;
  margin-top: 28px;
  width: 100%;
}

.featured-image {
  margin-bottom: 32px;
}

.featured-image img {
  border-radius: var(--radius);
  height: auto;
  width: 100%;
}

.site-footer {
  background: #071b1e;
  color: #fff;
  padding: 58px clamp(20px, 5vw, 64px);
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 38px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  font-size: 22px;
  font-weight: 800;
}

.footer-brand img {
  background: #fff;
  border-radius: 999px;
  height: 56px;
  object-fit: cover;
  padding: 5px;
  width: 56px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-note {
  color: rgba(255, 255, 255, 0.68);
  max-width: 430px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 16px 18px;
  }

  .nav-wrap {
    border-radius: 24px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-menu {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    left: 12px;
    padding: 14px;
    position: absolute;
    right: 12px;
    top: 74px;
  }

  .primary-menu.is-open,
  .primary-menu.is-open ul {
    align-items: stretch;
    display: grid;
    gap: 4px;
  }

  .primary-menu a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  .hero-grid,
  .split-section,
  .guide-card,
  .section-head,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .reviews,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 18px;
  }

  .brand-mark {
    height: 42px;
    width: 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trip-panel {
    padding: 20px;
  }

  .cards,
  .reviews,
  .gallery-grid,
  .photo-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(4),
  .photo-grid img,
  .photo-grid img:first-child {
    height: 260px;
  }

  .stats-grid div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 16px 0 0;
  }
}
