/********** Pro Beach Bungalov Template CSS **********/

:root {
--primary: #38A2D6;
--primary-dark: #187DAF;
--secondary: #082C56;
--light: #F3FBFF;
--dark: #03213D;
--white: #FFFFFF;
--text: #4A5865;
--border: #D7EAF4;
--shadow: rgba(3, 33, 61, 0.10);
}

html {
scroll-behavior: smooth;
}

body {
color: var(--text);
background-color: var(--white);
}

.fw-medium {
font-weight: 500 !important;
}

.fw-semi-bold {
font-weight: 600 !important;
}

.back-to-top {
position: fixed;
display: none;
right: 45px;
bottom: 45px;
z-index: 99;
color: var(--white);
background-color: var(--primary);
border-color: var(--primary);
}

.back-to-top:hover {
color: var(--white);
background-color: var(--primary-dark);
border-color: var(--primary-dark);
}

/*** Spinner ***/
#spinner {
opacity: 0;
visibility: hidden;
transition: opacity .5s ease-out, visibility 0s linear .5s;
z-index: 99999;
background-color: var(--white) !important;
}

#spinner.show {
transition: opacity .5s ease-out, visibility 0s linear 0s;
visibility: visible;
opacity: 1;
}

#spinner .spinner-border {
color: var(--primary) !important;
}

/*** General Text and Links ***/
a {
color: var(--primary);
text-decoration: none;
transition: .3s;
}

a:hover {
color: var(--primary-dark);
}

p {
word-break: keep-all;
word-wrap: break-word;
overflow-wrap: break-word;
max-width: 100%;
line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--dark);
}

/*** Button ***/
.btn {
font-weight: 500;
text-transform: uppercase;
transition: .5s;
letter-spacing: .3px;
}

.btn.btn-primary {
color: var(--white);
background-color: var(--primary);
border-color: var(--primary);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
color: var(--white);
background-color: var(--primary-dark);
border-color: var(--primary-dark);
box-shadow: 0 8px 20px rgba(56, 162, 214, .25);
}

.btn.btn-secondary {
color: var(--white);
background-color: var(--secondary);
border-color: var(--secondary);
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-secondary:active {
color: var(--white);
background-color: var(--dark);
border-color: var(--dark);
}

.btn.btn-dark {
color: var(--white);
background-color: var(--dark);
border-color: var(--dark);
}

.btn.btn-dark:hover,
.btn.btn-dark:focus,
.btn.btn-dark:active {
color: var(--white);
background-color: var(--secondary);
border-color: var(--secondary);
}

.btn.btn-light {
color: var(--dark);
background-color: var(--white);
border-color: var(--white);
}

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

.btn-square {
width: 38px;
height: 38px;
}

.btn-sm-square {
width: 32px;
height: 32px;
}

.btn-lg-square {
width: 48px;
height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
padding: 0;
display: flex;
align-items: center;
justify-content: center;
font-weight: normal;
border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark {
background-color: var(--dark) !important;
}

.navbar-dark .navbar-nav .nav-link {
margin-right: 30px;
padding: 25px 0;
color: rgba(255, 255, 255, .92);
font-size: 15px;
font-weight: 500;
text-transform: uppercase;
outline: none;
transition: .3s;
}

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

.navbar-dark .navbar-toggler {
color: var(--white);
border-color: rgba(255, 255, 255, .30);
}

.navbar-dark .navbar-toggler:focus {
box-shadow: 0 0 0 .15rem rgba(56, 162, 214, .35);
}

@media (max-width: 991.98px) {
.navbar-dark .navbar-nav .nav-link {
margin-right: 0;
padding: 10px 0;
}

.navbar-dark .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 15px;
    padding-top: 10px;
}

}

/*** Header ***/
.carousel-caption {
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
linear-gradient(
90deg,
rgba(3, 33, 61, .82),
rgba(8, 44, 86, .62),
rgba(3, 33, 61, .45)
);
z-index: 1;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3,
.carousel-caption p {
color: var(--white);
text-shadow: 0 3px 15px rgba(0, 0, 0, .30);
}

.carousel-control-prev,
.carousel-control-next {
width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
width: 3rem;
height: 3rem;
padding: 20px;
border-radius: 50%;
background-color: rgba(56, 162, 214, .45);
background-size: 45%;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
background-color: var(--primary);
}

@media (max-width: 768px) {
#header-carousel .carousel-item {
position: relative;
min-height: 450px;
}

#header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(3, 33, 61, .70);
}

.carousel-caption h1 {
    font-size: 35px;
}

}

.page-header {
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}

.page-header-inner {
background:
linear-gradient(
rgba(3, 33, 61, .78),
rgba(8, 44, 86, .72)
);
}

.breadcrumb-item,
.breadcrumb-item a {
color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
color: var(--light);
}

.booking {
position: relative;
margin-top: -100px !important;
z-index: 1;
}

/*** Section Title ***/
.section-title {
position: relative;
display: inline-block;
color: var(--primary) !important;
font-weight: 600;
letter-spacing: 1px;
}

.section-title::before {
position: absolute;
content: "";
width: 45px;
height: 2px;
top: 50%;
left: -55px;
margin-top: -1px;
background: var(--primary);
}

.section-title::after {
position: absolute;
content: "";
width: 45px;
height: 2px;
top: 50%;
right: -55px;
margin-top: -1px;
background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
display: none;
}

/*** Full Width Layout ***/
.container-fluid.bg-dark {
width: 100vw;
max-width: 100%;
background-color: var(--dark) !important;
}

.navbar {
width: 100%;
max-width: 100%;
}

#header-carousel {
width: 100vw;
max-width: 100%;
}

#header-carousel .carousel-item {
width: 100vw;
max-width: 100%;
}

#header-carousel .carousel-item img {
width: 100%;
max-width: 100%;
object-fit: cover;
}

.container-xxl {
width: 100%;
max-width: 100%;
overflow-x: hidden;
}

/*** Room Cards ***/
.room-item {
background-color: var(--white);
border: 1px solid var(--border);
transition: .4s;
}

.room-item:hover {
transform: translateY(-6px);
box-shadow: 0 18px 45px rgba(3, 33, 61, .14) !important;
}

.room-item h5 {
color: var(--dark);
}

.room-item .text-primary {
color: var(--primary) !important;
}

.room-item .badge.bg-primary {
color: var(--white);
background-color: var(--primary) !important;
}

.room-item .badge.bg-secondary {
color: var(--white);
background-color: var(--secondary) !important;
}

/*** Service ***/
.service-item {
height: 320px;
padding: 30px;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
background: var(--white);
border: 1px solid var(--border);
box-shadow: 0 0 45px var(--shadow);
transition: .5s;
}

.service-item:hover {
background:
linear-gradient(
145deg,
var(--primary),
var(--primary-dark)
);
border-color: var(--primary);
transform: translateY(-6px);
box-shadow: 0 20px 45px rgba(3, 33, 61, .20);
}

.service-item .service-icon {
margin: 0 auto 30px auto;
width: 65px;
height: 65px;
color: var(--primary);
border-color: var(--primary) !important;
transition: .5s;
}

.service-item .service-icon > div {
border-color: var(--primary) !important;
}

.service-item i,
.service-item h5,
.service-item p {
transition: .5s;
}

.service-item i {
color: var(--primary) !important;
}

.service-item h5 {
color: var(--dark);
}

.service-item p {
color: var(--text);
}

.service-item:hover .service-icon,
.service-item:hover .service-icon > div {
border-color: rgba(255, 255, 255, .70) !important;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
color: var(--white) !important;
}

/*** YouTube Video ***/
.video {
position: relative;
height: 100%;
min-height: 500px;
background:
linear-gradient(
rgba(3, 33, 61, .35),
rgba(8, 44, 86, .40)
),
url(../img/video.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}

.video .btn-play {
position: absolute;
z-index: 3;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
box-sizing: content-box;
display: block;
width: 32px;
height: 44px;
border-radius: 50%;
border: none;
outline: none;
padding: 18px 20px 18px 28px;
}

.video .btn-play::before {
content: "";
position: absolute;
z-index: 0;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
display: block;
width: 100px;
height: 100px;
background: var(--primary);
border-radius: 50%;
animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play::after {
content: "";
position: absolute;
z-index: 1;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
display: block;
width: 100px;
height: 100px;
background: var(--primary);
border-radius: 50%;
transition: all 200ms;
}

.video .btn-play:hover::after {
background: var(--primary-dark);
}

.video .btn-play img {
position: relative;
z-index: 3;
max-width: 100%;
width: auto;
height: auto;
}

.video .btn-play span {
display: block;
position: relative;
z-index: 3;
width: 0;
height: 0;
border-left: 32px solid var(--dark);
border-top: 22px solid transparent;
border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
0% {
transform:
translateX(-50%)
translateY(-50%)
translateZ(0)
scale(1);
opacity: 1;
}

100% {
    transform:
        translateX(-50%)
        translateY(-50%)
        translateZ(0)
        scale(1.5);
    opacity: 0;
}

}

#videoModal {
z-index: 99999;
}

#videoModal .modal-dialog {
position: relative;
max-width: 800px;
margin: 60px auto 0 auto;
}

#videoModal .modal-body {
position: relative;
padding: 0;
}

#videoModal .close {
position: absolute;
width: 30px;
height: 30px;
right: 0;
top: -30px;
z-index: 999;
font-size: 30px;
font-weight: normal;
color: var(--white);
background: var(--dark);
opacity: 1;
}

/*** Testimonial ***/
.testimonial {
background:
linear-gradient(
rgba(3, 33, 61, .82),
rgba(8, 44, 86, .78)
),
url(../images/bg.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}

.testimonial-carousel {
padding-left: 65px;
padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
padding: 30px;
border: 1px solid rgba(56, 162, 214, .20);
box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.testimonial-carousel .testimonial-item h6 {
color: var(--dark);
}

.testimonial-carousel .testimonial-item .text-primary,
.testimonial-carousel .testimonial-item i {
color: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
position: absolute;
width: 100%;
height: 40px;
top: calc(50% - 20px);
left: 0;
display: flex;
justify-content: space-between;
z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
position: relative;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
background: var(--primary);
border-radius: 2px;
font-size: 18px;
transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
color: var(--primary);
background: var(--white);
}

@media (max-width: 767.98px) {
.testimonial-carousel {
padding-left: 15px;
padding-right: 15px;
}
}

/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
transition: .5s;
}

.team-item {
border-color: var(--border) !important;
}

.team-item:hover {
border-color: var(--secondary) !important;
}

.team-item .bg-primary {
background-color: var(--primary) !important;
}

.team-item:hover .bg-primary {
background: var(--secondary) !important;
}

.team-item .bg-primary i {
color: var(--white) !important;
}

.team-item:hover .bg-primary i {
color: var(--white) !important;
}

/*** Form Elements ***/
.form-control,
.form-select {
border-color: var(--border);
}

.form-control:focus,
.form-select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 .20rem rgba(56, 162, 214, .18);
}

.form-check-input:checked {
background-color: var(--primary);
border-color: var(--primary);
}

/*** Footer ***/
.newsletter {
position: relative;
z-index: 1;
}

.footer {
position: relative;
margin-top: -110px;
padding-top: 180px;
background-color: var(--dark) !important;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
color: var(--white);
}

.footer p {
color: rgba(255, 255, 255, .80);
}

.footer .btn.btn-social {
margin-right: 5px;
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
color: var(--light);
border: 1px solid rgba(255, 255, 255, .70);
border-radius: 35px;
transition: .3s;
}

.footer .btn.btn-social:hover {
color: var(--white);
background-color: var(--primary);
border-color: var(--primary);
}

.footer .btn.btn-link {
display: block;
margin-bottom: 5px;
padding: 0;
text-align: left;
color: rgba(255, 255, 255, .85);
font-size: 15px;
font-weight: normal;
text-transform: capitalize;
transition: .3s;
}

.footer .btn.btn-link::before {
position: relative;
content: "\f105";
font-family: "Font Awesome 5 Free";
font-weight: 900;
margin-right: 10px;
color: var(--primary);
}

.footer .btn.btn-link:hover {
color: var(--primary);
letter-spacing: 1px;
box-shadow: none;
}

.footer .copyright {
padding: 25px 0;
font-size: 15px;
border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer .copyright a {
color: var(--primary);
}

.footer .copyright a:hover {
color: var(--white);
}

.footer .footer-menu a {
margin-right: 15px;
padding-right: 15px;
color: rgba(255, 255, 255, .80);
border-right: 1px solid rgba(255, 255, 255, .30);
}

.footer .footer-menu a:hover {
color: var(--primary);
}

.footer .footer-menu a:last-child {
margin-right: 0;
padding-right: 0;
border-right: none;
}

/*** Pro Beach Bootstrap Color Overrides ***/
.text-primary {
color: var(--primary) !important;
}

.text-secondary {
color: var(--secondary) !important;
}

.text-dark {
color: var(--dark) !important;
}

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

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

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

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

.border-primary {
border-color: var(--primary) !important;
}

.border-secondary {
border-color: var(--secondary) !important;
}

.badge.bg-primary {
background-color: var(--primary) !important;
}

.badge.bg-secondary {
background-color: var(--secondary) !important;
}

.dropdown-item.active,
.dropdown-item:active {
color: var(--white);
background-color: var(--primary);
}

.pagination .page-link {
color: var(--secondary);
border-color: var(--border);
}

.pagination .page-link:hover {
color: var(--white);
background-color: var(--primary);
border-color: var(--primary);
}

.pagination .page-item.active .page-link {
color: var(--white);
background-color: var(--primary);
border-color: var(--primary);
}

/*** Selection Color ***/
::selection {
color: var(--white);
background: var(--primary);
}

::-moz-selection {
color: var(--white);
background: var(--primary);
}

/***** PRO BEACH HEADER LOGO FIX — TEK LOGO *****/

/* Masaüstündeki sol logo alanı */
@media (min-width: 992px) {
    .col-lg-3.bg-dark {
        background-color: #FFFFFF !important;
    }

    .col-lg-3.bg-dark > .navbar-brand {
        min-height: 118px;
        padding: 16px 28px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-color: #FFFFFF !important;
        border-right: 1px solid rgba(3, 33, 61, 0.08);
    }

    .col-lg-3.bg-dark > .navbar-brand img {
        width: auto;
        max-width: 230px;
        max-height: 86px;
        object-fit: contain;
        opacity: 1 !important;
        filter: none !important;
    }

    /* Mobil için yazılmış ikinci logoyu masaüstünde kesin olarak gizle */
    .navbar > .navbar-brand.d-lg-none {
        display: none !important;
    }
}

/* Menü alanı */
.navbar-dark {
    background-color: #03213D !important;
}

.navbar-dark .navbar-nav {
    padding-left: 20px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #FFFFFF !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #38A2D6 !important;
}

/* Rezervasyon butonu */
.navbar-dark .btn-primary {
    color: #FFFFFF !important;
    background-color: #38A2D6 !important;
    border-color: #38A2D6 !important;
}

.navbar-dark .btn-primary:hover,
.navbar-dark .btn-primary:focus {
    background-color: #187DAF !important;
    border-color: #187DAF !important;
}

/* Mobilde yalnızca navbar içindeki mobil logo görünsün */
@media (max-width: 991.98px) {
    .navbar > .navbar-brand.d-lg-none {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        min-height: 68px;
        padding: 8px 14px !important;
        margin: 0 !important;
        background-color: #FFFFFF !important;
    }

    .navbar > .navbar-brand.d-lg-none img {
        width: auto;
        max-width: 170px;
        max-height: 50px;
        object-fit: contain;
        opacity: 1 !important;
        filter: none !important;
    }

    .navbar-dark .navbar-nav {
        padding-left: 0;
    }
}
