
/* Reseteo general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-size: 14px; /* Base para rem */
    font-family: Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

    .h1 .h2 {
        font-family: "Lora", serif;
        font-optical-sizing: auto;
        font-weight: 800;
        font-style: normal;
    }

    .h3 .h4 {
        font-family: "Lora", serif;
        font-optical-sizing: auto;
        font-weight: 600;
        font-style: normal;
    }

    .h5 .h6 {
        font-family: "Lora", serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }

    p {
        font-family: "Montserrat", serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }

    .navbar-nav .nav-link {
        font-family: "Meow Script", serif !important;
        /* Usar !important si no se aplica */
        font-weight: 400;
        font-style: normal;
        font-size: 1.7rem;
    }

    .body-bg {
        display: flex;
        flex-direction: column;
        background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5)), url('../images/concha.jpg'); /* Fondo marino elegante */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        color: #2C3E50; /* Texto oscuro para contraste */
    }
    

/* Ajustes para tamaños de pantalla */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Navbar con degradado */
.navbar-verde-agua.gradient-background {
    background-color: #F2F2F2;
    top: 0;
    width: 100%;
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para mejor visibilidad */
}

.navbar-verde-agua .nav-link {
    color: #333333 !important;
    transition: color 0.3s ease;
}

    .navbar-verde-agua .nav-link:hover {
        color: #00B4D8 !important;
    }



/* Estilo de encabezados */
h1 {
    font-family: "Meow Script", serif;
    font-weight: 400;
    font-size: 4rem;
}

/* Secci�n de contacto */
.text-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.contact-section h2, .contact-section h3 {
    font-family: 'Georgia', serif;
}

    .contact-section h3 a {
        font-family: 'Arial', sans-serif;
        transition: color 0.3s ease;
    }

        .contact-section h3 a:hover {
            color: #007bff;
            text-decoration: underline;
        }

.fb-page {
    max-width: 100%;
}

iframe {
    border: 0;
}

@media (max-width: 768px) {
    .fb-page {
        width: 100% !important; /* Asegura que se adapte en pantallas pequeñas */
        height: auto !important; /* Ajusta la altura si es necesario */
    }
}

/* Footer */
.footer-background { 
    margin: 0;
    background: linear-gradient(to bottom, #003366, #0077a5);
    background-size: 400% 400%;
    animation: backgroundShift 10s infinite;
    width: 100%;
    height: auto; /* Ajuste de altura */
    flex-direction: column;
    justify-content: space-between; /* Separar contenido principal y copyright */
    color: white;
    font-family: 'Arial', sans-serif;
}

.footer-background h5 {
    font-weight: bold;
    font-size: 1.2rem;
}

.footer-background ul {
    padding: 0;
    list-style: none;
}

.footer-background a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-background a:hover {
    color: #ffcc00; /* Color de hover */
}

.footer-background .icon-hover:hover i {
    transform: scale(1.2); /* Efecto de hover en íconos */
    transition: transform 0.3s ease-in-out;
}

.footer-background {
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.footer-background .shadow-1-strong img {
    border-radius: 50%; /* Logo circular */
    border: 2px solid #ffffff; /* Bordes blancos */
}


/* Botones y formularios */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Bot�n flotante de WhatsApp */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 30px; /* Ajusta el tama�o del �cono */
    width: 60px; /* Ancho fijo */
    height: 60px; /* Altura fija para asegurar el c�rculo */
    border-radius: 50%; /* Hace que el bot�n sea circular */
    display: flex;
    align-items: center; /* Centra el �cono verticalmente */
    justify-content: center; /* Centra el �cono horizontalmente */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

    .btn-whatsapp:hover {
        background-color: #128c7e;
        text-decoration: none;
    }


/****************************BANNER**************************************/
/* Efecto de fondo animado */
.banner {
    background: linear-gradient(120deg, #003366, #005580, #0077a5);
    background-size: 400% 400%;
    animation: backgroundShift 10s infinite;
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8vh;
    color: white;
}

.banner-s {
    background: linear-gradient(120deg, #003366, #005580, #0077a5);
    background-size: 400% 400%;
    animation: backgroundShift 10s infinite;
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8vh;
    color: white;
}

@keyframes backgroundShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.banner h1 {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeIn 1s ease-out forwards;
}

.banner h2 {
    font-size: 2rem;
    margin: 10px 0 20px;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    position: absolute;
    top: 25vh;
    right: 21vh;
    max-height: 40vh;
    opacity: 0;
    transform: translateY(45vh);
    animation: slideIn 1.5s ease-out forwards;
}

.ship-image {
    max-height: 95vh;
    position: absolute;
    top: 20vh;
    right: 30%;
    transform: translate(-80vh, 0);
    opacity: 0;
    animation: slideIn 1.8s ease-out forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translate(0);
    }
}

.buttons {
    margin-top: 5vh;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}

.btn {
    background: linear-gradient(to right, #a8e3ff, #b19bff);
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn:hover {
    background: linear-gradient(to left, #a8e3ff, #b19bff);
    color: white;
}

.social-icons {
    position: absolute;
    bottom: 120px;
    right: 18vh;
    display: flex;
    gap: 70px;
    opacity: 0;
    animation: fadeIn 2.5s ease-out forwards;
}

.social-icons .fa-4x {
    transition: transform 0.3s, color 0.3s;
}

.social-icons .fa-4x:hover {
    transform: scale(1.2);
    color: #0096c7;
}

/* Media Queries para pantallas pequeñas */

@media (max-width: 1024px) {
    .banner {
        height: 50vh;  /* Reduce aún más el tamaño del banner */
        padding: 3vh;
    }

    .banner-s h1 {
        font-size: 4rem;  
    }

    .banner-s p {
        font-size: 2rem;  
    }

    .banner h1 {
        font-size: 3.5rem;  /* Ajuste adicional para el título */
    }

    .banner h2 {
        font-size: 3rem;  /* Ajuste adicional para el subtítulo */
    }

    p{
        font-size: 1.6rem; 
    }

    .logo {
        max-height: 20vh;  /* Logo más pequeño */
        top: 32vh;
        right: 12vh;
    }

    .ship-image {
        max-height: 30vh;  /* Imagen del barco más pequeña */
        top: 28vh;
        right: 30vh;
    }

    .social-icons {
        bottom: 70px;
        right: 5vh;
        gap: 20px;
    }
}

@media (max-width: 912px) {
    .banner {
        height: 50vh;  /* Reduce aún más el tamaño del banner */
        padding: 3vh;
    }

    .banner h1 {
        font-size: 3.5rem;  /* Ajuste adicional para el título */
    }

    .banner h2 {
        font-size: 3rem;  /* Ajuste adicional para el subtítulo */
    }

    p{
        font-size: 1.6rem; 
    }

    .logo {
        max-height: 20vh;  /* Logo más pequeño */
        top: 32vh;
        right: 12vh;
    }

    .ship-image {
        max-height: 30vh;  /* Imagen del barco más pequeña */
        top: 28vh;
        right: 30vh;
    }

    .social-icons {
        bottom: 70px;
        right: 5vh;
        gap: 20px;
    }
}

@media (max-width: 853px) {
    .banner {
        height: 60vh;  /* Reduce el tamaño del banner en pantallas pequeñas */
        padding: 5vh;
    }

    .banner h1 {
        font-size: 4rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    .banner h2 {
        font-size: 3rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    .banner-s h1 {
        font-size: 5rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    .banner-s p {
        font-size: 2rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    p{
        font-size: 1.5rem; 
    }

    .logo {
        max-height: 25vh;  /* Ajusta el tamaño de la imagen logo */
        top: 35vh;  /* Ajusta la posición del logo */
        right: 10vh;
    }

    .ship-image {
        max-height: 40vh;  /* Ajusta el tamaño de la imagen del barco */
        top: 30vh;
        right: 28vh;
    }

    .buttons {
        margin-top: 3vh;
    }

    .social-icons {
        bottom: 90px;
        right: 10vh;
        gap: 30px;
    }
}

/* Media Queries para pantallas pequeñas */
@media (max-width: 768px) {
    .banner {
        height: 60vh;  /* Reduce el tamaño del banner en pantallas pequeñas */
        padding: 5vh;
    }

    .banner h1 {
        font-size: 2.5rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    .banner h2 {
        font-size: 1.5rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    .banner-s h1 {
        font-size: 4rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    .banner-s p {
        font-size: 1.3rem;  /* Reduce el tamaño de la fuente para pantallas pequeñas */
    }

    .logo {
        max-height: 25vh;  /* Ajusta el tamaño de la imagen logo */
        top: 35vh;  /* Ajusta la posición del logo */
        right: 10vh;
    }

    .ship-image {
        max-height: 40vh;  /* Ajusta el tamaño de la imagen del barco */
        top: 30vh;
        right: 28vh;
    }

    .buttons {
        margin-top: 3vh;
    }

    .social-icons {
        bottom: 90px;
        right: 10vh;
        gap: 30px;
    }
}

@media (max-width: 540px) {
    .banner {
        height: 50vh;  /* Reduce aún más el tamaño del banner */
        padding: 3vh;
    }
    
    .banner-s {
        width: 100%;
        height: 40vh;
    }

    .banner h1 {
        font-size: 1.8rem;  /* Ajuste adicional para el título */
    }

    .banner h2 {
        font-size: 1.2rem;  /* Ajuste adicional para el subtítulo */
    }

    .banner-s h1 {
        font-size: 3.2rem;  /* Ajuste adicional para el título */
    }

    .banner-s p {
        font-size: 1rem;  /* Ajuste adicional para el subtítulo */
    }

    p{
        font-size: 1rem; 
    }

    .logo {
        max-height: 20vh;  /* Logo más pequeño */
        top: 32vh;
        right: 20vh;
    }

    .ship-image {
        max-height: 28vh;  /* Imagen del barco más pequeña */
        top: 32vh;
        right: 35vh;
    }

    .social-icons {
        bottom: 70px;
        right: 5vh;
        gap: 20px;
    }
}

/* Media Queries para dispositivos móviles */
@media (max-width: 480px) {
    .banner {
        height: 50vh;  /* Reduce aún más el tamaño del banner */
        padding: 3vh;
    }

    .banner-s {
        width: 100%;
        height: 40vh;
    }

    .banner h1 {
        font-size: 1.8rem;  /* Ajuste adicional para el título */
    }

    .banner h2 {
        font-size: 1.2rem;  /* Ajuste adicional para el subtítulo */
    }

    .banner-s h1 {
        font-size: 2.8rem; 
    }

    .banner-s p {
        font-size: 0.6rem; 
    }

    p{
        font-size: 1rem; 
    }

    .logo {
        max-height: 20vh;  /* Logo más pequeño */
        top: 32vh;
        right: 6vh;
    }

    .ship-image {
        max-height: 23vh;  /* Imagen del barco más pequeña */
        top: 32vh;
        right: 18vh;
    }

    .social-icons {
        bottom: 70px;
        right: 5vh;
        gap: 20px;
    }
}


/*********************CATEGORIA************************************/

 /* Estilos personalizados */
 .category-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.category-section h2 {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.category-section p {
    font-size: 1.2rem;
    color: #6c757d;
}

.category-images img {
    margin: 10px;
    max-width: 250px;
    max-height: 150px;
}