/* ==================== CSS Reset & Variables ==================== */

@import url("https://fonts.googleapis.com/css2?family=Pacifico&family=Parkinsans:wght@300..800&display=swap");

:root {
  --primary: #1a3a52;
  --secondary: #d0a928;
  --text: #2c3e50;
  --text-light: #4a4a4a;
  --bg: #ffffff;
  --bg-light: #f5f7fa;
  --border: #e8eef5;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "parkinsans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "parkinsans";
  font-weight: 700;
  line-height: 1.3;
}

/* Ensure no sharp corners behind rounded images */
img {
  border-radius: 12px; /* Rounded corners for images */
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==================== Navigation ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* When user scrolls down */
.navbar.scrolled {
  box-shadow: var(--shadow);
}

/* Ensure navbar shows when menu is open */
.navbar.menu-open {
  transform: translateY(0) !important;
}

/* Optional: smoother hiding behavior for mobile view */
@media (max-width: 768px) {
  .navbar {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  background-image: url("Untitled design (8).png");
  width: 65px;
  height: 65px;
  border-radius: 1px;
}

.site-name {
  color: var(--primary);
  font-weight: 700;
  margin-left: -16px;
  margin-top: 14px;
  font-family: Pacifico, cursive;
  font-size: 1.6rem; /* Increase this value to make the site name larger */
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==================== Ad Banner ==================== */
.ad-banner {
  margin-top: 90px;
  padding: 1.5rem;
  background: var(--bg-light);
  display: flex;
  justify-content: center;
}

.ad-slot {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.ad-square-wrapper {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.ad-slot.square {
  border-radius: 4px;
}

/* ==================== Hero Section - Optimized ==================== */
.hero {
  position: relative;
  height: 64vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -10px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 25s ease-in-out infinite alternate;
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 58, 82, 0.75) 0%,
    rgba(35, 69, 103, 0.7) 50%,
    rgba(26, 58, 82, 0.75) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease 0.3s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2.5rem; /* Increased from 2rem to 2.5rem */
  padding: 0.5rem 1.4rem;
  background: rgba(212, 175, 55, 0.25);
  border: 1.5px solid var(--secondary);
  border-radius: 50px;
  opacity: 0.95;
  backdrop-filter: blur(10px);
  animation: fadeInDown 1s ease 0.2s backwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 1.8rem;
  opacity: 0.95;
  letter-spacing: 0.5px;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.5s backwards;
}

.hero-divider {
  width: 70px;
  height: 3px;
  background: var(--secondary);
  margin: 0 auto 1.8rem;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.85rem;
  animation: fadeInUp 1s ease 0.7s backwards;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
  background: #e5c158;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.scroll-hint svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ==================== Container & Layout ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  border-radius: 12px; /* Same rounding as images */
  overflow: hidden; /* Ensure content respects the rounded corners */
  box-shadow: var(
    --shadow-lg
  ); /* Optional: Add a shadow for better visual effect */
}

/* ==================== Destination Cards ==================== */
.destination {
  margin-bottom: 4.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.destination[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

.destination-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.destination.reverse .destination-grid {
  direction: rtl;
}

.destination.reverse .destination-content {
  direction: ltr;
}

.destination-image {
  border-radius: 12px; /* Match the image border-radius */
  overflow: hidden; /* Hide any sharp corners or overflow */
  box-shadow: var(--shadow-lg); /* Optional: Add a shadow for better visuals */
  transition: transform 0.4s ease;
}

.destination-image:hover {
  transform: scale(1.02);
}

.destination-image img {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  object-fit: cover;
  transition: filter 0.4s ease;
}

.destination-image:hover img {
  filter: brightness(1.05);
}

.destination-header {
  margin-bottom: 1.2rem;
}

.destination-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.destination-location {
  font-size: 0.9rem;
  color: #a7a20b;
  font-weight: 600;
  letter-spacing: 1px;
}

.destination-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.destination-meta {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.meta-item {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 570;
}

/* ==================== At a Glance Section ==================== */
.glance-section {
  margin: 4.5rem 0;
  padding: 2.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.glance-section[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.8rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.glance-card {
  padding: 1.8rem;
  background: var(--bg-light);
  border-left: 4px solid var(--secondary);
  transition: all 0.3s ease;
}

.glance-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  background: var(--bg);
}

.glance-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.glance-details p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.glance-details strong {
  color: var(--text);
}

/* ==================== Related Articles ==================== */
.related-section {
  margin-top: 4.5rem;
  padding: 2.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.related-section[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-light);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.article-card img {
  border-radius: 12px; /* Ensure article images also have rounded corners */
  overflow: hidden; /* Prevent sharp corners */
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.article-card:hover img {
  filter: brightness(1.1);
}

.article-content {
  padding: 1.6rem;
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary);
  color: white;
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.8rem;
  border-radius: 2px;
}

.article-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ==================== Footer ==================== */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col h5 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    height: 55vh;
    min-height: 420px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-label {
    font-size: 0.75rem;
    padding: 0.4rem 1.2rem;
    margin-bottom: 2.5rem;
  }

  .hero-divider {
    width: 60px;
    margin-bottom: 1.2rem;
  }

  .hero-cta {
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
  }

  .scroll-hint {
    display: none;
  }

  .container {
    padding: 2.5rem 1.5rem;
  }

  .destination {
    margin-bottom: 3rem;
  }

  .destination-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .destination.reverse .destination-grid {
    direction: ltr;
  }

  .destination-title {
    font-size: 1.6rem;
  }

  .destination-image img {
    height: 300px;
  }

  .destination-text {
    font-size: 0.95rem;
    text-align: left;
  }

  .destination-meta {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .section-title {
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }

  .glance-section {
    margin: 3rem 0;
    padding: 1.5rem 0;
  }

  .glance-grid {
    gap: 1rem;
  }

  .glance-card {
    padding: 1.4rem;
  }

  .glance-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .glance-details p {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .related-section {
    margin-top: 3rem;
    padding: 1.5rem 0;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .article-content {
    padding: 1.3rem;
  }

  .article-tag {
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
  }

  .article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .ad-square-wrapper {
    margin: 2.5rem 0;
  }

  .ad-slot {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 728 / 90;
  }

  .ad-slot.square {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 300px;
  }

  .footer {
    padding: 2rem 1.5rem 1rem;
  }

  .footer-content {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .site-name {
    font-size: 1.5rem;
  }

  .hero {
    height: 50vh;
    min-height: 350px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .hero-label {
    font-size: 0.7rem;
    padding: 0.35rem 1rem;
    margin-bottom: 1.9rem;
  }

  .hero-divider {
    width: 50px;
    margin-bottom: 0.8rem;
  }

  .hero-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .destination {
    margin-bottom: 2.5rem;
  }

  .destination-grid {
    gap: 1.5rem;
  }

  .destination-title {
    font-size: 1.4rem;
  }

  .destination-header {
    margin-bottom: 0.8rem;
  }

  .destination-image img {
    height: 250px;
  }

  .destination-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .destination-meta {
    gap: 0.3rem;
    padding-top: 0.8rem;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .glance-section {
    margin: 2rem 0;
  }

  .glance-card {
    padding: 1.2rem;
  }

  .glance-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .glance-details p {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .related-section {
    margin-top: 2rem;
  }

  .article-content {
    padding: 1.2rem;
  }

  .article-card img {
    height: 200px;
  }

  .article-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .article-card p {
    font-size: 0.9rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-col h5 {
    font-size: 0.85rem;
  }

  .footer-col a {
    font-size: 0.85rem;
  }
}

@media (max-width: 920px) {
  .hero-cta {
    margin-top: 0.8px;
  }
}

/* ==================== Animations ==================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 1283px) and (max-width: 3500px) {
  .logo-section {
    transform: translateX(-70%);
  }
}
