@import url('https://googleapis.com');

/* Estilos Globais e Cores */
:root {
    --primary: #1a252c;
    --accent: #c5a880;
    --light: #f9f9f9;
    --text: #4a4a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
}

/* Menu de Navegação */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 37, 44, 0.95);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-nav {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 200;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hero Slider (Abertura) */
.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    z-index: 3;
}

.hero-logo-wrapper {
    margin-bottom: 25px;
}

.hero-logo-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: 400;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    font-weight: 300;
}

/* Estrutura das Secções */
.rooms-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    clear: both;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.room-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.room-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.room-price {
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Barra de Cookies Flutuante Centrada */
.cookie-banner {
    position: fixed;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: #1a252c !important;
    color: #fff !important;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999999 !important;
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 14px;
    box-sizing: border-box;
    text-align: center;
}

.cookie-banner.show {
    bottom: 30px !important;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}

/* Botão Vermelho Grande, Centrado e Clicável */
.btn-cookie-accept {
    background-color: #d32f2f !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 50px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4) !important;
    pointer-events: auto !important;
}

.btn-cookie-accept:hover {
    background-color: #b71c1c !important;
}

/* Responsividade Adaptativa (Telemóvel) */
@media (max-width: 768px) {
    header { padding: 15px 20px; position: fixed; }
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 180px;
        height: 100vh;
        background: rgba(26, 37, 44, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 22px;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.15);
        z-index: 10000;
        padding-left: 25px;
        align-items: flex-start;
    }

    .nav-links.open { right: 0; }
    .nav-links li { margin: 0; }
    .nav-links a { font-size: 15px; letter-spacing: 1.5px; font-weight: 300; }

    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero-content h1 { font-size: 32px; }
    .rooms-section { padding: 50px 20px; }
    .cookie-banner { width: 95%; padding: 20px; }
    .btn-cookie-accept { width: 100%; padding: 14px 20px; }
    #geres div[style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; }
}
