/* --- CSS Reset & Variables --- */
:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #e0a96d; /* Elegant gold/sand */
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--primary-color);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    margin-top: -1rem;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* --- Header / Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 1.5rem 0;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* --- Language Selector --- */
.lang-selector {
    position: absolute;
    top: 15px;
    right: 2rem;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.header.scrolled .lang-btn {
    color: var(--primary-color);
    border-color: rgba(13, 27, 42, 0.2);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header.scrolled .lang-btn:hover {
    background: rgba(13, 27, 42, 0.1);
}

.lang-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .lang-selector {
        top: 25px; /* Adjust for mobile logo */
        right: 4rem; /* Avoid hamburger menu */
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 113px;
    transition: var(--transition);
    border-radius: 4px; /* Slight rounding for elegant look */
}

.header.scrolled .logo img {
    height: 90px;
}

.logo-scrolled {
    display: none;
}
.header.scrolled .logo-unscrolled {
    display: none;
}
.header.scrolled .logo-scrolled {
    display: block;
}

.navbar {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-side {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-left {
    justify-content: flex-end;
    padding-right: 2rem;
}

.nav-right {
    justify-content: flex-start;
    padding-left: 2rem;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--primary-color);
}

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

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

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

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.header.scrolled .menu-toggle {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('valpo.jpg') center/cover no-repeat fixed; /* Fallback static image */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.8) 0%, rgba(27, 38, 59, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(224, 169, 109, 0.3);
}

.cta-btn:hover {
    background-color: #d1995c;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(224, 169, 109, 0.4);
}

/* Fade In Up Animation for Hero */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* --- Quem Somos Section --- */
.about-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.video-background-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.video-background-section .section-title {
    color: var(--white);
}

.video-background-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.video-background-section .section-title::after {
    background-color: var(--accent-color);
}

.section-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(27, 38, 59, 0.7) 100%);
    z-index: 2;
}

.about-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 900px;
    width: 100%;
}

.glass-panel p {
    color: #e0e0e0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.glass-panel strong {
    color: var(--white);
    font-size: 1.3rem;
}

.highlight-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent-color);
    font-weight: 600;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
    background: rgba(224, 169, 109, 0.05);
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 0 10px 10px 0;
}

/* --- Serviços Section --- */
.dark-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.dark-section .section-title {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(224, 169, 109, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.service-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #b0b0b0;
    font-size: 1rem;
}

/* --- Destinos Section --- */
.destinations-section {
    background-color: var(--white);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.destination-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dest-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.dest-overlay h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.dest-overlay p {
    color: #ddd;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 0;
    overflow: hidden;
    margin: 0;
}

.destination-card:hover .dest-bg {
    transform: scale(1.1);
}

.destination-card:hover .dest-overlay {
    background: linear-gradient(to top, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.7) 60%, transparent 100%);
}

.destination-card:hover .dest-overlay h3 {
    transform: translateY(0);
    color: var(--accent-color);
}

.destination-card:hover .dest-overlay p {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    margin-top: 0.5rem;
}

/* --- Reviews Section --- */
.reviews-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-color);
}

.review-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--accent-color);
}

.review-username {
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
}

.review-icon {
    font-size: 1.5rem;
    color: #E1306C;
}

.review-card:hover .review-icon {
    color: var(--accent-color);
}

.review-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.review-card:hover .review-image img {
    transform: scale(1.05);
}

.review-body {
    padding: 1.5rem;
}

.review-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    font-style: italic;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 1rem;
    border-top: 5px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 180px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-col p {
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    font-size: 1.5rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    padding-left: 0;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* --- Utilities & Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .section-title::after {
        left: 0;
        transform: none;
    }
    .about-section .section-title::after {
        left: 0;
    }
    .text-center.section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .mobile-logo {
        display: flex;
    }
    .desktop-logo {
        display: none;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-out;
    }

    .nav-side {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-left, .nav-right {
        padding: 0;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .navbar.active {
        clip-path: circle(150% at 100% 0);
    }

    .nav-link {
        color: var(--white) !important; /* Force white on mobile menu */
        font-size: 1.2rem;
    }
    
    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .glass-panel {
        padding: 1.5rem;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.5);
    color: white; /* keep icon white */
}

/* Optional pulse animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    animation: pulse-whatsapp 2s infinite;
}
