/* ===== BRAND VARIABLES ===== */
:root {
  --primary: #0F4C5C;        /* Deep Teal (Ocean) */
  --primary-dark: #0A3440;
  --secondary: #E36414;      /* Sunset Orange */
  --accent: #F7B801;         /* Golden Sand */
  --dark: #0A2540;
  --light: #FFF8F0;
  --cream: #FAF3E7;
  --gray: #6B7280;
  --white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(15, 76, 92, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 76, 92, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 76, 92, 0.18);
  --gradient: linear-gradient(135deg, #0F4C5C 0%, #1a6b7d 100%);
  --gradient-warm: linear-gradient(135deg, #E36414 0%, #F7B801 100%);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 90px; /* Prevents sections from hiding under the fixed navbar */
}

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-warm);
  border-radius: 10px;
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-plane {
  width: 60px; height: 60px;
  border: 4px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 1.2rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.navbar.scrolled {
  padding: 0.8rem 5%;
  box-shadow: var(--shadow-sm);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--primary);
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--dark);
  font-weight: 500; position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -5px; left: 0; width: 0; height: 2px;
  background: var(--gradient-warm);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--secondary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--secondary); }

.nav-cta {
  padding: 0.7rem 1.5rem;
  background: var(--gradient-warm);
  color: white; border: none;
  border-radius: 50px;
  font-weight: 600; cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(227, 100, 20, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(227, 100, 20, 0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 28px; height: 3px; background: var(--primary); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 5% 60px;
  background: linear-gradient(135deg, rgba(15, 76, 92, 0.85), rgba(10, 37, 64, 0.7)),
              url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1920') center/cover;
}
.hero::before {
  content: ''; position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(247, 184, 1, 0.15), transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
  color: white;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem; margin-bottom: 1.5rem;
  animation: slideInUp 0.8s ease;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1; margin-bottom: 1.5rem;
  animation: slideInUp 0.8s ease 0.2s backwards;
}
.hero h1 span {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem; margin-bottom: 2rem;
  opacity: 0.9;
  animation: slideInUp 0.8s ease 0.4s backwards;
}
.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: slideInUp 0.8s ease 0.6s backwards;
}
.btn-primary, .btn-outline {
  padding: 1rem 2rem;
  border-radius: 50px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; font-size: 1rem;
}
.btn-primary {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 10px 30px rgba(227, 100, 20, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(227, 100, 20, 0.5); }
.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover { background: white; color: var(--primary); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 3rem;
  animation: slideInUp 0.8s ease 0.8s backwards;
}
.stat-item h3 {
  font-size: 2.5rem; font-weight: 700;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item p { font-size: 0.9rem; opacity: 0.8; }

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 20s ease-in-out infinite;
}
.shape-1 { width: 300px; height: 300px; background: var(--accent); top: 10%; right: 5%; }
.shape-2 { width: 200px; height: 200px; background: var(--secondary); bottom: 15%; right: 15%; animation-delay: -5s; }
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
section { padding: 6rem 5%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(227, 100, 20, 0.1);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px; text-transform: uppercase;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title span { color: var(--secondary); }
.section-subtitle {
  color: var(--gray);
  max-width: 600px; margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== ABOUT PREVIEW (Homepage) ===== */
.about-preview {
  background: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-image {
  position: relative;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 500px; object-fit: cover; transition: transform 0.6s; }
.about-image:hover img { transform: scale(1.05); }
.about-image::before {
  content: ''; position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  background: var(--gradient-warm);
  border-radius: 20px;
  z-index: -1;
}
.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; margin-bottom: 1.5rem;
  color: var(--dark);
}
.about-content p { color: var(--gray); margin-bottom: 1rem; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 2rem 0;
}
.feature-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  transition: var(--transition);
}
.feature-item:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 45px; height: 45px;
  background: var(--gradient-warm);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== DESTINATIONS ===== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.destination-card {
  position: relative;
  border-radius: 20px; overflow: hidden;
  height: 400px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.destination-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.destination-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.destination-card:hover img { transform: scale(1.1); }
.destination-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, transparent 60%);
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: white;
}
.destination-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; margin-bottom: 0.5rem;
}
.destination-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem;
}
.destination-price {
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent);
}
.destination-rating {
  display: flex; align-items: center; gap: 0.3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

/* ===== BLOGS ===== */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: white;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-image {
  height: 220px; overflow: hidden;
  position: relative;
}
.blog-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.blog-card:hover .blog-image img { transform: scale(1.1); }
.blog-category {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.3rem 0.9rem;
  background: var(--gradient-warm);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
}
.blog-content { padding: 1.5rem; }
.blog-meta {
  display: flex; gap: 1rem;
  font-size: 0.85rem; color: var(--gray);
  margin-bottom: 0.8rem;
}
.blog-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; margin-bottom: 0.8rem;
  color: var(--dark);
  transition: color 0.3s;
}
.blog-card:hover h3 { color: var(--secondary); }
.blog-content p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1rem; }
.blog-author {
  display: flex; align-items: center; gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-warm);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600;
}
.author-info strong { display: block; color: var(--dark); font-size: 0.9rem; }
.author-info small { color: var(--gray); }

/* ===== CONTACT ===== */
.contact-section {
  background: var(--cream);
}
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-info {
  background: var(--gradient);
  color: white;
  padding: 3rem;
  position: relative;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; margin-bottom: 1rem;
}
.contact-info p { opacity: 0.9; margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 45px; height: 45px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-form { padding: 3rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; margin-bottom: 0.5rem;
  font-weight: 500; font-size: 0.9rem;
  color: var(--dark);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: inherit; font-size: 0.95rem;
  transition: var(--transition);
  background: var(--light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 0 0 4px rgba(227, 100, 20, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: none;
}
.form-message.success {
  background: #d1fae5; color: #065f46;
  display: block;
}
.form-message.error {
  background: #fee2e2; color: #991b1b;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; margin-bottom: 1.5rem;
  color: var(--accent);
}
.footer-col p { opacity: 0.8; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--gradient-warm);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-preview, .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .about-image img { height: 400px; }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.4s;
  }
  .nav-links.active { transform: translateY(0); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  
  /* FIX: Hero spacing so title isn't blocked by fixed navbar */
  .hero {
    padding: 130px 5% 60px;
    align-items: flex-start;
    min-height: 100vh;
    text-align: center;
  }
  .hero-content {
    margin-top: 20px;
    max-width: 100%;
  }
  .hero-badge {
    font-size: 0.8rem;
  }
  
  /* Stats */
  .hero-stats { 
    gap: 1.5rem; 
    flex-wrap: wrap; 
    justify-content: center;
  }
  .stat-item h3 { font-size: 2rem; }
  
  /* About */
  .about-features { grid-template-columns: 1fr; }
  .about-content h2 { font-size: 2rem; }
  .about-image img { height: 350px; }
  
  /* Destinations */
  .destination-card { height: 350px; }
  
  /* Contact */
  .contact-info, .contact-form { padding: 2rem; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Sections */
  section { padding: 4rem 5%; }
}

@media (max-width: 480px) {
  /* Hero buttons stack */
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  
  /* Tighter hero spacing on very small screens */
  .hero {
    padding: 120px 5% 40px;
  }
  
  /* Smaller stats */
  .hero-stats { gap: 1rem; }
  .stat-item h3 { font-size: 1.6rem; }
  .stat-item p { font-size: 0.8rem; }
  
  /* Section titles */
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 0.95rem; }
  
  /* Blog cards */
  .blog-content { padding: 1.2rem; }
  .blog-content h3 { font-size: 1.15rem; }
  
  /* Contact form */
  .contact-info, .contact-form { padding: 1.5rem; }
  .contact-info h3 { font-size: 1.5rem; }
}