:root {
    --primary-color: #1e3a5f;
    --secondary-color: #d4a574;
    --accent-color: #f4e7d7;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

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

/* Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.main-header .container {
    padding: 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 0;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    line-height: 0;
    width: 100%;
}

.logo {
    width: 350px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 0;
}

.site-title {
    display: none;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Home Page - Pantalla completa */
.home-page {
    margin: 0;
    padding: 0;
}

.home-fullscreen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.home-center {
    text-align: center;
    padding: 2rem;
}

.home-logo {
    width: 400px;
    height: auto;
    margin-bottom: 1.5rem;
}

.home-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #2c3e50;
    letter-spacing: 0.5px;
    margin: 0 0 2rem 0;
    padding: 0;
}

.home-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.home-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.home-email {
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* Header sin logo */
.main-header.no-logo .header-content {
    padding: 1rem 0;
}

.main-header.no-logo .main-nav {
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="rgba(255,255,255,0.05)" fill="none" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    border-radius: 8px;
}

.search-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Filters */
.filters-section {
    padding: 2rem 0;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--secondary-color);
}

/* Hotels Grid */
.hotels-section {
    padding: 2rem 0 4rem;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hotel-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.hotel-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #f5f5f5;
}

.hotel-content {
    padding: 1.5rem;
}

.hotel-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hotel-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.hotel-phone,
.hotel-email,
.hotel-web {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.hotel-phone a,
.hotel-email a,
.hotel-web a {
    color: var(--primary-color);
    text-decoration: none;
}

.hotel-phone a:hover,
.hotel-email a:hover,
.hotel-web a:hover {
    text-decoration: underline;
}

.hotel-description {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1.05rem;
}

.hotel-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.benefit-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.hotel-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hotel-cta:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Aviso hoteles demo */
.aviso-pendiente {
    background: #fff3cd;
    color: #856404;
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid #ffc107;
}

.hotel-card.hotel-demo {
    opacity: 0.85;
    border: 2px dashed #ffc107;
}

.no-results {
    text-align: center;
    padding: 3rem;
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Botón Ver Más */
.btn-ver-mas {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-ver-mas:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 3rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-text {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Forms */
.form-container {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

.form-button {
    width: 100%;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .main-header .container {
        padding: 0;
    }

    .header-content {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .logo {
        width: 250px;
        height: auto;
    }

    .site-title {
        display: none !important;
    }

    .main-nav {
        flex-direction: row;
        gap: 0.2rem;
        text-align: center;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.3rem 0.5rem;
    }

    /* Home page en móvil */
    .home-logo {
        width: 280px;
    }

    .home-tagline {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .home-nav {
        gap: 1rem;
    }

    .home-nav .nav-link {
        font-size: 1.1rem;
    }

    .hero {
        padding-top: 250px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .search-box {
        flex-direction: column;
    }

    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    main {
        padding-top: 280px;
    }

    .hero + main,
    .filters-section + main {
        padding-top: 0;
    }

    /* Botón Ver Más en móvil */
    .btn-ver-mas {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}
