:root {
    --primary: #0158a8;
    --secondary: #90E0EF;
    --bg-light: #f0f7ff;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --white: #ffffff;
    --gray-footer: #2a2a2a;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --serif: 'Playfair Display', serif;
    --sans: 'Inter', sans-serif;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: var(--sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: var(--serif);
    font-weight: 700;
}

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

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Header & Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    color: var(--white);
    font-weight: 700;
}

header.scrolled .logo {
    font-size: 2.2rem;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

header.scrolled .main-nav a {
    color: var(--text-dark);
}

header.scrolled .main-nav a:hover {
    color: var(--primary);
}

/* Sections */
section { padding: 8rem 0; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 3.5rem; color: var(--primary); margin-bottom: 1.5rem; line-height: 1.1; }
.section-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Hero (Home) */
.hero {
    height: 100vh;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: -1;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
}

.hero-ctas {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary { background: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-primary:hover { background: transparent; color: var(--white); transform: translateY(-3px); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); transform: translateY(-3px); }

/* Meteo Home Section */
.meteo-home {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: -5rem;
    position: relative;
    z-index: 100;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.meteo-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 2rem;
    border-right: 1px solid #eee;
}

.meteo-item:last-child { border-right: none; }

.meteo-icon { color: var(--primary); }
.meteo-info h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.meteo-info p { font-size: 0.9rem; color: var(--text-muted); }

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 450px);
    gap: 2rem;
}

.dest-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0, 0, 0.2, 1);
}

.dest-card:hover img { transform: scale(1.1); }

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.card-large-1 { grid-column: 1 / 8; }
.card-medium-1 { grid-column: 8 / 13; }
.card-medium-2 { grid-column: 1 / 6; }
.card-large-2 { grid-column: 6 / 13; }

/* Prepare Grid */
.prepare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.prepare-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.prepare-card:hover { transform: translateY(-10px); }

.prepare-img { height: 350px; overflow: hidden; }
.prepare-img img { width: 100%; height: 100%; object-fit: cover; transition: 1s; }
.prepare-card:hover .prepare-img img { transform: scale(1.05); }

.prepare-info { padding: 2.5rem 1.5rem; text-align: center; }
.prepare-info h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.prepare-info p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.prepare-cta {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.blog-img { height: 250px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 2rem; }
.blog-content h3 { font-size: 1.4rem; line-height: 1.3; color: var(--text-dark); }
.blog-content p { margin-top: 1rem; color: var(--text-muted); font-size: 0.95rem; }
.section-header-secondary { margin-top: 7rem; }
.blog-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); }
.pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.pagination-link,
.pagination-ellipsis {
    min-width: 44px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(1, 88, 168, 0.18);
    border-radius: 999px;
    color: var(--primary);
    text-align: center;
    font-weight: 600;
}
.pagination-link:hover,
.pagination-link.active {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.pagination-ellipsis {
    border-color: transparent;
    color: var(--text-muted);
}

/* Article pages */
.article-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.05; }
.article-layout { max-width: 860px; margin: 0 auto; }
.article-content { font-size: 1.1rem; line-height: 1.85; color: var(--text-dark); }
.article-content > * + * { margin-top: 1.5rem; }
.article-content h2, .article-content h3 { color: var(--primary); margin-top: 3rem; line-height: 1.2; }
.article-content h2 { font-size: 2.3rem; }
.article-content h3 { font-size: 1.7rem; }
.article-content p { color: var(--text-dark); }
.article-content ul, .article-content ol { padding-left: 1.5rem; }
.article-content li + li { margin-top: 0.5rem; }
.article-content img { border-radius: 12px; margin: 2rem auto; }
.article-content figure { margin: 2.5rem 0; }
.article-content figcaption { margin-top: 0.75rem; color: var(--text-muted); font-size: 0.9rem; text-align: center; }

/* Internal Hero - Height Optimized */
.internal-hero {
    height: 45vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.internal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.internal-hero .container { position: relative; z-index: 10; max-width: 900px; }

/* Footer */
footer {
    background: var(--gray-footer);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
}

/* Mobile Nav Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.mobile-nav.active { right: 0; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin: 1.5rem 0; }
.mobile-nav a { color: var(--white); font-size: 1.8rem; font-family: var(--serif); }

@media (max-width: 1100px) {
    .meteo-home { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .prepare-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .main-nav { display: none; }
    .mobile-toggle { display: block; color: var(--white); font-size: 2rem; cursor: pointer; }
    header.scrolled .mobile-toggle { color: var(--primary); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .meteo-home { grid-template-columns: 1fr; margin-top: 0; border-radius: 0; width: 100%; left: 0; box-shadow: none; }
    .meteo-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 1.5rem; }
    .section-header h2 { font-size: 2.5rem; }
    .destinations-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .card-large-1, .card-medium-1, .card-medium-2, .card-large-2 { grid-column: span 1; height: 350px; }
    .prepare-grid, .blog-grid { grid-template-columns: 1fr; }
}
