/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {	
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff8e7;  /* Beije claro */
}

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

/* ============================================
   CORES PRINCIPAIS
   ============================================ */
:root {
    --gold: #cf9f46;
    --blue-light-1: #49cbda;
    --blue-light-2: #28c7c2;
    --blue-deep: #0092a3;
    --turquoise: #00ffef;
    --white: #ffffff;
    --dark: #2c3e50;
}

/* ============================================
   HEADER (EQUILIBRADO)
   ============================================ */
header {
    background: var(--gold);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logótipo - mais à esquerda, gradiente suave */
.logo {
    display: flex;
    align-items: center;
    line-height: 0;
    background: radial-gradient(ellipse at center, 
                rgba(207, 159, 70, 0.3) 0%,
                rgba(207, 159, 70, 0.1) 70%,
                rgba(207, 159, 70, 0) 100%);
    padding: 8px 20px;
    border-radius: 50px;
    margin-left: -15px;  /* Para encostar ainda mais à esquerda */
}

.logo img {
    max-height: 160px;
    width: auto;
    display: block;
}

/* Grupo da direita (menu + idiomas) */
.right-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

/* ============================================
   MENU DE NAVEGAÇÃO (LINHA DE CIMA)
   ============================================ */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--blue-deep);
}

/* ============================================
   SELETOR DE IDIOMAS (LINHA DE BAIXO)
   ============================================ */
.language-switcher {
    font-size: 1.2rem;
}

.language-switcher a {
    color: var(--white);
    text-decoration: none;
    margin: 0 4px;
}

.language-switcher a.active {
    color: var(--blue-deep);
    font-weight: bold;
}

/* ============================================
   BOTÃO HAMBÚRGUER (MOBILE)
   ============================================ */
.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   ESPAÇAMENTO DO CONTEÚDO PRINCIPAL
   ============================================ */
main {
    padding-top: 100px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/alvor_por_do_sol.jpg') center/cover;
    background-position: center 30%;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--turquoise);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ============================================
   FEATURES (HOME)
   ============================================ */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--blue-deep);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--blue-deep);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 50px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--gold);
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--gold);
}

.booking-btn {
    display: inline-block;
    background: var(--white);
    color: var(--blue-deep);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: background 0.3s;
}

.booking-btn:hover {
    background: var(--gold);
    color: var(--white);
}

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

/* ============================================
   PÁGINA DE ATIVIDADES
   ============================================ */
.activity-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activities-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.activity-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

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

.activity-image img {
    transition: transform 0.4s ease;
}

.activity-card:nth-child(even) .activity-image {
    order: 2;
}

.activity-card:nth-child(even) .activity-content {
    order: 1;
}

.activity-content {
    padding: 20px;
}

.activity-content h3 {
    margin-top: 0;
}

.activity-image {
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.page-hero {
    text-align: center;
    padding: 140px 20px 60px 20px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/images/activities-hero-bg.jpg') center/cover;
    margin-bottom: 40px;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--blue-deep);
}

.page-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--gold);
}

.activities-intro {
	
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.activities-list {
    padding-top: 20px;
}

.activities-page {
    background-image: url('/images/rio-alvor-bj.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}

.activity-card:first-child {
    margin-top: 0;
}

.activities-page .activity-card,
.activities-page .intro-text {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(1px);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 40px;
}

.activities-page .activity-content h3,
.activities-page .activity-content p {
    color: #1a1a1a;
}

.activities-page .page-hero {
    background: transparent;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ============================================
   PÁGINA DA GALERIA
   ============================================ */
.gallery-page {
    padding: 120px 0 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-page h1 {
    /* Estilos do título "Galeria" */
    text-align: center;      /* ← Alinhamento do título */
    color: var(--blue-deep); /* ← Cor atual (azul #0092a3) */
}

.gallery-page .subtitle {
    /* Estilos do subtítulo "Veja o barco..." */
    text-align: center;      /* ← Alinhamento do subtítulo */
    color: var(--gold);             /* ← Cor atual (cinzento) */
}

.gallery-item a {
	
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #000;
}

.gallery-item .caption {
    padding: 12px 15px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    background: rgba(255,255,255,0.95);
    margin: 0;
}

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    margin-top: 40px;
}

/* ============================================
   PÁGINA INICIAL (HOME)
   ============================================ */
.home-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--blue-deep);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.two-columns .col {
    text-align: center;
}

.two-columns .col img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.two-columns .col h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.two-columns .col p {
    color: #555;
    line-height: 1.6;
}

.alvor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.alvor-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.alvor-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.cta-section {
    background: var(--blue-deep);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: var(--gold);
    font-size: 1.2rem;
    padding: 15px 40px;
}

/* Efeito de hover nas imagens da home */
.home-section .two-columns .col a,
.alvor-content a,
.flavors-section .two-columns .col a {
    display: block;
    overflow: hidden;
    border-radius: 16px;
}

.home-section .two-columns .col img,
.alvor-content img,
.flavors-section .two-columns .col img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.home-section .two-columns .col a:hover img,
.alvor-content a:hover img,
.flavors-section .two-columns .col a:hover img {
    transform: scale(1.03);
}

/* ============================================
   PÁGINAS DE REVIEWS E AVAILABILITY
   ============================================ */
.reviews-page,
.availability-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.reviews-placeholder,
.availability-placeholder {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.reviews-placeholder i,
.availability-placeholder i {
    color: var(--gold);
    margin-bottom: 20px;
}

.reviews-placeholder h1,
.availability-placeholder h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--blue-deep);
    margin-bottom: 15px;
}

.reviews-placeholder .subtitle,
.availability-placeholder .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.placeholder-message {
    margin-bottom: 30px;
}

.placeholder-message p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.platform-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.platform-btn.airbnb {
    background: #FF5A5F;
    color: white;
}

.platform-btn.booking {
    background: #003580;
    color: white;
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.platform-btn i {
    margin: 0;
    color: white;
}

/* ============================================
   PÁGINA DE CONTACTOS
   ============================================ */
.contacts-page {
    padding: 120px 0 80px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--blue-deep);
    margin-bottom: 20px;
}

.contacts-info .intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 3px;
}

.info-item h3 {
    font-size: 1.1rem;
    color: var(--blue-deep);
    margin-bottom: 5px;
}

.info-item a,
.info-item p {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--gold);
}

.social-contacts h3 {
    font-size: 1.1rem;
    color: var(--blue-deep);
    margin-bottom: 15px;
}

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

.social-contacts .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--blue-deep);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-contacts .social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.contacts-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contacts-form h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--blue-deep);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

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

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   RESPONSIVIDADE (MOBILE)
   ============================================ */
@media (max-width: 768px) {
    /* Header em coluna */
    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }
    
    /* Logótipo centralizado */
    .logo {
        margin-left: 0;
        padding: 5px 15px;
    }
    
    .logo img {
        max-height: 120px;
    }
    
    /* Grupo da direita centralizado */
    .right-group {
        align-items: center;
        width: 100%;
    }
    
    /* Menu hambúrguer */
    .main-nav {
        display: none;
        width: 100%;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
    }
    
    .main-nav a {
        font-size: 1rem;
        white-space: normal;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Espaçamento do conteúdo */
    main {
        padding-top: 130px;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    /* Atividades */
    .activity-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activity-card:nth-child(even) .activity-image {
        order: 1;
    }
    
    .activity-card:nth-child(even) .activity-content {
        order: 2;
    }
    
    .activity-image {
        height: 220px;
    }
    
    /* Galeria */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item a,
    .gallery-item video {
        height: 200px;
    }
    
    /* Página inicial */
    .home-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .two-columns,
    .alvor-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .two-columns .col img,
    .alvor-content img {
        height: 250px;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    /* Contactos */
    .contacts-page {
        padding: 100px 0 60px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-form {
        padding: 25px;
    }
    
    .contacts-info h1 {
        font-size: 2rem;
    }
    
    /* Reviews e Availability */
    .reviews-page,
    .availability-page {
        padding: 100px 0 60px;
    }
    
    .reviews-placeholder,
    .availability-placeholder {
        padding: 30px 20px;
    }
    
    .reviews-placeholder h1,
    .availability-placeholder h1 {
        font-size: 1.8rem;
    }
    
    .platform-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-btn {
        width: 200px;
        justify-content: center;
    }
}