/* 
  Salt & Flow - Premium Hostel Website 
  CSS Design System 
*/

:root {
    /* Color Palette - Mediterranean Blue Style */
    --clr-primary: #0A3654; /* Deep Mediterranean Navy */
    --clr-secondary: #00609C; /* Bright Mediterranean Blue */
    --clr-accent: #5C9FCD; /* Soft Azure */
    --clr-bg: #F0F5F9; /* Very Light Blue-Grey */
    --clr-text: #0B2538; /* Dark Navy Text */
    --clr-text-light: #3D627A; /* Medium Blue */
    --clr-white: #ffffff; /* Pure White */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 44, 75, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    background-image: linear-gradient(rgba(240, 246, 250, 0.85), rgba(240, 246, 250, 0.92)), url('images/cascais_waves_1777159658682.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    animation: bodyFadeIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography Utilities */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 600px;
    margin-bottom: 2rem;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.center .section-desc {
    margin: 0 auto 3rem auto;
}

/* Paint Brush Stroke Accent */
.brush-stroke {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.brush-stroke::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -2%;
    width: 104%;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,20 Q30,0 50,15 T100,5' fill='none' stroke='%2300609C' stroke-width='6' stroke-linecap='round' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: #f5c518; /* Yellow */
    color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 197, 24, 0.3);
}

.btn-secondary {
    background-color: var(--clr-white);
    color: var(--clr-primary);
}

.btn-secondary:hover {
    background-color: #f5c518; /* Yellow */
    color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 197, 24, 0.3);
}

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

.btn-outline:hover {
    background-color: #f5c518; /* Yellow */
    border-color: #f5c518;
    color: var(--clr-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Nav booking button — larger & prominent */
.nav-btn {
    padding: 0.85rem 1.8rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0,96,156,0.3);
}

.navbar.scrolled .nav-btn {
    border-color: transparent;
}

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

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-img {
    height: 125px; /* Extremely prominent and ultra-visible brand logo */
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
    /* Make the logo pure white on transparent dark navbar */
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-img {
    /* Restore original brand blue on scrolled white navbar */
    filter: none;
    height: 95px; /* Large and highly prominent scrolled logo */
}

/* Footer Adjustments */
.footer .logo-wrapper {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer .logo-img {
    height: 160px; /* Monumental logo size in the footer */
    filter: brightness(0) invert(1);
}

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

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--clr-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 1.8rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--clr-primary);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-primary);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--clr-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/cascais_waves_1777159658682.png');
    background-size: cover;
    background-position: center;
    animation: kenBurns 24s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1.12) translateY(-2%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 54, 84, 0.82) 0%, rgba(10, 54, 84, 0.45) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--clr-white);
    max-width: 100%;
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-family: 'Outfit', var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 1000px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Glassmorphic Search Bar */
.booking-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem;
    border-radius: 50px;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    max-width: 750px;
    box-shadow: var(--shadow-lg);
}

.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.2rem 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    text-align: left;
}

.search-field:nth-child(2) {
    border-right: none;
}

.search-field label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.search-field input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
}

.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    border-radius: 50px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .booking-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 1.2rem;
    }
    
    .search-field {
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 0.6rem 0;
    }
    
    .search-field:nth-child(2) {
        border-bottom: none;
    }
    
    .search-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    flex-wrap: nowrap; /* Lock all items to a single line on desktop */
    width: 100%;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap; /* Prevent mid-word wrapping on desktop */
    flex-shrink: 0; /* Prevent shrinking and clipping */
}

.trust-item i {
    color: var(--clr-secondary);
    font-size: 1.15rem;
}

/* Tablet & Laptop Responsive Trust Bar Scaling */
@media (max-width: 1200px) {
    .trust-bar {
        gap: 0.8rem;
    }
    .trust-item {
        font-size: 0.82rem;
    }
}

@media (max-width: 992px) {
    .trust-bar {
        gap: 0.5rem;
    }
    .trust-item {
        font-size: 0.72rem;
    }
}

/* Sections */
.section {
    padding: 6rem 0;
}

/* Vibe Section */
.vibe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(61, 165, 217, 0.1);
    color: var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.feature-content p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

.vibe-image {
    position: relative;
}

.rounded-image {
    border-radius: 4px; /* Straight lines only on the pictures */
    box-shadow: var(--shadow-lg);
}

.image-card {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background-color: var(--clr-white);
    padding: 1.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    max-width: 250px;
}

.image-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.image-card p {
    font-size: 0.85rem;
    color: var(--clr-text-light);
}

.rooms-section {
    background-color: rgba(255, 255, 255, 0.6); /* Light Ocean Translucent */
    backdrop-filter: blur(10px);
}

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

.room-card {
    background-color: var(--clr-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.room-img-wrapper {
    position: relative;
    height: 250px;
}

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

.room-card:hover .room-img-wrapper img {
    transform: scale(1.05);
}

.room-tag {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: var(--clr-white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 15px rgba(10, 54, 84, 0.25);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.room-details {
    padding: 2rem;
}

.room-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.room-details p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.room-amenities {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.room-amenities span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--clr-primary);
    background-color: #e2eef7;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2eef7;
    padding-top: 1.5rem;
}

.price {
    font-size: 0.9rem;
    color: var(--clr-text-light);
}

.price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.room-price-block {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.price-guarantee {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #4a9d70;
}

.price-guarantee i {
    font-size: 0.85rem;
    color: #4a9d70;
}


/* CTA Section */
.cta-section {
    padding: 8rem 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
}

.cta-box {
    position: relative;
    z-index: 10;
    background-color: var(--clr-white);
    border-radius: 40px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--clr-text-light);
    margin-bottom: 2rem;
}

.booking-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 150px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid #c5d4e0;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #ffffff;
    color: var(--clr-text);
}

.search-btn {
    flex: 1;
    min-width: 150px;
    margin-top: 1.6rem;
}

/* Footer */
.footer {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--clr-secondary);
    transform: translateY(-3px);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-white);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-body);
}

.newsletter-form button {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    border: none;
    padding: 0 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #f5c518; /* Yellow */
    color: var(--clr-primary);
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Language Toggle */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-toggle {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .lang-toggle {
    color: var(--clr-text-light);
}

.lang-toggle a {
    transition: var(--transition);
}

.lang-toggle a:hover,
.lang-toggle a.active {
    color: var(--clr-white);
}

.navbar.scrolled .lang-toggle a:hover,
.navbar.scrolled .lang-toggle a.active {
    color: var(--clr-primary);
}

/* Parallax Wrapper */
.parallax-wrapper {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    height: 100%;
    width: 100%;
    position: relative;
}

.parallax-img {
    box-shadow: none;
    border-radius: 0;
    will-change: transform;
    height: 100%; /* Will scale in js */
    width: 100%;
    object-fit: cover;
    transform-origin: center;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--clr-white);
}

.testimonial-card {
    background-color: var(--clr-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: auto;
}

.quote-icon {
    color: var(--clr-accent);
    font-size: 2.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--clr-text);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--clr-text-light);
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background-color: var(--clr-text-light);
}

.swiper-pagination-bullet-active {
    background-color: var(--clr-primary);
}

.room-swiper {
    width: 100%;
    height: 250px;
}

.room-swiper .swiper-button-next,
.room-swiper .swiper-button-prev {
    color: var(--clr-white);
    background-color: rgba(10, 37, 64, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.room-swiper .swiper-button-next::after,
.room-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
}

.room-swiper .swiper-button-next:hover,
.room-swiper .swiper-button-prev:hover {
    background-color: var(--clr-primary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: white;
}

/* FAQ Section */
.faq-section {
    background-color: rgba(255, 255, 255, 0.6);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--clr-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem;
    transition: var(--transition);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--clr-secondary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1rem 1.5rem 1rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* Instagram Feed */
.instagram-section {
    padding: 4rem 0 0 0;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.insta-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: var(--transition);
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #f5c518;
    color: var(--clr-primary);
    transform: translateY(-5px) scale(1.05);
}

/* =====================
   Brand Story Section
   ===================== */
.brand-story-section {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
}

.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.brand-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(10, 54, 84, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--clr-text-light);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-quote-card {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: white;
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.story-quote-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.story-quote-icon {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.story-quote-card p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
}

.story-quote-card span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

/* =====================
   Location Section
   ===================== */
.location-section {
    background-color: rgba(240, 245, 249, 0.8);
    backdrop-filter: blur(8px);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.location-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background-color: var(--clr-secondary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.location-list h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 0.3rem;
}

.location-list p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    line-height: 1.5;
}

/* =====================
   Partners Section
   ===================== */
.partners-section {
    padding: 3rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(10, 54, 84, 0.08);
    border-bottom: 1px solid rgba(10, 54, 84, 0.08);
}

.partners-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    border: 1.5px solid rgba(10, 54, 84, 0.15);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text);
    background-color: white;
    transition: var(--transition);
}

.partner-item i {
    color: var(--clr-secondary);
    font-size: 1.1rem;
}

.partner-item:hover {
    border-color: var(--clr-secondary);
    background-color: var(--clr-secondary);
    color: white;
    transform: translateY(-2px);
}

.partner-item:hover i {
    color: white;
}

/* =====================
   Exit Intent Popup
   ===================== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 54, 84, 0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.exit-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.exit-popup {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 30px 80px rgba(10, 54, 84, 0.25);
    text-align: center;
}

.exit-popup-overlay.active .exit-popup {
    transform: translateY(0) scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(10, 54, 84, 0.08);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--clr-text);
    transition: var(--transition);
}

.exit-popup-close:hover {
    background-color: var(--clr-primary);
    color: white;
}

.exit-popup-badge {
    display: inline-block;
    background-color: rgba(0, 96, 156, 0.1);
    color: var(--clr-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.exit-popup h3 {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.exit-popup p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.exit-popup-form input {
    padding: 0.9rem 1.2rem;
    border: 1.5px solid rgba(10, 54, 84, 0.15);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--clr-text);
    outline: none;
    transition: var(--transition);
}

.exit-popup-form input:focus {
    border-color: var(--clr-secondary);
}

.exit-popup-footer {
    font-size: 0.78rem !important;
    color: rgba(10, 54, 84, 0.4) !important;
    margin-top: 1rem;
    margin-bottom: 0 !important;
}

/* =====================
   Price Display
   ===================== */
.price {
    font-size: 1rem;
    color: var(--clr-text-light);
    font-weight: 500;
}

.price span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .vibe-grid {
        grid-template-columns: 1fr;
    }
    
    .vibe-image {
        order: -1;
    }
    
    .image-card {
        bottom: -1rem;
        left: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .trust-item {
        white-space: normal;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .search-btn {
        margin-top: 0;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .partners-bar {
        gap: 0.7rem;
    }

    .exit-popup {
        padding: 2rem;
    }

    .exit-popup h3 {
        font-size: 1.5rem;
    }
}

/* =====================
   Custom Flatpickr
   ===================== */
.flatpickr-calendar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(10, 54, 84, 0.1) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: 20px !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.prevMonthDay.selected, 
.flatpickr-day.nextMonthDay.selected {
    background: var(--clr-secondary) !important;
    border-color: var(--clr-secondary) !important;
    color: white !important;
}

.flatpickr-day.today {
    border-color: #f5c518 !important;
}

.flatpickr-day.today:hover {
    background: #f5c518 !important;
    color: var(--clr-primary) !important;
    border-color: #f5c518 !important;
}

/* =====================
   CRO Trust Seals
   ===================== */
.trust-seals {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--clr-text-light);
    font-weight: 500;
}

.trust-seal-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-seal-item i {
    color: var(--clr-secondary);
    font-size: 1rem;
}

/* =====================
   Mobile Sticky Book Bar
   ===================== */
.mobile-sticky-book-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(10, 54, 84, 0.1);
    padding: 0.8rem 1.2rem;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.06);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-sticky-book-bar.visible {
    transform: translateY(0);
}

.sticky-bar-price {
    font-size: 0.8rem;
    color: var(--clr-text-light);
    line-height: 1.2;
}

.sticky-bar-price span {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--clr-primary);
}

.sticky-bar-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background-color: #f5c518;
    color: var(--clr-primary);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(245, 197, 24, 0.25);
}

/* Hide on desktop, show only mobile */
@media (min-width: 769px) {
    .mobile-sticky-book-bar {
        display: none !important;
    }
}

/* =====================
   Translation Selector (PT/EN)
   ===================== */
body.lang-pt .lang-en {
    display: none !important;
}

body.lang-en .lang-pt {
    display: none !important;
}

/* Adjust layout when items are hidden */
.navbar .lang-toggle a {
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.navbar .lang-toggle a.active {
    opacity: 1;
    font-weight: 700;
    color: var(--clr-secondary);
}

/* Shift WhatsApp floating button up on mobile so it doesn't overlap the sticky booking bar */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 5.5rem;
    }
}

/* --- Brand Text Styling (Matches Logo Font & Case) --- */
.brand-text {
    font-family: 'Outfit', var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--clr-primary);
    display: inline-block;
}

/* Maintain text color on dark or colored backgrounds */
.hero-subtitle .brand-text,
.cowork-section .brand-text,
.footer .brand-text,
.section-desc .brand-text {
    color: inherit;
}

/* =====================
   Mobile Responsive Overrides
   ==================== */
@media (max-width: 768px) {
    /* Prevent overlapping between fixed navbar/logo and hero content */
    .logo-img {
        height: 55px !important; /* Elegant and compact on mobile */
    }
    
    .navbar {
        padding: 0.8rem 0 !important; /* Slimmer navbar on mobile */
    }
    
    .navbar.scrolled {
        padding: 0.6rem 0 !important;
    }
    
    .navbar.scrolled .logo-img {
        height: 48px !important;
    }
    
    .hero-content {
        padding-top: 10rem !important; /* Push hero content well below fixed navbar */
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important; /* Fit screen nicely */
        margin-top: 1rem !important;
    }

    /* Prevent rooms grid overflow on narrow screens */
    .rooms-grid {
        grid-template-columns: 1fr !important;
    }

    /* Wrap room card footers vertically on mobile to prevent overflow/clipping of price and CTA */
    .room-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.2rem !important;
        text-align: center !important;
    }

    .room-footer .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    .room-price-block {
        align-items: center !important;
    }

    /* Wrap trust seals vertically to prevent offscreen clipping */
    .trust-seals {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.8rem !important;
        text-align: center !important;
    }

    /* Align and center trust bar items neatly in the hero section */
    .trust-bar {
        align-items: center !important;
        text-align: center !important;
    }
}



