@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --primary-color: #007b5e;
    --primary-dark: #004d40;
    --primary-deep: #012b23;
    --secondary-color: #e5b82c;
    --secondary-hover: #f59e0b;
    --gold-accent: #d4af37;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-light: #fbfcfb;
    --bg-surface: #ffffff;
    --bg-tinted: #f4f8f5;
    --border-light: #e2ece7;
    --border-subtle: rgba(0, 77, 64, 0.08);
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-sm: 0 2px 8px rgba(0, 37, 26, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(0, 37, 26, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(0, 37, 26, 0.12);
    --shadow-glow: 0 0 25px rgba(229, 184, 44, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* ==========================
   RESET & BOX SIZING
========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

main img,
section img,
article img,
.destination img,
.tour img,
.souvenir img,
.blog-post img,
.blog-card img,
.destination-card img,
.tour-card img,
.souvenir-card img,
.contact-hero img,
#hero-contact img,
#hero-plan img,
#hero-destinations img,
#hero-tours img,
#hero-souvenirs img,
#hero-blog img,
.blog-post-full img {
    width: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

html {
    font-size: 16px; /* Base font size */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.625;
    color: #2d3748;
    background-color: #fcfdfe;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================
   TYPOGRAPHY
========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #111827;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2.125rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p, li, a, span {
    font-size: 1rem;
    font-weight: 400;
}

p {
    margin-bottom: 1.25rem;
    color: #4a5568;
}

/* ==========================
   LINKS
========================== */
a {
    text-decoration: none;
    color: #007b5e;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
    color: #004d40;
}

/* ==========================
   BUTTONS
========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    --btn-text-color: #fff;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-align: center;
    background-color: #007b5e;
    color: var(--btn-text-color);
    padding: 0.8em 1.75em;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0, 123, 94, 0.18);
    letter-spacing: -0.01em;
}

.btn:hover,
.btn:focus-visible {
    background-color: #004d40;
    color: var(--btn-text-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 77, 64, 0.25);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 77, 64, 0.15);
}

/* ==========================
   SECTIONS
========================== */
section {
    padding: 4em 2em;
}

section h2 {
    text-align: center;
    margin-bottom: 2em;
    font-weight: 700;
}

/* ==========================
   GRID LAYOUTS
========================== */
.destinations-grid,
.tours-grid,
.souvenirs-grid,
.blog-grid {
    display: grid;
    gap: 2em;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* ==========================
   FORMS
========================== */
input, select, textarea, button {
    width: 100%;
    padding: 0.75em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid #007b5e;
    outline-offset: 2px;
}

/* ==========================
   HERO IMAGES
========================== */
section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1em;
    object-fit: cover;
}

/* ==========================
   LISTS
========================== */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 0.5em;
}

/* ==========================
   RESPONSIVE TYPOGRAPHY
========================== */
@media (max-width: 1200px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }
    section {
        padding: 3em 1.5em;
    }
    .destinations-grid,
    .tours-grid,
    .souvenirs-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 3em 1.5em;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    .btn {
        padding: 0.65em 1.2em;
        font-size: 0.95rem;
    }
    .destinations-grid,
    .tours-grid,
    .souvenirs-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    input, select, textarea, button {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 1rem; }
    section {
        padding: 2em 1em;
    }
    .btn {
        padding: 0.5em 0.8em;
        font-size: 0.85rem;
    }
    p, li, a, span {
        font-size: 0.95rem;
    }
    input, select, textarea, button {
        padding: 0.6em;
        font-size: 0.9rem;
    }
}

/* ==========================
   ACCESSIBILITY
========================== */
body {
    color-scheme: light;
}

button:focus-visible, input:focus, select:focus, textarea:focus {
    outline: 2px solid #007b5e;
    outline-offset: 1px;
    box-shadow: 0 0 0 4px rgba(0, 123, 94, 0.15);
}
