/* 1. IMPORTS & ROOT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap');

:root {
  --primary: #f59e0b;
  --dark: #1c1917;
}

/* 2. RESET & GLOBAL */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
  top: 0 !important; 
}

body { 
  font-family: 'Montserrat', system-ui, sans-serif; 
  background: #f5f5f4; 
  color: #1c1917; 
  line-height: 1.7; 
  margin: 0;
  top: 0 !important;
  position: static !important;
}

a { text-decoration: none; color: inherit; }

/* 3. GOOGLE TRANSLATE CLEANUP */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame,
#goog-gt-tt, 
.goog-te-balloon-frame,
.base-tooltip {
    display: none !important;
    visibility: hidden !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* 4. TYPOGRAPHY & BRANDING */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-body { font-family: 'Montserrat', system-ui, sans-serif; }

.gradient-text {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fbbf24;
  animation: gradientShift 3s ease infinite;
}

/* 5. NAVIGATION */
.navbar {
  background: #1c1917; 
  color: white; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 1rem 2rem; 
  position: sticky; 
  top: 0; 
  z-index: 1000;
}

.navbar a { color: white; margin-left: 1.5rem; font-weight: 600; }
.navbar a:hover { color: #f59e0b; }

.mobile-menu { 
  position: fixed;
  inset: 0;
  transform: translateX(100%); 
  transition: transform 0.3s ease-in-out; 
  z-index: 60;
}
.mobile-menu.active { transform: translateX(0); }

/* 6. LAYOUT COMPONENTS */
.container { max-width: 1200px; margin: auto; padding: 0 20px; }

.hero {
  background: linear-gradient(to right, #78350f, #b45309);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.9) 0%, rgba(180, 83, 9, 0.7) 30%, rgba(217, 119, 6, 0.5) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 80px 0;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-hover { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.card-hover:hover { 
  transform: translateY(-12px) scale(1.02); 
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.safari-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d97706' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 7. ANIMATIONS */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slow-zoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slow-zoom { animation: slow-zoom 20s infinite alternate ease-in-out; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }

/* 8. FOOTER */
footer { text-align: center; padding: 2rem; color: #525252; font-size: 0.9rem; }
footer .flex-wrap { justify-content: center; gap: 1rem; }

@view-transition { navigation: auto; }
/* ---------- Blog Modal & Article Styling ---------- */
#modal-content {
    color: #1c1917;
    line-height: 1.8;
}

#modal-content h1 { 
    font-size: 2.5rem; 
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem; 
    line-height: 1.2;
}

#modal-content h2 { 
    font-size: 1.8rem; 
    margin-top: 2rem; 
    margin-bottom: 1rem; 
    color: #78350f; /* Warm Amber Dark */
}

#modal-content img { 
    width: 100%; 
    height: auto; 
    border-radius: 1rem; 
    margin: 1.5rem 0; 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

#modal-content p { 
    margin-bottom: 1.25rem; 
    font-size: 1.1rem; 
    color: #44403c; 
}

#modal-content ul, #modal-content ol { 
    margin-left: 1.5rem; 
    margin-bottom: 1.5rem; 
}

#modal-content li { 
    margin-bottom: 0.5rem; 
}

/* Modal Container Polish */
#blog-modal .bg-white {
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Scrollbar for the Modal */
#blog-modal .overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}
#blog-modal .overflow-y-auto::-webkit-scrollbar-track {
    background: #f5f5f4;
}
#blog-modal .overflow-y-auto::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 10px;
}
/* ---------- Blog Grid Layout ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* ---------- Individual Blog Cards ---------- */
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e7e5e4; /* Stone-200 */
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ---------- The Content Area inside the Card/Modal ---------- */
.blog-content {
    padding: 1.5rem;
}

.blog-content .category {
    display: inline-block;
    background: #fef3c7; /* Amber-50 */
    color: #b45309; /* Amber-700 */
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1c1917;
}

.blog-content p {
    color: #57534e; /* Stone-600 */
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Article Styling (Inside the Modal) ---------- */
article {
    max-width: 100%;
    margin: 0 auto;
}

article img {
    width: 100%;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

article p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #292524;
}
/* ---------- Hero Buttons & Actions ---------- */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Primary Button (The "Book Now" style) */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    background: #d97706; /* Amber-600 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Secondary Button (The "Explore" style) */
.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive fix for mobile */
@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
}
header.article-header { text-align: center; padding: 4rem 1rem 2rem 1rem; }
header.article-header h1 { font-size: 3rem; margin-bottom: 1rem; }
header.article-header p { color: #525252; font-size: 1.2rem; max-width: 700px; margin: 0 auto; }

/* ---------- Article Content ---------- */
.article-content { max-width: 800px; margin: 2rem auto; padding: 3rem; background: #fff; border-radius: 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.article-content img { width: 100%; border-radius: 1rem; margin: 2rem 0; }
.article-content h2, .article-content h3 { color: #1c1917; margin-top: 2rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul { margin-left: 1.5rem; list-style-type: disc; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(90deg,#f59e0b,#fbbf24); color: white; text-align: center; padding: 4rem 2rem; border-radius: 1.5rem; margin: 4rem 2rem; }
.cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta p { font-size: 1.2rem; margin-bottom: 2rem; color: #fef3c7; }
.cta a { background: white; color: #b45309; font-weight: 600; padding: 1rem 2rem; border-radius: 999px; transition: transform 0.3s; }
.cta a:hover { transform: scale(1.05); background: #fef3c7; }
/* ---------- Modal Image Resizing ---------- */
#modal-content img {
    max-width: 100%;       /* Prevents horizontal scrolling */
    max-height: 450px;     /* Prevents images from taking up the whole screen */
    width: auto;           /* Maintains original aspect ratio */
    height: auto;          /* Maintains original aspect ratio */
    display: block;        /* Removes bottom white space/alignment issues */
    margin: 1.5rem auto;   /* Centers the image and gives it breathing room */
    border-radius: 0.75rem; 
    object-fit: contain;   /* Ensures the whole image is visible without cropping */
}

/* Mobile Adjustment */
@media (max-width: 640px) {
    #modal-content img {
        max-height: 300px; /* Shorter limit for smaller phone screens */
    }
}