/* style.css - Portsmouth Travels Ltd */
:root {
  --navy: #0b1f3b;
  --blue: #1c4fd7;
  --aqua: #38c2f2;
  --gold: #f5c84b;
  --slate: #1f2937;
  --muted: #6b7280;
  --bg: #f5f7fb;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(11, 31, 59, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(56, 194, 242, 0.12), transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(245, 200, 75, 0.16), transparent 45%),
    linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
  color: var(--slate);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 32% 68% 45% 55% / 55% 42% 58% 45%;
  background: rgba(28, 79, 215, 0.08);
  top: 12vh;
  left: -120px;
  z-index: -1;
  filter: blur(2px);
}

body::after {
  width: 320px;
  height: 320px;
  top: auto;
  bottom: 6vh;
  left: auto;
  right: -160px;
  background: rgba(56, 194, 242, 0.12);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: radial-gradient(circle at top left, rgba(56, 194, 242, 0.2), transparent 55%),
    linear-gradient(135deg, #0b1f3b 0%, #112b5e 55%, #1c4fd7 100%);
  color: #fff;
  padding-bottom: 3.5rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 6vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 31, 59, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: var(--gold);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 3rem 6vw 0;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: 6vw;
  top: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(245, 200, 75, 0.35), transparent 60%);
  opacity: 0.9;
  z-index: 0;
}

.hero-content {
  max-width: 580px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.btn {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(245, 200, 75, 0.4);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.hero-trust strong {
  font-size: 1.3rem;
  display: block;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(-1.2deg);
}

.hero-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(56, 194, 242, 0.18);
  right: -40px;
  bottom: -40px;
  z-index: -1;
}

.hero-card ul {
  padding-left: 1.2rem;
}

.hero-card-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 6vw;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 40% 60% 55% 45%;
  background: rgba(245, 200, 75, 0.18);
  left: -60px;
  top: -60px;
}

.stat {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(28, 79, 215, 0.12);
  right: -20px;
  top: -20px;
}

.stat h2 {
  margin: 0;
  color: var(--blue);
}

.section {
  padding: 4rem 6vw;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 20% 80% 60% 40% / 50% 40% 60% 50%;
  background: rgba(28, 79, 215, 0.08);
  right: 4vw;
  top: 2rem;
  z-index: -1;
}

.section.alt {
  background: linear-gradient(135deg, #ffffff 0%, #f4f7ff 100%);
}

.section-header {
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.section-header .eyebrow {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(56, 194, 242, 0.12);
  top: -60px;
  right: -60px;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px) rotate(0.3deg);
  box-shadow: 0 30px 70px rgba(11, 31, 59, 0.2);
}

.card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.grid.destinations {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.destination {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(28, 79, 215, 0.08), rgba(56, 194, 242, 0.2));
  border: 1px solid rgba(28, 79, 215, 0.1);
  position: relative;
  overflow: hidden;
}

.destination-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(11, 31, 59, 0.15);
}

.placeholder {
  display: block;
}

.destination::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 30% 70% 40% 60%;
  background: rgba(245, 200, 75, 0.2);
  left: -40px;
  bottom: -50px;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.image-tile {
  padding: 2.4rem 2rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(11, 31, 59, 0.9), rgba(28, 79, 215, 0.7));
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}

.image-tile:nth-child(2n) {
  transform: translateY(10px);
  background: linear-gradient(135deg, rgba(28, 79, 215, 0.85), rgba(56, 194, 242, 0.7));
}

.image-tile::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245, 200, 75, 0.35);
  top: -60px;
  right: -50px;
}

.image-tile span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  opacity: 0.8;
}

.timeline {
  display: grid;
  gap: 1.2rem;
  position: relative;
  padding-left: 1.2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.3rem;
  width: 2px;
  height: calc(100% - 0.6rem);
  background: linear-gradient(180deg, rgba(28, 79, 215, 0.5), rgba(56, 194, 242, 0.2));
}

.timeline-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  left: -1.2rem;
  top: 1.4rem;
  box-shadow: 0 0 0 6px rgba(245, 200, 75, 0.2);
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.logo-pill {
  background: #fff;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  text-align: center;
  font-weight: 600;
  color: var(--slate);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.logo-pill::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(56, 194, 242, 0.12);
  top: -40px;
  right: -30px;
}

.destination-tag {
  display: inline-block;
  background: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.split > *:first-child {
  transform: translateY(8px);
}

.split > *:last-child {
  transform: translateY(-8px);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.panel {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.panel::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(28, 79, 215, 0.12);
  top: -70px;
  left: -70px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.panel-grid strong {
  font-size: 1.4rem;
  color: var(--blue);
  display: block;
}

.grid.testimonials {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial {
  background: var(--card);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
  position: relative;
  overflow: hidden;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(11, 31, 59, 0.15);
  border: 3px solid var(--bg);
}

.testimonial::after {
  content: '“';
  position: absolute;
  font-size: 5rem;
  color: rgba(28, 79, 215, 0.08);
  top: -20px;
  right: 20px;
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-style: italic;
}

.faq {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(56, 194, 242, 0.12);
  border-radius: 50%;
  right: -40px;
  top: -40px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 4rem 6vw;
  background: linear-gradient(135deg, rgba(28, 79, 215, 0.1), rgba(245, 200, 75, 0.2));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%;
  background: rgba(11, 31, 59, 0.12);
  right: -80px;
  bottom: -80px;
}

.cta-content h2 {
  margin-top: 0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-panel {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(0.8deg);
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 6vw;
  display: grid;
  gap: 1rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(245, 200, 75, 0.12);
  right: -60px;
  top: -60px;
}

.site-footer a {
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

#accept-cookies {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  margin-left: 1rem;
  cursor: pointer;
}

#accept-cookies:hover {
  background: var(--gold);
  color: var(--navy);
}

@media (max-width: 980px) {
  .navbar {
    padding: 1.2rem 5vw;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #0b1f3b;
    position: absolute;
    top: 70px;
    right: 5vw;
    width: 220px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero-trust {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2rem;
  }

  .stats {
    padding: 2rem 5vw;
  }

  .section,
  .cta {
    padding: 3rem 5vw;
  }
}
