/*
Theme Name: Hotel La Orquídea
Theme URI: https://hotelorquidea.com
Author: Hotel La Orquídea
Author URI: https://hotelorquidea.com
Description: Tema poético y elegante para Hotel La Orquídea. Colores lila, verde claro y blanco con tipografía serif.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotel-orquidea
Tags: hotel, custom-menu, featured-images, blog
*/

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

:root {
    --lila: #7b5ea7;
    --lila-light: #9b7ec7;
    --lila-dark: #5a3d86;
    --verde: #a3c4a0;
    --verde-light: #c3e4c0;
    --verde-dark: #83a480;
    --blanco: #ffffff;
    --crema: #faf8f5;
    --texto: #3a3a3a;
    --texto-light: #6a6a6a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    color: var(--texto);
    background-color: var(--crema);
    line-height: 1.8;
    font-size: 17px;
}

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

a {
    color: var(--lila);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--lila-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVEGACIÓN
   ============================================ */
.site-header {
    background: var(--blanco);
    border-bottom: 2px solid var(--verde-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(123, 94, 167, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-branding .site-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--lila);
    letter-spacing: 0.02em;
}

.site-branding .site-title a {
    color: var(--lila);
}

.site-branding .site-tagline {
    font-size: 0.8rem;
    color: var(--verde-dark);
    font-style: italic;
    margin-top: 2px;
}

/* Navegación principal */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

.main-navigation a {
    font-size: 1rem;
    color: var(--texto);
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 4px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lila);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.main-navigation .current-menu-item a {
    color: var(--lila);
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--lila);
    margin: 6px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--blanco);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 2px solid var(--verde-light);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .main-navigation.toggled ul {
        display: flex;
    }
}

/* ============================================
   HERO — INICIO
   ============================================ */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(123, 94, 167, 0.45) 0%,
        rgba(123, 94, 167, 0.65) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--blanco);
    padding: 0 24px;
    max-width: 750px;
}

.hero-content .hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-subtitle {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-content .hero-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 40px;
    background: var(--verde);
    color: var(--blanco);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(163, 196, 160, 0.4);
}

.hero-content .hero-cta:hover {
    background: var(--verde-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 196, 160, 0.5);
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    .hero-content .hero-title {
        font-size: 2.2rem;
    }
    .hero-content .hero-subtitle {
        font-size: 1.05rem;
    }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--blanco);
}

.section-title {
    font-size: 2rem;
    color: var(--lila);
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-style: italic;
    color: var(--texto-light);
    margin-bottom: 50px;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   AMENIDADES
   ============================================ */
.amenidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.amenidad-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--blanco);
    border-radius: 16px;
    border: 1px solid var(--verde-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenidad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(123, 94, 167, 0.1);
}

.amenidad-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
}

.amenidad-card h3 {
    font-size: 1.15rem;
    color: var(--lila);
    margin-bottom: 10px;
}

.amenidad-card p {
    font-size: 0.92rem;
    color: var(--texto-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .amenidades-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ============================================
   ACTIVIDADES — CARDS
   ============================================ */
.actividades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.actividad-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--blanco);
    border: 1px solid var(--verde-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(123, 94, 167, 0.12);
}

.actividad-card .card-image {
    height: 240px;
    overflow: hidden;
}

.actividad-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.actividad-card:hover .card-image img {
    transform: scale(1.05);
}

.actividad-card .card-body {
    padding: 24px;
}

.actividad-card .card-body h3 {
    font-size: 1.2rem;
    color: var(--lila);
    margin-bottom: 10px;
}

.actividad-card .card-body p {
    font-size: 0.95rem;
    color: var(--texto-light);
    font-style: italic;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .actividades-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG PREVIEW & LISTADO
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--blanco);
    border: 1px solid var(--verde-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(123, 94, 167, 0.12);
}

.blog-card .card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 22px;
}

.blog-card .card-date {
    font-size: 0.8rem;
    color: var(--verde-dark);
    font-style: italic;
    margin-bottom: 8px;
}

.blog-card .card-body h3 {
    font-size: 1.05rem;
    color: var(--lila);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card .card-body p {
    font-size: 0.9rem;
    color: var(--texto-light);
    line-height: 1.6;
}

.blog-card .read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--lila);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.blog-card .read-more:hover {
    color: var(--lila-dark);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ENLACE "VER MÁS"
   ============================================ */
.section-link {
    text-align: center;
    margin-top: 40px;
}

.section-link a {
    display: inline-block;
    padding: 12px 36px;
    border: 2px solid var(--lila);
    color: var(--lila);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.section-link a:hover {
    background: var(--lila);
    color: var(--blanco);
}

/* ============================================
   PÁGINA DE ACTIVIDADES
   ============================================ */
.page-header {
    text-align: center;
    padding: 60px 24px 40px;
    background: linear-gradient(135deg, var(--lila) 0%, var(--lila-light) 100%);
    color: var(--blanco);
}

.page-header .page-title {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.page-header .page-description {
    font-style: italic;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-header {
    text-align: center;
    padding: 50px 24px 30px;
}

.single-post-header .post-title {
    font-size: 2.2rem;
    color: var(--lila);
    margin-bottom: 12px;
}

.single-post-header .post-meta {
    font-size: 0.9rem;
    color: var(--verde-dark);
    font-style: italic;
}

.single-post-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.single-post-content p {
    margin-bottom: 1.5em;
}

.single-post-content .post-thumbnail {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.single-post-content .post-thumbnail img {
    width: 100%;
    height: auto;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    text-align: center;
    padding: 40px 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--verde-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--lila);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--lila);
    color: var(--blanco);
    border-color: var(--lila);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--lila-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 8px;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--verde-light);
    margin-bottom: 24px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--verde-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* ============================================
   UTILIDADES
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
