/*
 Theme Name: oceantravel 2025
 Theme URI: oceantravel
 Author: Marco Perez
 Author URI: https://www.instagram.com/marckope
 Description: Tema original creado para oceantravel .
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: marckope, oceantravel
 Text Domain: marckope
*/
:root {
    --principal: #0c1f3d; /* Azul */
    --secundario: #79a2e2; /* Azul */
    --alterno: #eeeeee; /* Azul */
}
@font-face {
    font-weight: 200;
    src: url('fonts/JosefinSans.ttf');
  } 

body{
    font-weight: 200;
}
 a{text-decoration:none;}

header {
    background: var(--alterno);
    position: relative;
    z-index: 2;
    top: 0;
    left: 0;
}
a.link-logo img {
    width: 150px !important;
}

a.link-logo {
    display: inline-block;
}
ul.menu  {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

ul.menu li a {
    color: var(--principal);
    text-decoration: none;
    display: block;
    padding: 15px 15px;
    font-weight: 500;
}
ul.menu li:last-child a {
    padding-right: 0px;
}


.owl-text {
    position: absolute;
    color: var(--secundario);
    text-align: center;
    bottom: 50%;
    width: 100%;
    z-index: 2;
    transform: translateY(60px);
}

.owl-text h1 {
    font-size: 36pt;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    text-shadow: 0px 4px 3px var(--principal);
}

.owl-text h2 {
    font-size: 18pt;
    font-weight: 200;
    color: white;
    text-shadow: 0px 4px 3px var(--principal);
}

a.btn-cotizar {
    background: var(--secundario);
    color: var(--principal);
    padding: 15px 60px;
    text-decoration: none;
    font-size: 14pt;
    border-radius: 32.5px;
    display: inline-block;
    transition: .5s;
    font-weight: 500;
}
a.btn-cotizar:hover {
    transform: scale(1.05);
}
.owl-matcargo {
    height: calc(100vh - 115.86px);
    position: relative;
    background: var(--alterno);
    transform: translateY(-1px);
}

.owl-stage {
   height: calc(100vh - 115.86px);
}

.owl-item.active {
   height: calc(100vh - 115px);
}

.owl-img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
    background-position: center;
    background-size: cover;
}

.owl-item {
    background: var(--secundario);
}

.owl-capa{
    background: linear-gradient(180deg, var(--alterno), #ffffff00, var(--principal));
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 2;
}

.owl-dots {
    position: absolute;
    width: 100%;
    z-index: 3;
    bottom: 15px;
    text-align: center;
}

.owl-dot {
    width: 10px;
    height: 10px;
    background: var(--alterno) !important;
    border-radius: 50%;
    margin: 4px;
}
.owl-dot.active {
    background: #ffffff !important;
}
a.btn-cotizar img {
    display: inline-block !important;
    width: 35px !important;
    margin-left: 15PX;
}


/*page*/
.page .entry-title {
    font-size: 30pt;
    font-weight: 700;
    color: var(--principal);
    display: block;
    text-align: center;
    margin-bottom: 70px;
}

.page .entry-content {
    max-width: 968px;
    margin: auto;
    font-size: 14pt;
    line-height: 22pt;
    display: block;
}

article.page {
    padding: 60px 0px;
}

.bloque-post {
    position: relative;
    padding: 60px;
    background-color: var(--principal);
    color: var(--alterno);
}

.bloque-post-pic {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    background-size: cover;
    background-position: center;
}
.bloque-post h2 {
    font-weight: 800;
    font-size: 26pt;
    margin-bottom: 30px;
}

.bloque-post p {
    font-size: 14pt;
    line-height: 22pt;
}

.bloque-post:nth-child(even) .bloque-post-pic {
    left: 0;
}

.bloque-post:nth-child(even) .bloque-post-text{
    order: 2;
    text-align: right;
}
.page header {
    background: var(--alterno);
    border-bottom: 1px solid #d3dced;
}
/**/
.menu-mobile {
    display:none
}

.web-footer {
    background: var(--alterno);
    padding: 60px 0px;
}

.web-footer,.web-footer a {
    color: var(--principal);
    font-size: 12pt;
    text-decoration: none;
    line-height: 20pt;
    font-weight: 400;
}
.web-footer a.link-logo img {
    width: 175px !important;
}
#post-12 .has-large-font-size,#post-122 .has-large-font-size {
    font-weight: 800;
    line-height: 30pt;
    color: white;
    padding: 20px;
}
ul.menu .current-menu-item a {
    font-weight: 700;
    color: var(--principal);
}
.barraIdiom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}
.barraIdiom ul {
    list-style: none;
    padding: 0;
    margin: auto;
    display: inline-flex;
}

.barraIdiom ul li a {
    display: block;
    background: var(--secundario);
    padding: 3px 7px;
    font-size: 9pt;
    color: #ffffff;
    text-decoration: none;
    margin: 0px 1px;
    font-weight: 700;
    border-radius: 0px 0px 5px 5px;
}
.barraIdiom ul li a.active {
    background: #223036;
    color: #fff;
}
 
.web-form-mckp .wpcf7-form-control-wrap {
    margin: 15px 0px;
    display: block;
}
.web-form-mckp .wpcf7-form-control {
    display: block;
    padding: 5px 15px;
    border-radius: 5px;
    width: 100%;
    border: 2px solid var(--secundario);
    height: 50px;
    font-weight: 200;
}



.web-form-mckp label {
    display: block;
    font-weight: 500;
    color: var(--secundario);
}

.web-form-mckp .wpcf7-submit {
    background: var(--secundario);
    color: #fff;
    margin-top: 30px;
}

.web-form-mckp {
    max-width: 740px;
    margin: auto;
    width: 100%;
}
.web-form-mckp .wpcf7-not-valid-tip {
    font-size: 12pt;
    font-weight: 200;
}
.wpcf7-response-output {
    margin: 0px auto !important;
    padding: 15px 30px !important;
    display: block;
    background: #fff5ac;
    width: calc(100% - 50px);
    transform: translateY(-50px);
}


ul.redes-footer {
    padding: 0;
    list-style: none;
    margin: auto;
    display: flex;
    justify-content: end;
    margin-top: 20px;
}

ul.redes-footer a {
    transition: .5s all;
    width: 35px;
    background: var(--principal);
    border-radius: 8px;
    margin-left: 10px;
    display: block;
}

ul.redes-footer a img {
    width: 100%;
}

ul.redes-footer a:hover {
    transform: scale(1.1);
}

.sub-menu {
    list-style: none;
    padding: 0;
    background: var(--principal);
    border-radius: 4px;
    position: absolute;
    display: none;
}

.sub-menu a {
    padding: 15px 15px !important;
    color: var(--alterno) !important;
    font-size: 12pt;
    line-height: 12pt;
}

.menu-item-has-children:hover > .sub-menu {
    display: block;
}
.card-title {
    color: var(--principal);
    font-weight: 600;
} 

.btn-principal {
    background: var(--principal);
    color: #fff;
}
.card-thumb {
  width: 100%;
  height: 200px; /* ajusta la altura */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: .375rem; /* coincide con card-img-top */
  border-top-right-radius: .375rem;
}

.card-thumb-link {
  text-decoration: none;
  display: block;
}
.single-thumb {
  width: 100%;
  height: 400px; /* ajusta según diseño */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: .375rem;
}
 

/* Animación de .bloque-post de abajo a arriba */
.bloque-post {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.bloque-post.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animación de .bloque-post-text */
.bloque-post-text {
  opacity: 0;
  transition: all 0.6s ease-out;
}

/* Impares (nth-child odd) → izquierda a derecha */
.bloque-post:nth-child(odd) .bloque-post-text {
  transform: translateX(-50px);
}
.bloque-post:nth-child(odd) .bloque-post-text.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Pares (nth-child even) → derecha a izquierda */
.bloque-post:nth-child(even) .bloque-post-text {
  transform: translateX(50px);
}
.bloque-post:nth-child(even) .bloque-post-text.visible {
  opacity: 1;
  transform: translateX(0);
}
h3 {
    color: var(--principal);
    margin-top: 50px;
    display: block;
}
.wpcf7-form label { font-weight: bold; color: var(--principal); } .wpcf7-form .form-control,.wpcf7 .form-control:valid {border-radius: 9px;border: 2px solid var(--principal) !important;height: 55px;}

.wpcf7 p,.wpcf7  .container{margin-left:0px;margin-right:0px;padding: 0px;}
.wp-block-cover img {
    transition: 2s all;
}
.wp-block-cover:hover > img {
    transform: scale(1.2); 
}

.div-efecto {
  opacity: 0;
  transform: translateY(24px);
  transition: transform .6s ease, opacity .6s ease;
  will-change: transform, opacity;
}

.div-efecto.is-inview {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

  .div-efecto {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

h2 {
    font-size: 20pt;
    font-weight: bold;
    display: block;
    margin: 40px 0px 20px 0px;
}

@media only screen and (max-width: 768px) {
.entry-title {
    font-size: 23pt !important;
}
.sub-menu {
    position: relative;
    background: transparent;
}

.sub-menu a {
    color: var(--principal) !important;
    font-weight: 400 !important;
}
    .menuCell {
        width: 35px;
        height: 33px;
        background: #ffffff;
        margin-top: 5px;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .menuCell span {
        height: 4px;
        background: var(--secundario);
        display: block;
        margin: 5px 6px;
        transition: .3s;
    }
    .owl-text h1 {
        font-size: 28pt;
        margin: auto;
        max-width: 350px;
    }
    
    .owl-text h2 {
        font-size: 12pt;
        line-height: 18pt;
        max-width: 290px;
        margin: auto;
    }
    
    .owl-text h2,.owl-text h1 {
        padding: 0px 20px;
    }
    
    a.btn-cotizar {
        font-size: 14pt;
        padding: 15px 35px;
    }
    .owl-text {
    }
    
    .owl-dots {
        bottom: 150px;
        transform: translateY(50px);
    }
    .owl-img{
        background-position: center;
    }

    .bloque-post {
        padding: 0px 15px;
    }
    
    .bloque-post-pic {
        width: calc(100% + 30px);
        position: relative;
        height: 230px;
        transform: translateX(-15px);
    }
    
    .bloque-post-text {
        padding: 45px 15px;
        text-align: center !important;
        margin: auto;
    }
    .page .entry-content p{
        max-width: calc(100% - 42px);
        margin: 0px auto;
        margin-bottom: 15px;
    }

    .menu-mobile {
    position: fixed;
    z-index: 5;
    background: var(--alterno);
    top: 120px;
    left: 0;
    width: 100%;
    height: calc(100% - 120px);
    padding: 30px !important;
    }
    

    ul.menu-mobile {
        border-top: 2px solid #fff;
        display: block;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    ul.menu-mobile li a {
        color: var(--principal);
        text-decoration: none;
        font-size: 20pt;
        display: block;
        padding: 11px 0px;
        font-weight: 800;
    }
    .menuCell.open span:first-child {
        transform: translateX(0px) translateY(10px) rotate(45deg);
    }

    .menuCell.open span:nth-child(2) {
        display: none;
    }

    .menuCell.open span:last-child {
        transform: translateX(0px) translateY(1px) rotate(135deg);
    }
    body.no-scroll{
        overflow: hidden;
    }
    body.no-scroll .web-header {
        background: var(--alterno);
    }
    #post-12 .wp-block-column,#post-122 .wp-block-column {
    padding: 0px 30px;
    }

    #post-12 .has-large-font-size,#post-122 .has-large-font-size {
        margin: 0;
        padding: 0;
        text-align: center;
        display: block;
        max-width: 100%;
    }
    a.link-logo img{
        width: 140px !IMPORTANT;
        margin-top: 8px;
    }
    .wpcf7-response-output {
    width: calc(100% - 100px);
    font-size: 12pt;
    line-height: 18pt;
    transform: translateY(-45px);
    }
    ul.redes-footer
    {
        justify-content: center;
    }
    ul.redes-footer a{
        margin: 5px;
    }
}