@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-blue-light: #f0f4f8;
  --text-dark: #1a2b3c;
  --text-gray: #5a6b7c;
  --accent-blue: #0056b3;
  --accent-cyan: #00a8cc;
  --accent-coral: #ff6b6b;
  --border-light: #e1e4e8;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Space Grotesk', sans-serif;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

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

.text-center {
  text-align: center;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  text-align: center;
}

h1 span {
  color: var(--accent-blue);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
  font-size: 1.05rem;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-cyan);
}

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

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  gap: 12px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-notice {
  font-size: 0.75rem;
  color: var(--accent-coral);
  background: rgba(255, 107, 107, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  max-width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: center;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: white;
}

.btn-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-link:hover {
  gap: 12px;
  color: var(--accent-cyan);
}

/* Hero Section (New Structure) */
.hero-clean {
  padding: 4rem 0 6rem;
  background: var(--bg-white);
}

.hero-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.grid-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.grid-item:hover img {
  transform: scale(1.05);
}

.hero-content-bottom {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content-bottom p {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* About Service */
.about-service {
  padding: 4rem 0;
  background: var(--bg-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2 > *,
.grid-3 > * {
  min-width: 0;
  max-width: 100%;
}

.about-service img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Expeditions / Cards */
.expeditions {
  padding: 6rem 0;
  background: var(--bg-white);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  color: var(--text-dark);
}

.card-body .btn-link {
  margin-top: auto;
  padding-top: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background: var(--bg-blue-light);
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.testimonial-card h4 {
  color: var(--accent-blue);
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
}

/* Contact Form */
.contact {
  padding: 6rem 0;
  background: var(--bg-white);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-light);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Footer */
footer {
  background: var(--bg-light);
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-info strong {
  color: var(--accent-blue);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-disclaimer {
  color: var(--text-gray);
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-copy {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-2,
  .grid-3,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .grid-item {
    aspect-ratio: 16/9;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

.hero-slider {
  margin-bottom: 3rem;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slider-image.active {
  opacity: 1;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent-blue);
  width: 32px;
  border-radius: 6px;
}

.dot:hover {
  background: var(--accent-cyan);
}

.dive-overview {
  padding: 4rem 0;
  background: var(--bg-light);
}

.dive-overview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.overview-content {
  max-width: 900px;
  margin: 0 auto;
}

.overview-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.dive-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-item strong {
  color: var(--accent-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-item span {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 500;
}

.equipment-recommended,
.training-recommended {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-cyan);
}

.equipment-recommended h3,
.training-recommended h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.equipment-recommended ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.equipment-recommended li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
}

.equipment-recommended li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.training-recommended p {
  margin: 0;
  color: var(--text-dark);
  font-weight: 500;
}

@media (max-width: 768px) {
  .slider-container {
    aspect-ratio: 4/3;
  }
  
  .dive-details {
    grid-template-columns: 1fr;
  }
  
  .equipment-recommended ul {
    grid-template-columns: 1fr;
  }
}

.slider-container {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--text-dark);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.slider-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.06);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.prev-btn {
  left: 16px;
}

.next-btn {
  right: 16px;
}

@media (max-width: 576px) {
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .prev-btn {
    left: 8px;
  }
  .next-btn {
    right: 8px;
  }
}
/* ===== SS THISTLEGORM ARTICLE – ADDITIONAL STYLES ===== */

.article-hero {
    background: linear-gradient(145deg, #0f1a24 0%, #1a2a3a 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 4px solid #b8860b;
    position: relative;
    overflow: hidden;
}
.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #b8860b, #d4a02b, #b8860b);
    opacity: 0.6;
}
.article-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    color: #f5f0e8;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.15;
}
.article-hero h1 span {
    color: #d4a02b;
}

.article-content {
    padding: 4rem 0;
    background: #f8f5ef;
}
.article-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.article-text {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e1e1e;
}
.article-text p {
    margin-bottom: 1.5rem;
}
.article-text p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    color: #b8860b;
    font-weight: 700;
}

.overview-section {
    padding: 4rem 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.overview-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #1a2a3a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    text-align: center;
}
.overview-section .overview-text {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1e1e1e;
}
.overview-section .overview-text p {
    margin-bottom: 1.2rem;
}

.dive-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin: 2rem 0 2.2rem;
    background: #f8f5ef;
    padding: 1.8rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #b8860b;
}
.detail-item {
    display: flex;
    flex-direction: column;
}
.detail-item strong {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2c4055;
    opacity: 0.7;
}
.detail-item span {
    font-weight: 500;
    font-size: 1.05rem;
    color: #1e1e1e;
    margin-top: 0.15rem;
}

.equipment-recommended,
.training-recommended {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: #f2efe9;
    border-radius: 12px;
}
.equipment-recommended h3,
.training-recommended h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #1a2a3a;
    margin-bottom: 0.8rem;
}
.equipment-recommended ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
.equipment-recommended ul li {
    position: relative;
    padding-left: 1.3rem;
}
.equipment-recommended ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #b8860b;
    position: absolute;
    left: 0;
    top: 0.1rem;
}

.reviews {
    background: #f8f5ef;
    padding: 4rem 0;
}
.reviews h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #1a2a3a;
    margin-bottom: 2.5rem;
}
.review {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #b8860b;
}
.review p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e1e1e;
}
.review h4 {
    margin-top: 1rem;
    font-weight: 600;
    color: #1a2a3a;
}

.more-articles {
    padding: 4rem 0;
    background: #ffffff;
}
.more-articles h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #1a2a3a;
    margin-bottom: 2.5rem;
}
.wreck-card {
    background: #f8f5ef;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.wreck-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.wreck-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.wreck-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    padding: 1rem 1.5rem 0.2rem;
    color: #1a2a3a;
}
.wreck-card p {
    padding: 0 1.5rem 1rem;
    color: #3a4a5a;
    font-size: 0.95rem;
}
.wreck-card .btn-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: #b8860b;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.wreck-card .btn-link i {
    transition: transform 0.2s;
}
.wreck-card .btn-link:hover {
    color: #8b6b0a;
}
.wreck-card .btn-link:hover i {
    transform: translateX(4px);
}

.legal-content,
.legal-card {
  word-break: break-word;
}

[data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}

[data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}

@media (max-width: 900px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .hero-grid > *,
  .grid-2 > *,
  .grid-3 > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .comparison-table {
    overflow-x: visible;
  }

  .comparison-table .comp-row {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0 1.5rem;
  }

  header nav {
    display: none;
  }

  .header-notice {
    word-break: break-all;
    white-space: normal;
    text-align: center;
    width: 100%;
  }

  .logo a {
    flex-direction: column;
  }

  .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }

  .footer-col,
  .footer-info {
    word-break: break-all;
  }
}

.thanks-page main {
  padding: 4rem 0 6rem;
  background: #f8f9fa;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-container {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem 3.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #e1e4e8;
  text-align: center;
}

.thanks-container .thanks-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #f0f4f8;
  padding: 0.5rem;
}

.thanks-container h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1a2b3c;
  margin-bottom: 1.5rem;
}

.thanks-message {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1e2a36;
  margin-bottom: 2rem;
}

.thanks-message p {
  margin-bottom: 1rem;
  color: #1e2a36;
}

.thanks-message span {
  font-weight: 700;
  color: #0056b3;
}

.thanks-container .btn {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .thanks-container {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .contact-form {
    padding: 1.25rem;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }
}