/* --- Reset Básico y Configuración de Fuente --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
}

/* --- Header / Barra de Navegación --- */
.header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: #e67e22; 
}

.header .navbar a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.header .navbar a:hover {
    color: #e67e22;
}

/* --- Hero Section (Efectos Modernos) --- */
.hero {
    height: 85vh; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 0 1.5rem;
    overflow: hidden; 
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.6), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1583531352515-88841314dd95?q=80&w=1200') no-repeat center center/cover;
    z-index: -1;
    animation: zoomBackground 20s infinite alternate linear;
}

@keyframes zoomBackground {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-content {
    max-width: 750px;
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero .badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: #f1f1f1;
}

.hero strong {
    background: linear-gradient(45deg, #f39c12, #e74c3c); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1.4rem;
}

.hero .btn {
    display: inline-block;
    background: linear-gradient(45deg, #e67e22, #d35400);
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(230, 126, 34, 0.7);
}

/* --- About The Guide Section --- */
.about-container {
    padding: 5rem 5%;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.about-text .subtitle {
    color: #e67e22;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.05rem;
}

.skills-list {
    list-style: none;
    margin-top: 1.5rem;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
}

.skills-list li span {
    color: #e67e22;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, #fdf2e9, #fae5d3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    color: #e67e22;
    border: 4px solid #ffffff;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.profile-placeholder:hover {
    transform: rotate(0deg) scale(1.02);
}

.profile-placeholder span {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.profile-placeholder p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

/* --- Sección de Lugares Turísticos --- */
.places-container {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

.places-container .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.places-container .grid-places {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.places-container .card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.places-container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.places-container .card .card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #ddd; /* Color de fondo por si la imagen tarda en cargar */
}

/* Tus imágenes locales */
.places-container .card .bg-walled-city { background-image: url('./assets/center.jpg'); }
.places-container .card .bg-san-felipe { background-image: url('./assets/castle.webp'); }
.places-container .card .bg-getsemani  { background-image: url('./assets/getsemani.webp'); }
.places-container .card .bg-rosario    { background-image: url('./assets/rosario.jpg'); }

.places-container .card .card-body {
    padding: 2rem 1.5rem;
}

.places-container .card .card-body h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.places-container .card .card-body .subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e67e22; 
    font-weight: 800;
    margin-bottom: 1rem;
}

.places-container .card .card-body .description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.places-container .card .card-body .extra-info h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 0.5rem;
}

.places-container .card .card-body .extra-info ul {
    margin-left: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

.places-container .card .card-body .extra-info ul li {
    margin-bottom: 0.5rem;
}

.places-container .card .card-body .extra-info .fact {
    font-size: 0.9rem;
    background-color: #fdf2e9; 
    padding: 1rem;
    border-left: 4px solid #e67e22;
    border-radius: 0 8px 8px 0;
    color: #444;
    font-style: italic;
}

/* --- Footer --- */
.footer {
    background-color: #1a252f;
    color: #ffffff;
    text-align: center;
    padding: 3rem 1rem;
    line-height: 1.8;
}

.footer strong {
    color: #e67e22;
    font-size: 1.1rem;
}

/* --- Ajustes para Celulares y Tablets (Responsive) --- */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .skills-list li {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .header .navbar a {
        margin: 0;
        font-size: 0.95rem;
    }

    .hero {
        height: 90vh; 
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .hero .badge {
        font-size: 0.75rem;
    }

    .hero strong {
        font-size: 1.1rem;
    }

    .profile-placeholder {
        width: 100%;
        max-width: 300px;
    }

    .places-container .section-title {
        font-size: 2rem;
    }
}