/* =========================================
   Base & Resets
   ========================================= */
:root {
    --primary: #d35400;
    /* Vibrant terracotta/orange */
    --primary-hover: #e67e22;
    --dark: #5E5947;
    --light-bg: #faf9f7;
    /* Very slight earthy/sand undertone */
    --text-main: #5E5947;
    --text-muted: #7f8c8d;
    --white: #ffffff;
    --nav-height: 155px;
    --radius: 12px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark);
}

.text-white {
    color: var(--white);
}

.text-white h2 {
    color: var(--white);
}

.center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.p-0 {
    padding: 0 !important;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.highlight {
    color: var(--primary);
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4);
}

.btn-nav {
    background-color: var(--dark);
    color: var(--white);
    padding: 10px 24px;
}

.btn-nav:hover {
    background-color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}

.btn-outline:hover {
    background-color: var(--dark);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark);
}

.btn-text {
    background: none;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.btn-text:hover {
    gap: 12px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.full-width {
    width: 100%;
}

/* =========================================
   Navigation
   ========================================= */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar {
    position: absolute;
    top: 36px;
    /* Below top-bar */
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    width: 135px;
    height: 135px;
    object-fit: contain;
    border: 4px solid var(--primary);
    border-radius: 50%;
    padding: 9px;
    background-color: var(--white);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* =========================================
   1. Hero Section
   ========================================= */
.hero {
    position: relative;
    height: calc(100vh - var(--nav-height));
    /* Account for navbar */
    min-height: 600px;
    background-image: url('../img/hero.jpg?v=3');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding-top: 50px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-badge .stars {
    color: #f1c40f;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Booking Widget */
.booking-widget {
    display: flex;
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    align-items: center;
    gap: 15px;
}

.widget-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    border-right: 1px solid #eee;
}

.widget-field:nth-child(3) {
    border-right: none;
}

.widget-field label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.widget-field input,
.widget-field select {
    border: none;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    background: transparent;
    cursor: pointer;
}

.widget-btn {
    padding: 16px 30px;
    white-space: nowrap;
}

/* =========================================
   2. Why Stay Here (Features)
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(211, 84, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.icon-wrapper svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* =========================================
   3. Accommodation
   ========================================= */
.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.room-image {
    height: 400px;
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
}

.room-carousel {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.room-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--dark);
    scroll-snap-align: start;
    position: relative;
}

/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: var(--dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    border: none;
}

.carousel-arrow:hover {
    background: var(--white);
    color: var(--primary);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.room-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    color: var(--dark);
}

.room-content {
    padding: 2rem;
}

.room-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.amenities {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.amenities li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

.amenities svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* =========================================
   4. Surf & Activities
   ========================================= */
.split-layout {
    display: flex;
    min-height: 600px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.split-content {
    flex: 1;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--light-bg);
}

/* Compact rules for the Goodvibes Bar section */
.bar-section .split-layout {
    min-height: 450px;
}
.bar-section .split-content {
    padding: 50px 8%;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-content>p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.activity-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.activity-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.activity-list strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.activity-list span {
    color: var(--text-muted);
}

/* =========================================
   5. Reviews Carousel
   ========================================= */
.review-card {
    max-width: 800px;
    margin: 0 auto;
}

.review-card .stars {
    color: #f1c40f;
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-style: italic;
}

.reviewer {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.feature-item-small {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.feature-item-small i {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-item-small h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-item-small p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================
   5. Digital Nomads
   ========================================= */
.nomads {
    padding: 0;
    /* Removing default section padding for the banner */
    margin: 50px 0;
}

.nomad-banner {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: var(--radius);
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 5%;
}

.banner-content {
    max-width: 800px;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.nomad-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nomad-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

/* =========================================
   7. Instagram Gallery
   ========================================= */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ig-item {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.ig-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* =========================================
   8. Final CTA
   ========================================= */
.final-cta {
    background-color: var(--primary);
    padding: 100px 5%;
    color: var(--white);
}

.final-cta h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.final-cta .btn-primary {
    background-color: var(--dark);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-primary:hover {
    background-color: #1a252f;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links svg {
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.social-links svg:hover {
    color: var(--primary);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout {
        flex-direction: column;
    }

    .split-image {
        min-height: 400px;
    }

    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .booking-widget {
        flex-direction: column;
        align-items: stretch;
    }

    .widget-field {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

    .widget-field:last-child {
        border-bottom: none;
    }

    .room-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    color: #FFF;
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

