/**
 * Hotel Porto Brasil - Estilos Principais
 */

:root {
    --primary-color: #8B4513;
    --primary-dark: #5D2E0C;
    --primary-light: #A0522D;
    --secondary-color: #D4A574;
    --accent-color: #F5E6D3;
    --dark-color: #2C1810;
    --light-color: #FDF8F3;
    --text-color: #3D2314;
    --text-muted: #7D6B5D;
    --border-radius: 8px;
    --box-shadow: 0 2px 15px rgba(139,69,19,0.15);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #8B4513 0%, #D4A574 50%, #A0522D 100%);
    --gradient-dark: linear-gradient(135deg, #5D2E0C 0%, #8B4513 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navbar */
.navbar {
    padding: 10px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: var(--box-shadow);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 8px 15px !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Fundo com blur para preencher laterais */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('/hotel.png') center/cover no-repeat;
    filter: blur(25px) brightness(0.4);
    transform: scale(1.2);
    z-index: 0;
}

/* Imagem principal - preenche toda a área */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/hotel.png') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(93,46,12,0.2) 0%, rgba(44,24,16,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    padding-top: 120px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-slogan {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Highlights */
.highlight-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.highlight-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.highlight-card h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.highlight-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Search Box */
.search-box {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Room Cards */
.room-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.room-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.room-price strong {
    font-size: 1.25rem;
    display: block;
}

.room-info {
    padding: 20px;
}

.room-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.room-capacity {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.room-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.room-actions {
    display: flex;
    gap: 10px;
}

/* Location Section */
.location-section {
    background: var(--light-color);
}

.location-section .map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.location-section .map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.location-info {
    text-align: center;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.location-address i {
    font-size: 1.3rem;
}

@media (max-width: 767px) {
    .location-section .map-container iframe {
        height: 300px;
    }
    
    .location-info .d-flex {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .location-address {
        font-size: 1rem;
    }
}

/* Info Section */
.info-section {
    background: var(--gradient-dark);
}

.info-box {
    padding: 30px;
}

.info-box i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Reviews */
.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.rating-summary .stars {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.rating-count {
    color: var(--text-muted);
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.review-stars {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.review-title {
    font-size: 1rem;
    margin-bottom: 10px;
}

.review-comment {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.875rem;
}

.review-author strong {
    display: block;
}

.review-author span {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
}

.cta-section h2 {
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
}

.footer h5, .footer h6 {
    color: white;
    margin-bottom: 20px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    color: #adb5bd;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.footer-contact a {
    color: #adb5bd;
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Mobile Reserve Button */
.mobile-reserve-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 998;
}

/* Page Header */
.page-header {
    background: var(--gradient-dark), 
                url('/assets/images/page-header-bg.jpg') center/cover;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    justify-content: center;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Room Detail */
.room-gallery {
    position: relative;
}

.room-gallery-main {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.room-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.room-gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.room-gallery-thumbs img:hover,
.room-gallery-thumbs img.active {
    opacity: 1;
}

.amenity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.9rem;
}

.amenity-item i {
    color: var(--primary-color);
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    color: var(--text-muted);
}

.booking-step.active {
    color: var(--primary-color);
}

.booking-step.completed {
    color: #28a745;
}

.step-number {
    width: 35px;
    height: 35px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.booking-step.active .step-number {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

.booking-step.completed .step-number {
    background: #28a745 !important;
    color: #ffffff !important;
    border-color: #28a745 !important;
}

.step-connector {
    width: 50px;
    height: 2px;
    background: #ddd;
}

/* Booking Summary */
.booking-summary {
    background: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    position: sticky;
    top: 100px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.summary-total {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: none;
    padding-top: 15px;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 95, 122, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 5px;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
}

/* Contact Page */
.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Map */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slogan {
        font-size: 1.2rem;
    }
    
    .search-box {
        padding: 25px;
    }
    
    .booking-steps {
        flex-wrap: wrap;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .highlight-card {
        padding: 20px 15px;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
    }
    
    .highlight-icon i {
        font-size: 20px;
    }
    
    .room-gallery-main {
        height: 250px;
    }
    
    .whatsapp-float {
        bottom: 80px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    body {
        padding-bottom: 70px;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .whatsapp-float, .mobile-reserve-btn {
        display: none !important;
    }
    
    body {
        padding: 0;
    }
}


/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 24, 16, 0.97);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-text i {
    font-size: 28px;
    color: var(--secondary-color);
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
}

.cookie-text a {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
