/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0a192f;
    /* Deep Navy Blue */
    --secondary-color: #c5a059;
    /* Elegant Gold */
    --accent-blue: #2c5282;
    --text-color: #1a202c;
    --text-muted: #718096;
    --bg-light: #f8faff;
    --bg-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    cursor: none;
    /* Hide real cursor for luxury pointer */
}

@media (max-width: 1024px) {
    html {
        cursor: auto;
        /* Show real cursor on mobile/tablets */
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

/* Hover cursor for interactive elements - Only hide real cursor if on desktop */
@media (min-width: 1025px) {
    * {
        cursor: none !important;
    }
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.separator {
    width: 50px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 20px auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    font-weight: 700;
}

/* Luxury Pointer Stylings */
.cursor-dot {
    width: 40px;
    /* Reduced from 60px */
    height: 24px;
    /* Reduced from 36px */
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 999999;
    /* Max visibility */
    pointer-events: none;
    transition: width 0.3s, height 0.3s, transform 0.05s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.cursor-dot svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cursor-active .cursor-dot {
    width: 50px;
    /* Reduced from 80px */
    height: 30px;
    /* Reduced from 48px */
    transform: translate(-50%, -50%) scale(1.1);
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.btn-outline-light {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

/* Header */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 0;
    /* No padding for the bar itself */
    height: 80px;
    /* Increased height for larger logo */
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    height: 75px;
}

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

.logo-img {
    height: 180px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    position: relative;
    top: 25px;
}

.header.scrolled .logo-img {
    height: 95px;
    top: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bg-white);
    position: relative;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header.scrolled .nav-list a {
    color: var(--primary-color);
    text-shadow: none;
    opacity: 0.8;
}

.nav-list a:hover {
    opacity: 1;
}

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--bg-white);
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding-top: 80px;
    background: url('assets/hero_crucero.jpg') center/cover no-repeat fixed;
    /* Fallback if video fails */
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 25, 47, 0.2) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 3;
    animation: heroReveal 1.5s ease-out;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--bg-white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* Cruise Carousel Section */
.carousel-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.carousel-container {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.track-left {
    animation: scroll 40s linear infinite;
}

.track-right {
    animation: scroll-reverse 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(calc(-100% / 2));
    }

    100% {
        transform: translateX(0);
    }
}

.carousel-card {
    width: 300px;
    /* Reduced from 380px */
    height: 420px;
    /* Reduced from 520px */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 56, 118, 0.95) 0%,
            rgba(0, 56, 118, 0.7) 40%,
            rgba(0, 56, 118, 0.1) 70%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    /* Reduced from 30px */
    color: var(--bg-white);
    text-align: left;
    /* Switched to left for better detail reading */
    transition: background 0.4s ease;
}

.carousel-card:hover .card-overlay {
    background: linear-gradient(to top,
            rgba(0, 56, 118, 0.98) 0%,
            rgba(0, 56, 118, 0.85) 60%,
            rgba(0, 56, 118, 0.4) 100%);
}

.card-brand {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.card-overlay h3 {
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    margin-bottom: 5px;
    color: var(--bg-white);
    line-height: 1.2;
}

.cruise-type {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
    font-style: italic;
}

.card-overlay .price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.hover-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card:hover .hover-details {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 20px;
}

.hover-details ul {
    list-style: none;
    margin-bottom: 15px;
}

.hover-details ul li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hover-details ul li i {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

.routes {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.btn-clean {
    color: var(--bg-white);
    border: 1px solid var(--bg-white);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    align-self: flex-start;
}

.btn-clean:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 48px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    height: 80px;
    width: 80px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.service-card h4 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

/* Custom Icons */
.fa-user-heart::before {
    content: "\f004";
    /* Heart icon as base, using FA icons */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* About Section Styles */
.about-section {
    position: relative;
    background-color: var(--bg-white);
    padding: 120px 0;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 20 50 10 T 100 10' fill='none' stroke='%23c5a059' stroke-width='0.5' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.15;
    pointer-events: none;
}

.welcome-container {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.about-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-section h3 {
    font-size: 3rem;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.about-lead {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
}

.about-quote {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 50px;
    position: relative;
    padding: 0 40px;
}

.about-quote::before,
.about-quote::after {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
}

.about-quote::before {
    top: -20px;
    left: 0;
}

.about-quote::after {
    bottom: -60px;
    right: 0;
}

.nautical-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nautical-divider .line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.nautical-divider i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Brands Carousel */
.brands-section {
    padding: 30px 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    overflow: hidden;
}

.brands-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.brands-track {
    display: flex;
    gap: 100px;
    width: max-content;
    animation: scroll 40s linear infinite;
    align-items: center;
}

.brand-logo {
    height: 65px;
    width: auto;
    max-width: 200px;
    opacity: 0.9;
    transition: var(--transition);
    object-fit: contain;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Documentation Section */
.doc-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 100px 0;
}

.doc-section h3 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.doc-list {
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.doc-list a {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 24px;
    border-radius: var(--radius);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.doc-list a:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Budget Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.budget-form .form-group {
    margin-bottom: 24px;
}

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

.budget-form input,
.budget-form select,
.budget-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f7fafc;
}

.budget-form input:focus,
.budget-form select:focus,
.budget-form textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
    background-color: var(--bg-white);
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: start;
}

.logo-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col i {
    color: var(--secondary-color);
    width: 20px;
}

.logo-img-footer {
    height: 200px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    text-align: center;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Fixed WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

/* Animations */
.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.delay-2 {
    animation-delay: 0.4s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header {
        height: 60px;
    }

    .logo-img {
        height: 80px;
        top: 10px;
    }

    .header.scrolled .logo-img {
        height: 70px;
        top: 5px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .doc-list {
        flex-direction: column;
    }
}