/* ==========================================
   HOTEL ARENAL RABFER - Estilos Páginas
   ========================================== */

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.6) 100%
    );
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.page-header-content h1 {
    font-size: clamp(36px, 6vw, 56px);
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    opacity: 0.7;
}

/* ==========================================
   ROOM DETAIL PAGE
   ========================================== */
.room-detail {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--gray-200);
}

.room-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.room-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.room-detail-grid.reverse {
    direction: rtl;
}

.room-detail-grid.reverse > * {
    direction: ltr;
}

.room-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.room-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.room-thumb-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.room-thumb-gallery img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition-normal);
}

.room-thumb-gallery img:hover {
    transform: scale(1.05);
}

.room-type-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--gray-900);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.room-type-badge.family {
    background: var(--primary-color);
    color: var(--white);
}

.room-detail-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.room-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 30px;
}

.room-amenities-list h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.room-amenities-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.room-amenities-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
}

.room-amenities-list i {
    color: var(--primary-color);
    font-size: 14px;
}

.room-price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 30px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.room-price-box .price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.room-price-box .from {
    font-size: 14px;
    color: var(--gray-600);
}

.room-price-box .amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.room-price-box .per {
    font-size: 14px;
    color: var(--gray-600);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ==========================================
   AMENITIES PAGE
   ========================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amenity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.amenity-card.large {
    grid-column: span 2;
}

.amenity-card.large .amenity-image {
    height: 300px;
}

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

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.amenity-content {
    padding: 30px;
}

.amenity-content.centered {
    text-align: center;
}

.amenity-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.amenity-icon i {
    font-size: 24px;
    color: var(--white);
}

.amenity-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
}

.amenity-icon-large i {
    font-size: 40px;
    color: var(--white);
}

.amenity-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.amenity-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

.amenity-schedule,
.amenity-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    color: var(--primary-color);
    font-weight: 500;
}

/* Location Feature */
.location-feature {
    background: var(--gray-100);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-content .section-subtitle,
.location-content .section-title {
    text-align: left;
}

.location-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 30px;
}

.location-highlights {
    margin-bottom: 30px;
}

.location-highlights li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.location-highlights i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ==========================================
   COWORK PAGE
   ========================================== */
.cowork-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.cowork-feature {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.cowork-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.cowork-feature .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.cowork-feature .feature-icon i {
    font-size: 32px;
    color: var(--white);
}

.cowork-feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.cowork-feature p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Digital Nomad */
.digital-nomad {
    background: var(--gray-100);
}

.nomad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.nomad-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.nomad-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.nomad-content .section-subtitle,
.nomad-content .section-title {
    text-align: left;
}

.nomad-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 30px;
}

.nomad-benefits {
    margin-bottom: 30px;
}

.nomad-benefits .benefit {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-300);
}

.nomad-benefits .benefit i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.nomad-benefits .benefit h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.nomad-benefits .benefit p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Cowork Packages */
.cowork-packages {
    background: var(--white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.package-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--gray-900);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.package-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.package-card.featured .package-header h3 {
    color: var(--white);
}

.package-price {
    margin-bottom: 30px;
}

.package-price .currency {
    font-size: 24px;
    vertical-align: top;
}

.package-price .amount {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.package-price .period {
    font-size: 16px;
    opacity: 0.7;
}

.package-price .custom {
    font-size: 28px;
    font-weight: 600;
}

.package-card.featured .package-price {
    color: var(--white);
}

.package-features {
    text-align: left;
    margin-bottom: 30px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.package-card.featured .package-features li {
    border-color: rgba(255,255,255,0.2);
}

.package-features i {
    color: var(--secondary-color);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.package-card.featured .btn {
    background: var(--white);
    color: var(--primary-color);
}

.package-card.featured .btn:hover {
    background: var(--secondary-color);
    color: var(--gray-900);
}

/* ==========================================
   ACTIVITIES PAGE
   ========================================== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.activity-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.activity-duration {
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-content {
    padding: 25px;
}

.activity-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.activity-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.activity-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.activity-footer {
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

/* Why Book */
.why-book {
    background: var(--gray-100);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.why-item:hover {
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-icon i {
    font-size: 32px;
    color: var(--white);
}

.why-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: var(--font-primary);
}

.why-item p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info .section-subtitle,
.contact-info .section-title {
    text-align: left;
}

.contact-intro {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-icon.whatsapp {
    background: #25d366;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.contact-text a,
.contact-text p {
    color: var(--gray-600);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-social h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-family: var(--font-primary);
}

/* Form Messages */
.form-success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #28a745;
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.form-success-message i {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.form-success-message h3 {
    color: #155724;
    margin-bottom: 10px;
}

.form-success-message p {
    color: #155724;
    font-size: 16px;
}

.form-error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-md);
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #721c24;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-error-message i {
    font-size: 18px;
    margin-top: 2px;
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid,
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

.form-group .form-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

/* Submit Button States */
#submitBtn {
    position: relative;
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--gray-800);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.1);
}

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

.btn-block {
    width: 100%;
}

/* Map Section */
.map-section {
    background: var(--gray-200);
}

.map-container {
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h4 {
    font-size: 16px;
    font-family: var(--font-primary);
    font-weight: 500;
    margin: 0;
}

.faq-question i {
    transition: var(--transition-normal);
    color: var(--gray-500);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ==========================================
   RESPONSIVE - PÁGINAS
   ========================================== */
@media (max-width: 1024px) {
    .room-detail-grid {
        gap: 40px;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenity-card.large {
        grid-column: span 2;
    }
    
    .cowork-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }
    
    .room-detail-grid,
    .room-detail-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .room-amenities-list ul {
        grid-template-columns: 1fr;
    }
    
    .room-price-box {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .amenity-card.large {
        grid-column: span 1;
    }
    
    .location-grid,
    .nomad-grid {
        grid-template-columns: 1fr;
    }
    
    .nomad-image {
        order: -1;
    }
    
    .cowork-features {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
