/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */


/* Overlay behind the drawer */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1000;
}

/* Drawer container */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    /* Hidden off‐screen */
    width: 100%;
    max-width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 1002;
    padding: 1rem;
}

/* Close button inside drawer */
.close-btn {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
}

/* Menu items */
.drawer-menu {
    list-style: none;
}

.drawer-menu li+li {
    margin-top: 24px;
}

.drawer-menu a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
}

/* Open states */
.drawer.open {
    transform: translateX(0);
}

.overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

#mobile-drawer {
    padding: 20px
}

#mobile-drawer .mobile-drawer-header img {
    max-width: 180px;
}

#mobile-drawer .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

ul.drawer-menu {
    padding: 40px 0;
    margin: 0;
}

ul.drawer-menu li a{
    font-size: 1.2em !important;
}

.button_book_now {
    margin-top: 40px !important;
}

.button_book_now a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid #222023;
    color: #222023;
    background-color: transparent;
}

.button_book_now a:hover {
    background-color: #222023;
    color: #ffffff;
}



.btn_primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border: 1px solid #1e1e1e;
    color: #F5F0EC;
    background-color: #1e1e1e;
	font-size: 20px;
	gap: 10px;
}

.btn_primary img {
	margin: 0 !important;
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7489%) hue-rotate(31deg) brightness(106%) contrast(87%);
}

.btn_primary:hover img {
	filter: brightness(0) saturate(100%) invert(12%) sepia(15%) saturate(9%) hue-rotate(326deg) brightness(93%) contrast(99%);
}

.btn_primary:hover {
    background-color: #F5F0EC;
    color: #1e1e1e;
	border-color: #F5F0EC;
}

/* Basic Modal Styles */
.cf7-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.cf7-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 40px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.cf7-modal-content input[type="email"] {
    height: 48px;
    border-radius: 999px;
    font-family: "Open Sans" Sans-Serif;
    padding: 8px 30px;
}

.cf7-modal-content .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}

.cf7-modal-content input[type="submit"]  {
    background-color: #222023;
    font-size: 1em;
	display: block;
    width: 100%;
}
.cf7-modal-content h3 {
	text-align: center;
    font-size: 1.3em;
    color: #222023;
}

.cf7-modal-content.home-footer h3 {
	display: none;
}

.wpcf7-not-valid-tip {
	font-size: 12px;
}

.wpcf7-response-output{
	margin: 0 !important;
    padding: 10px !important;
    font-size: 14px !important;
    text-align: center;
    border-width: 1px !important;
}

.cf7-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.services-swiper{
	overflow: visible !important;
}

.services-swiper .odd img {
	aspect-ratio: 300/350; 
	object-position: center;
	object-fit: cover;
}

.services-swiper .even img {
	aspect-ratio: 305/240;
	object-position: center;
	object-fit: cover;
}

.services-swiper .services-content{
	display: flex; 
	align-items: start;
	gap: 10px;
}

.services-swiper .number-title{
	font-size: 36px;
	line-height: 1.2em;
	font-family: "Archivo", sans-serif;
	color: #1e1e1e !important;
}

.services-swiper h3 {
	color: #1e1e1e !important;
	font-size: 24px;
	line-height: 1.5em;
	font-family: "Archivo", sans-serif;
	margin-bottom: 5px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.services-swiper p {
	line-height: 1.5em;
	font-family: "Open Sans", sans-serif;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	letter-spacing: -0.1px;
    color: #585858 !important;
}

.services-swiper img {
	margin-bottom: 20px;
}

.custom-modal-backdrop {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.7);
	justify-content: center;
	align-items: center;
	overflow: auto;
    padding: 10px 10px;
}

.custom-modal {
	background: #fff;
	padding: 20px;
	max-width: 992px;
	position: relative;
	display: flex;
	gap: 30px;
	flex-direction: column;
	max-height: calc(100vh - 80px);
    overflow-y: auto;
	scroll-behavior: smooth;
}

.custom-modal img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1rem;
}

.custom-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: pointer;
	font-size: 2em;
	color: #1d1d1d;
	background-color: transparent;
}


.custom-modal .modal-image {
	flex: none;
	max-width: 300px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.custom-modal .modal-image img {
    aspect-ratio: 424/400;
    object-fit: cover;
    width: 100%;
	margin-bottom: 10px;
}

.custom-modal .modal-image h2{
	font-family: "Archivo", Sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5em;
    color: #1d1d1d;
	margin-bottom: 10px;
	margin-top: 0;
	text-align: center;
}

.custom-modal .modal-image p{
	font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #585858;
	text-align: center;
}


.custom-modal .modal-content p,
.custom-modal .modal-content ul li,
.custom-modal .modal-content ol li,
.custom-modal .modal-content table td,
.custom-modal .modal-content table td{
    line-height: 1.5em;
    font-family: "Open Sans", Sans-serif;
    color: #585858;
}

.custom-modal .modal-content h2,
.custom-modal .modal-content h3,
.custom-modal .modal-content h4 {
    font-family: "Archivo", sans-serif;
    line-height: 1.1em;
}

.custom-modal .modal-content h2 {
    font-size: 42px;
}

.custom-modal .modal-content h3 {
    font-size: 24px;
}

.open-team-details {
	cursor: pointer;
}

@media (min-width: 992px) {
	
	.custom-modal-backdrop {
		padding: 40px 20px;
	}
	
	.custom-modal {
		flex-direction: row;
		padding: 50px;
	}
}


