/* ==========================================
   CSS Variables & Design System
   ========================================== */
:root {
  --primary-color: #0A4D68;    /* Deep ocean blue */
  --primary-dark: #063548;
  --secondary-color: #088395;  /* Soft teal */
  --accent-color: #C9A959;     /* Gold/champagne */
  --accent-hover: #b5984f;
  --bg-color: #FAFAFA;         /* Off-white/cream */
  --bg-light: #F2F2F2;
  --text-color: #1A1A2E;       /* Dark charcoal */
  --text-light: #F8F9FA;
  --text-muted: #6c757d;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(10, 77, 104, 0.1);
  --box-shadow-hover: 0 15px 40px rgba(10, 77, 104, 0.2);
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
}

.subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary-color); color: var(--text-light); }
.bg-primary h2, .bg-primary h3 { color: var(--text-light); }
.bg-primary .section-desc { color: #d0dbe0; }
.text-light { color: var(--text-light); }
.text-accent { color: var(--accent-color); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

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

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

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

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    padding: 1.5rem 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.header.scrolled .hamburger .bar {
    background-color: var(--primary-color);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: clamp(50px, 5vw, 85px);
    width: auto;
    display: block;
}

.logo-img-light {
    display: none;
}

.header.scrolled .logo-img-dark {
    display: none;
}

.header.scrolled .logo-img-light {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.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,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 20s infinite alternate linear;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 77, 104, 0.6) 0%, rgba(26, 26, 46, 0.4) 100%);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-indicator a {
    color: white;
    font-size: 1.5rem;
}

@keyframes zoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ==========================================
   Destinations Section
   ========================================== */
.gallery-section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-left: 2rem;
    font-family: var(--font-heading);
    border-left: 4px solid var(--accent-color);
}

.gallery-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.gallery-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0 2rem 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
}

@media (max-width: 1023px) {
    .gallery-grid {
        /* scroll-snap removed to prevent conflict with JS auto-scroll */
        scroll-behavior: auto;
    }
}

.gallery-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery-card {
    flex: 0 0 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    box-shadow: var(--box-shadow);
    scroll-snap-align: start;
    transition: var(--transition);
}

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

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 77, 104, 0.9) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
    opacity: 0.8;
    transition: var(--transition);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover::before {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 77, 104, 0.95) 0%, rgba(0, 0, 0, 0.2) 60%);
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
}

.gallery-card:hover .gallery-content p {
    opacity: 1;
}

/* ==========================================
   Experiences Section
   ========================================== */
.experiences-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.experience-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 3px solid transparent;
}

.experience-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-bottom-color: var(--accent-color);
}

/* ==========================================
   Offers Section
   ========================================== */
.offers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.offers-list .experience-item {
    flex: 1 1 300px;
    max-width: calc(33.33% - 1.7rem);
}

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

.experience-item:hover .exp-icon {
    background-color: var(--accent-color);
    color: white;
}

.exp-text h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.exp-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   About Section
   ========================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    z-index: -1;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.stat p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.contact-details i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

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

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

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

.contact-form-wrapper {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    color: var(--text-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-color);
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    background: transparent;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-group select {
    padding-bottom: 10px;
    cursor: pointer;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--secondary-color);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0;
}

/* Hide placeholders by default but retain pseudo logic setup for modern floating labels */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group.half {
    width: 50%;
}

.date-label {
    top: -15px !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
}

.form-messages {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.success-msg { color: #28a745; }
.error-msg { color: #dc3545; }

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: #042431;
    color: #e0e0e0;
    padding: 4rem 0 0;
}

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

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo {
    height: clamp(60px, 6vw, 100px);
    width: auto;
}

.footer-brand p {
    color: #a0b6c2;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0b6c2;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #031c26;
    font-size: 0.9rem;
    color: #a0b6c2;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================
   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: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}

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

@keyframes pulse-green {
    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); }
}

/* ==========================================
   Inquiry Modal
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 77, 104, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2.2rem;
}

.modal-header p {
    color: var(--text-muted);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .section { padding: 4rem 0; }
    .hero-title { font-size: 3.5rem; }
    
    .gallery-grid,
    .experiences-list,
    .offers-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offers-list .experience-item {
        max-width: calc(50% - 1.25rem);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 77, 104, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        height: calc(100vh - 70px);
        justify-content: center;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
    }
    
    .header.scrolled .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .header.scrolled .nav-link {
        color: var(--primary-color);
    }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .gallery-grid,
    .experiences-list,
    .offers-list {
        grid-template-columns: 1fr;
    }
    
    .offers-list .experience-item {
        max-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        margin: 0 auto 1rem;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }
}
