/*
Theme Name: Caicos Vibes Adventures
Theme URI: https://caicosvibes.com
Author: Caicos Vibes Adventures
Author URI: https://caicosvibes.com
Description: Premium luxury boat tour theme for Caicos Vibes Adventures in Turks & Caicos. Crystal-clear waters, private charters, island hopping, and Caribbean luxury excursions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caicos-vibes
Tags: travel, luxury, boat-tours, caribbean, responsive, one-page
*/

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
    --aqua:       #00778B;
    --aqua-dark:  #005f6f;
    --aqua-light: #E0F7FA;
    --gold:       #C5A059;
    --gold-hover: #b08a40;
    --sand:       #F9F7F2;
    --dark:       #1A2E35;
    --white:      #FFFFFF;
    --text-muted: rgba(26, 46, 53, 0.65);
    --radius-card: 24px;
    --radius-pill: 50px;
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.07);
    --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.4);
    --transition:  all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 1.0625rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.editorial {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.cv-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.cv-section {
    padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 5vw, 5rem);
}

.cv-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cv-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cv-section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--aqua);
    margin-bottom: 1.5rem;
}

.cv-divider {
    width: 64px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}

.cv-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cv-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* =========================================
   BUTTONS
   ========================================= */
.cv-btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.cv-btn-gold {
    background: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}
.cv-btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.5);
    color: var(--white);
}

.cv-btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.cv-btn-outline-white:hover {
    background: var(--white);
    color: var(--aqua);
}

.cv-btn-aqua {
    background: var(--aqua);
    color: var(--white);
}
.cv-btn-aqua:hover {
    background: var(--aqua-dark);
    transform: translateY(-2px);
    color: var(--white);
}

/* =========================================
   NAVIGATION
   ========================================= */
#cv-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

#cv-nav.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.cv-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.4s ease;
}
.cv-nav-logo svg { width: 22px; height: 22px; transition: stroke 0.4s ease; }
#cv-nav.scrolled .cv-nav-logo { color: var(--aqua); }
#cv-nav.scrolled .cv-nav-logo svg { stroke: var(--aqua); }

.cv-nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.cv-nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    transition: color 0.3s;
}
.cv-nav-links a:hover { color: var(--gold); }
#cv-nav.scrolled .cv-nav-links a { color: var(--dark); }
#cv-nav.scrolled .cv-nav-links a:hover { color: var(--gold); }

.cv-nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    transition: color 0.4s ease;
}
#cv-nav.scrolled .cv-nav-hamburger { color: var(--dark); }

.cv-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem clamp(1.5rem, 5vw, 3rem) 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 999;
}
.cv-mobile-menu.open { display: block; }
.cv-mobile-menu a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    border-bottom: 1px solid var(--sand);
    transition: color 0.3s;
}
.cv-mobile-menu a:hover { color: var(--gold); }
.cv-mobile-menu .cv-btn-gold { margin-top: 1.25rem; width: 100%; }

/* =========================================
   HERO SECTION
   ========================================= */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 119, 139, 0.30) 0%,
        rgba(0, 119, 139, 0.20) 50%,
        rgba(0, 119, 139, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding: 0 1.5rem;
}

.hero-eyebrow {
    display: block;
    color: rgba(255,255,255,0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.2s;
}

.hero-h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.5s;
    line-height: 1.1;
}
.hero-h1 .editorial {
    display: block;
    font-size: clamp(3rem, 7vw, 6rem);
    margin-top: 0.25rem;
    color: rgba(255,255,255,0.95);
}

.hero-sub {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 2.75rem;
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.8s;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease both;
    animation-delay: 1.1s;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.hero-scroll-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

/* =========================================
   TOURS SECTION
   ========================================= */
#tours {
    background: var(--white);
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.1);
}

.tour-card-img {
    height: 280px;
    overflow: hidden;
}
.tour-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.tour-card:hover .tour-card-img img { transform: scale(1.06); }

.tour-card-body {
    padding: 2.25rem 2.5rem;
}
.tour-card-body h3 {
    color: var(--aqua);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}
.tour-card-body p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

/* =========================================
   WHY CHOOSE SECTION
   ========================================= */
#why {
    background: var(--sand);
    border-radius: 60px 60px 0 0;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
}
.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
    stroke-width: 1.5;
    fill: none;
}
.benefit-item h3 {
    color: var(--aqua);
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}
.benefit-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =========================================
   AMENITIES SECTION
   ========================================= */
#amenities {
    background: var(--white);
}

.amenity-img {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.amenity-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}
.amenity-bubble {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--aqua-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.amenity-bubble svg {
    width: 20px;
    height: 20px;
    stroke: var(--aqua);
    stroke-width: 1.5;
    fill: none;
}
.amenity-text h4 {
    font-size: 0.8125rem;
    color: var(--dark);
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}
.amenity-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   GALLERY SECTION
   ========================================= */
#gallery {
    background: var(--sand);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius-card);
    overflow: hidden;
}
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
#reviews {
    background: var(--white);
}

.testimonial-card {
    background: var(--sand);
    border-radius: var(--radius-card);
    padding: 2.5rem;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.25rem;
}
.star-icon {
    width: 16px;
    height: 16px;
    fill: var(--gold);
    color: var(--gold);
}

.testimonial-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.125rem;
    color: rgba(26, 46, 53, 0.78);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--aqua);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.testimonial-author span {
    font-size: 0.875rem;
    color: rgba(26, 46, 53, 0.45);
}

/* =========================================
   FINAL CTA SECTION
   ========================================= */
#cta-final {
    position: relative;
    padding: clamp(6rem, 14vw, 12rem) clamp(1.5rem, 5vw, 5rem);
    text-align: center;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 119, 139, 0.72);
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}
.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.cta-content .editorial {
    display: block;
    color: rgba(255,255,255,0.92);
    font-size: clamp(2rem, 5vw, 3.75rem);
    margin-bottom: 2.75rem;
}

/* =========================================
   FOOTER
   ========================================= */
#cv-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 5rem clamp(1.5rem, 5vw, 5rem) 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.footer-logo svg { width: 20px; height: 20px; stroke: var(--gold); }

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.social-links { display: flex; gap: 0.75rem; }
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.social-link:hover { background: var(--gold); }
.social-link svg { width: 16px; height: 16px; stroke: var(--white); fill: none; }

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-item {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.9rem;
}
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p, .footer-bottom a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--gold); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

.cv-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cv-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .cv-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .amenities-grid { grid-template-columns: 1fr; gap: 1rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 768px) {
    .cv-grid-3  { grid-template-columns: 1fr; }
    .cv-grid-2  { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .amenities-grid { grid-template-columns: 1fr; }
    .cv-nav-links { display: none; }
    .cv-nav-hamburger { display: block; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .cv-btn { width: 100%; max-width: 280px; }
    #why { border-radius: 40px 40px 0 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .amenity-img img { height: 300px; }
}

@media (max-width: 480px) {
    .cv-section { padding: clamp(3rem, 8vw, 5rem) 1.25rem; }
    .testimonial-card { padding: 1.75rem; }
}

/* WordPress native menu/custom logo compatibility */
.cv-nav-logo img.custom-logo { max-height: 54px; width: auto; display: block; }
.cv-nav-links ul { display: flex; align-items: center; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.cv-nav-links li { margin: 0; padding: 0; }
#cv-nav.scrolled .cv-nav-logo img.custom-logo { filter: none; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 .7rem; }
@media (max-width: 900px) { .cv-nav-links ul { display: none; } }
