/* Hero Banner Styling */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.cta-button:hover {
    background: #d35400;
}

/* Footer Styling */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #95a5a6;
}

/* General Layout Help */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

/* --- COUNTRY GRID STYLES --- */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.country-card {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.country-card span {
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.country-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid #e63946; /* Brand Red */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.country-card:hover span {
    color: #e63946;
}

/* --- FRANCE BANNER --- */
.france-hero-banner {
    height: 300px;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid #e63946;
}

.banner-overlay h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* --- LOCAL GUIDES GRID --- */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 4rem;
}

.guide-card {
    background: #1a1a1a;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 50px 10px 10px 50px; /* Stylized shape */
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.guide-card:hover {
    transform: translateX(5px);
    border-color: #e63946;
}

.guide-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid #444;
}

.guide-info {
    margin-left: 15px;
}

.guide-info h4 {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
}

.guide-info p {
    margin: 0;
    color: #e63946;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Logo Styling */
.logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50; /* Dark Navy */
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -1px;
}

.logo-icon {
    margin-right: 8px;
    font-size: 1.4rem;
}

/* "Place" is highlighted in the brand blue */
.logo span {
    color: #3498db; 
}

/* "Stay" is slightly lighter to emphasize the directory aspect */
.logo a:after {
    content: '';
}

.logo:hover .logo-icon {
    transform: translateY(-3px);
    transition: 0.3s;
}

/* Ensure the header container is aligned */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Header & Navigation */
.site-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: #3498db; /* Professional Blue */
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #34495e;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-cta {
    background: #3498db;
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

/* Dropdown Logic */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    margin-top: 10px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* France Hero Section */
.country-hero {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.france-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1502602898657-3e91760cbb34?auto=format&fit=crop&w=1200&q=80');
}

/* Guide Card Container */
.guide-card {
    position: relative; /* Essential for the absolute overlay */
    background: white;
    border-radius: 12px;
    overflow: hidden; /* Keeps the overlay inside the rounded corners */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.guide-main-info {
    padding: 20px;
    text-align: center;
}

.guide-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #3498db;
}

/* The Secret Overlay */
.guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.95); /* Dark elegant blue with transparency */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

/* Show overlay on hover */
.guide-card:hover .guide-overlay {
    opacity: 1;
}

.guide-card:hover {
    transform: translateY(-5px);
}

/* Overlay Content Styling */
.overlay-content h4 {
    color: #3498db;
    margin-top: 0;
    font-size: 1.2rem;
}

.bio {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.extra-details p {
    font-size: 0.8rem;
    margin: 5px 0;
}

.email-btn {
    display: inline-block;
    margin-top: 15px;
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.email-btn:hover {
    background: #2980b9;
}


/* 1. The Main Grid Container */
.guide-grid {
    display: grid;
    /* This creates a fluid grid: 1 column on mobile, up to 4 on desktop */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px; /* More breathing room between cards */
    padding: 20px 0;
}

/* 2. The Modern Card Design */
.guide-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px; /* Softer, modern corners */
    overflow: hidden;
    border: 1px solid #eef2f3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft, deep shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy hover */
}

.guide-card:hover {
    transform: translateY(-10px); /* Lifts higher on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* 3. The Main Info Section */
.guide-main-info {
    padding: 30px 20px;
    text-align: center;
}

.guide-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.guide-card h3 {
    margin: 10px 0 5px 0;
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    font-size: 1.3rem;
}

.city {
    color: #3498db;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* 4. The Overlay (Glassmorphism Effect) */
.guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.85); /* Dark blue */
    backdrop-filter: blur(8px); /* Modern blur effect */
    -webkit-backdrop-filter: blur(8px);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guide-card:hover .guide-overlay {
    opacity: 1;
}

/* 5. Tags Styling */
.tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f0f7ff;
    color: #3498db;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* 6. Contact Button */
.email-btn {
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s;
    border: none;
}

.email-btn:hover {
    background: #2980b9;
}