/* ========================================
   DRFIT - ESTILOS PRINCIPALES
   ======================================== */

/* Variables de Color */
:root {
    --primary-blue: #669bbc;
    --dark-blue: #003049;
    --cream: #fdf0d5;
    --vibrant-red: #c1121f;
    --dark-red: #780000;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
    
    /* Fuentes */
    --font-primary: 'Amaranth', cursive;
    --font-secondary: 'Merriweather Sans', sans-serif;
    --font-accent: 'Metrophobic', sans-serif;
    
    /* Espaciado */
    --section-padding: 80px 0;
    --container-padding: 20px;
}

/* ========================================
   ESTILOS GENERALES
   ======================================== */

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

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-blue);
    overflow-x: hidden;
}

.section-padding {
    padding: var(--section-padding);
}

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

.bg-dark {
    background-color: var(--dark-blue) !important;
}

/* ========================================
   TIPOGRAFÍA
   ======================================== */

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

h4, h5, h6 {
    font-family: var(--font-accent);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--vibrant-red));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

/* ========================================
   NAVEGACIÓN
   ======================================== */

.custom-navbar {
    background: rgba(0, 48, 73, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.custom-navbar.scrolled {
    background: var(--dark-blue);
    padding: 10px 0;
}

.brand-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--white);
    margin: 0 15px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 48, 73, 0.8), rgba(102, 155, 188, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-blue);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--vibrant-red);
    animation: highlightGlow 2s ease-in-out infinite alternate;
}

@keyframes highlightGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; box-shadow: 0 0 20px var(--vibrant-red); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons .btn {
    margin: 10px 5px;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23fdf0d5'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

/* ========================================
   BOTONES
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--vibrant-red));
    border: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--vibrant-red), var(--dark-red));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 155, 188, 0.4);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

/* ========================================
   YATE DEL MES
   ======================================== */

.yacht-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 48, 73, 0.1);
}

.yacht-card img {
    transition: transform 0.3s ease;
}

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

.yacht-info {
    padding: 20px;
}

.yacht-name {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.yacht-description {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.yacht-features {
    list-style: none;
    margin-bottom: 2rem;
}

.yacht-features li {
    padding: 8px 0;
    font-size: 1rem;
    color: var(--dark-blue);
}

.yacht-features .bi-check-circle {
    color: var(--primary-blue);
    margin-right: 10px;
}

.yacht-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.yacht-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vibrant-red);
    font-family: var(--font-primary);
}

/* ========================================
   MAPA INTERACTIVO
   ======================================== */

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 48, 73, 0.1);
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--vibrant-red);
    border: 3px solid var(--white);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(193, 18, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0); }
}

.marker-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-blue);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.marker:hover .marker-label {
    opacity: 1;
    top: -40px;
}

.destinations-info {
    padding: 20px;
}

.destination-item {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.destination-item:hover,
.destination-item.active {
    background: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(102, 155, 188, 0.1);
}

.destination-item h4 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

/* ========================================
   TESTIMONIOS
   ======================================== */

.testimonials-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    width: 80%;
    margin: 50px auto;
    margin-top: 0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.author-info h5 {
    margin: 0;
    color: var(--white);
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonials-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 155, 188, 0.1), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   EXPERIENCIAS
   ======================================== */

.experiences-section {
    background: var(--cream);
    position: relative;
}

.experience-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 48, 73, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 48, 73, 0.15);
}

.experience-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 48, 73, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover .experience-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--vibrant-red);
    transform: scale(1.1);
}

.experience-content {
    padding: 25px;
}

.experience-content h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.experience-content p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.experience-author {
    font-style: italic;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* ========================================
   DATOS CURIOSOS
   ======================================== */

.fun-facts-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.fun-facts-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

.fact-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.fact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-primary);
    margin-bottom: 10px;
}

.fact-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* ========================================
   CALL TO ACTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--vibrant-red), var(--dark-red));
    color: var(--white);
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-title::after {
    background: var(--white);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons .btn {
    margin: 10px;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%23003049'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-brand h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--primary-blue);
    margin-right: 10px;
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-copyright {
    opacity: 0.6;
    margin: 0;
}

/* ========================================
   BANNER DE COOKIES
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    color: var(--white);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-banner .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========================================
   FORMULARIOS
   ======================================== */

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(102, 155, 188, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.invalid-feedback {
    display: block;
    color: var(--vibrant-red);
    font-size: 0.875rem;
    margin-top: 5px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .yacht-price {
        flex-direction: column;
        text-align: center;
    }
    
    .yacht-price .price {
        margin-bottom: 15px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }
    
    .testimonial-card {
        margin: 0 10px;
        padding: 25px;
    }
    
    .fact-card {
        margin-bottom: 20px;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 20px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .experience-card {
        margin-bottom: 30px;
    }
    
    .cookie-banner .row {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner .col-md-4 {
        margin-top: 15px;
    }
}

/* ========================================
   ANIMACIONES ADICIONALES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Mejoras de accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Estados de focus para accesibilidad */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}

.footer .navbar-brand{
    margin-bottom: 20px;
}