/* =========================================
BOOK HERO
========================================= */

.book-hero{
height:80vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;

background:
linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
url("../images/hero-mountain-resort.jpg");

background-size:cover;
background-position:center;
}

.hero-content{
color:white;
max-width:800px;
}

.hero-content h1{
font-size:85px;
font-family:'Playfair Display',serif;
margin-bottom:25px;
}

.hero-content p{
font-size:20px;
color:#eee;
line-height:1.8;
}

/* HEADER */

.header,
#header{

position:fixed;
top:0;
left:0;
width:100%;

background:#0f3b2f;

z-index:9999;
box-shadow:
0 5px 20px rgba(0,0,0,.08);
transition:
transform .4s ease,
background .4s ease;
}

body{
background:#f5f3eb;

}
/* =========================================
AVAILABILITY SECTION
========================================= */

.availability-section{
width:90%;
max-width:1800px;
margin:100px auto;

display:grid;

grid-template-columns:
320px
600px
350px;

gap:30px;

align-items:start;
}


/* =========================================
COMMON CARDS
========================================= */

.availability-left,
.availability-calendar,
.slider-card{

background:#CAC6BA;

padding:35px;

border-radius:35px;

box-shadow:
0 20px 50px rgba(0,0,0,.08);

}


/* =========================================
LEFT CARD
========================================= */

.availability-left h2{

font-size:42px;

color:#063b2d;

margin-bottom:30px;

}


#propertySelect{

width:100%;

height:60px;

padding:0 20px;

font-size:16px;

border-radius:18px;

border:1px solid #ddd;

outline:none;

margin-bottom:35px;

}


#villaName{

font-size:38px;

color:#063b2d;

margin-bottom:10px;

}


#villaLocation{

color:gray;

margin-bottom:30px;

}


.amenity{

background:#f8f8f8;

padding:18px;

border-radius:18px;

margin-bottom:15px;

font-size:16px;

}


.price-box{

margin-top:30px;

background:#063b2d;

padding:25px;

border-radius:25px;

color:white;

}


#villaPrice{

font-size:50px;

color:#d4b06a;

margin-bottom:8px;

}


#priceType{

font-size:15px;

}


/* =========================================
CALENDAR CARD
========================================= */

.availability-calendar h2{

font-size:40px;

color:#063b2d;

margin-bottom:30px;

}


/* =========================================
BAY WINDOW SLIDER
========================================= */

.slider-wrapper{

display:flex;

justify-content:center;

align-items:center;

gap:25px;

}


.center-image{

width:340px;

height:520px;

overflow:hidden;

border-radius:40px;
transition:.6s;
box-shadow:

0 20px 50px rgba(0,0,0,.2);

}


.center-image img{

width:100%;

height:100%;

object-fit:cover;

transition:.5s;

}


.side-image{

width:120px;

height:260px;

overflow:hidden;

border-radius:30px;
transition:.6s;
opacity:.4;

}


.side-image img{

width:100%;
height:100%;
object-fit:cover;

transition:.5s;

}


.left-image{

transform:translateX(15px);

}

.right-image{

transform:translateX(-15px);

}
/* =========================================
CALENDAR HEADER
========================================= */

.calendar-nav{

display:flex;
justify-content:space-between;
align-items:center;

margin-bottom:35px;

}

.calendar-nav h2{

font-size:34px;

font-family:'Playfair Display',serif;

color:#063b2d;

}

.calendar-nav button{

width:50px;
height:50px;

border:none;

background:#063b2d;

color:white;

font-size:18px;

border-radius:50%;

cursor:pointer;

transition:.3s;

}

.calendar-nav button:hover{

background:#d4b06a;

}


/* =========================================
DAYS OF WEEK
========================================= */

.weekdays{

display:grid;

grid-template-columns:repeat(7,1fr);

gap:15px;

margin-bottom:20px;

}

.weekdays div{

text-align:center;

font-weight:600;

color:#666;

font-size:15px;

}


/* =========================================
CUSTOM CALENDAR GRID
========================================= */

#calendar{

display:grid;

grid-template-columns:repeat(7,1fr);

gap:15px;

}


/* =========================================
DAY CARD
========================================= */

.day{

height:110px;

background:#d8f8d0;

border-radius:22px;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

cursor:pointer;

transition:.4s;

box-shadow:
0 5px 20px rgba(0,0,0,.06);

}

.day:hover{

transform:translateY(-6px);

box-shadow:
0 15px 30px rgba(0,0,0,.12);

}


/* =========================================
DATE NUMBER
========================================= */

.date-number{

font-size:22px;

font-weight:700;

color:#063b2d;

margin-bottom:8px;

}


/* =========================================
PRICE
========================================= */

.price{

font-size:13px;

font-weight:600;

color:#2e7d32;

}


/* =========================================
BOOKED DAYS
========================================= */

.booked{

background:#e63946 !important;

}

.booked .date-number{

color:white;

}

.booked .price{

color:white;

}


/* =========================================
SELECTED DAY
========================================= */

.selected{

background:#3b82f6 !important;

transform:scale(1.05);

box-shadow:
0 15px 35px rgba(59,130,246,.35);

}

.selected .date-number{

color:white;

}

.selected .price{

color:white;

}


/* =========================================
EMPTY CELLS
========================================= */

.empty{

background:none;

box-shadow:none;

pointer-events:none;

}


/* =========================================
MOBILE
========================================= */

@media (max-width:768px){

/* HERO */

.hero-content h1{
font-size:45px;
}

.hero-content p{
font-size:16px;
}


/* AVAILABILITY */

.availability-left h2,
.availability-calendar h2{
font-size:30px;
}

#villaName{
font-size:28px;
}

#calendar{
gap:6px;
}

.day{
height:75px;
}

.date-number{
font-size:18px;
}

.price{
font-size:10px;
}


/* SLIDER */

.center-image{
width:200px;
height:300px;
}

.side-image{
width:80px;
height:140px;
}


/* BOOKING */

.booking-right{
padding:30px;
}

.booking-left h2{
font-size:36px;
}

#bookingImage{
height:350px;
}


/* FEATURES */

.feature-box{
padding:35px 25px;
}

.feature-box h3{
font-size:24px;
}


/* CTA */

.cta{
padding:70px 25px;
}

.cta h2{
font-size:36px;
}

.cta p{
font-size:15px;
}

.cta a{
padding:18px 35px;
font-size:16px;
}

}

/* =========================================
BOOKING SECTION
========================================= */

.booking-page{

width:90%;
max-width:1800px;

margin:120px auto;

}


/* CONTAINER */

.booking-container{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}


/* =========================================
LEFT SIDE
========================================= */

.booking-left h5{

color:#d4b06a;

letter-spacing:4px;

font-size:14px;

margin-bottom:20px;

}

.booking-left h2{

font-size:58px;

font-family:'Playfair Display',serif;

color:#063b2d;

line-height:1.2;

margin-bottom:25px;

}

.booking-left p{

color:gray;

line-height:2;

font-size:17px;

margin-bottom:40px;

}


#bookingImage{

width:100%;

height:520px;

object-fit:cover;

border-radius:35px;

box-shadow:

0 20px 50px rgba(0,0,0,.15);

transition:.6s;

}

#bookingImage:hover{

transform:scale(1.02);

}


/* =========================================
RIGHT SIDE
========================================= */

.booking-right{

background:white;

padding:50px;

border-radius:40px;

box-shadow:

0 20px 60px rgba(0,0,0,.08);

}


/* FORM */

#bookingForm{

display:flex;

flex-direction:column;

gap:22px;

}


/* INPUTS */

#bookingForm input,
#bookingForm select,
#bookingForm textarea{

padding:20px;

border:1px solid #e3e3e3;

border-radius:20px;

font-size:16px;

font-family:'Poppins';

outline:none;

transition:.3s;

box-shadow:

0 5px 15px rgba(0,0,0,.03);

}


#bookingForm input:focus,
#bookingForm select:focus,
#bookingForm textarea:focus{

border-color:#d4b06a;

box-shadow:

0 10px 30px rgba(212,176,106,.2);

}


/* LABELS */

#bookingForm label{

font-weight:600;

color:#063b2d;

font-size:15px;

}


/* TEXTAREA */

#bookingForm textarea{

resize:none;

height:150px;

line-height:1.8;

}

.payment-summary{
padding:22px;
border:1px solid rgba(15,59,47,.1);
border-radius:24px;
background:#f5f3eb;
}

.payment-summary div{
display:flex;
justify-content:space-between;
align-items:center;
gap:18px;
margin-bottom:8px;
}

.payment-summary span{
color:#64716c;
font-size:14px;
font-weight:500;
}

.payment-summary strong{
color:#063b2d;
font-size:28px;
font-family:'Playfair Display',serif;
white-space:nowrap;
}

.payment-summary p{
margin:0;
color:#7b8581;
font-size:13px;
line-height:1.6;
}

.payment-summary.is-ready{
background:#eef7ec;
border-color:rgba(15,59,47,.16);
}


/* BUTTON */

#bookNowBtn{

height:65px;

border:none;

border-radius:60px;

background:#063b2d;

color:white;

font-size:18px;

font-weight:600;

cursor:pointer;

transition:.4s;

}


#bookNowBtn:hover{

background:#d4b06a;

transform:translateY(-4px);

box-shadow:

0 20px 40px rgba(212,176,106,.3);

}


/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1100px){

.availability-section{
grid-template-columns:1fr;
}

.slider-card{
order:3;
}

.booking-container{
grid-template-columns:1fr;
}

.cta{
padding:90px 40px;
}

.cta h2{
font-size:48px;
}

}


@media(max-width:768px){

.book-hero{
height:auto;
min-height:520px;
padding:120px 0 78px;
background-position:center 56%;
}

.hero-content{
padding:0 16px;
max-width:720px;
}

.hero-content h1{
font-size:clamp(40px,10vw,54px);
line-height:1.08;
margin-bottom:18px;
}

.hero-content p{
font-size:16px;
line-height:1.7;
}

.availability-section{
width:calc(100% - 28px);
margin:72px auto 58px;
gap:18px;
}

.booking-right{

padding:30px;

}

.booking-left h2{

font-size:34px;

}

#bookingImage{

height:300px;

}

.book-features{
width:calc(100% - 28px);
margin:84px auto;
grid-template-columns:1fr;
gap:18px;
}

.feature-box{
padding:30px 22px;
border-radius:26px;
}

.feature-box h3{
font-size:24px;
}

.feature-box i{
font-size:42px;
}

.cta{
width:calc(100% - 28px);
margin:84px auto;
padding:70px 22px;
border-radius:28px;
}

.cta h2{
font-size:34px;
line-height:1.12;
}

.cta p{
font-size:15px;
margin-bottom:32px;
}

.cta a{
padding:16px 28px;
font-size:16px;
}

}

/* =========================================
WHY BOOK DIRECT
========================================= */

.book-features{

width:90%;
max-width:1800px;

margin:120px auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(300px,1fr));

gap:35px;

}


.feature-box{

background:white;

padding:50px 40px;

text-align:center;

border-radius:35px;

box-shadow:
0 15px 40px rgba(0,0,0,.08);

transition:.5s;

position:relative;

overflow:hidden;

}


.feature-box::before{

content:"";

position:absolute;

top:0;
left:-100%;

width:100%;
height:4px;

background:#d4b06a;

transition:.5s;

}


.feature-box:hover::before{

left:0;

}


.feature-box:hover{

transform:translateY(-10px);

box-shadow:
0 25px 60px rgba(0,0,0,.12);

}


.feature-box i{

font-size:55px;

color:#d4b06a;

margin-bottom:25px;

transition:.5s;

}


.feature-box:hover i{

transform:scale(1.15);

}


.feature-box h3{

font-size:30px;

font-family:'Playfair Display',serif;

color:#063b2d;

margin-bottom:20px;

}


.feature-box p{

color:gray;

line-height:1.9;

}


/* =========================================
CALL TO ACTION
========================================= */

.cta{

width:90%;
max-width:1400px;

margin:120px auto;

padding:120px 80px;

text-align:center;

background:white;

border-radius:50px;

box-shadow:
0 20px 60px rgba(0,0,0,.08);

position:relative;

overflow:hidden;

}


.cta::before{

content:"";

position:absolute;

top:50px;
left:50%;

transform:translateX(-50%);

width:120px;
height:4px;

background:#d4b06a;

border-radius:20px;

}


.cta h2{

font-size:65px;

font-family:'Playfair Display',serif;

color:#063b2d;

margin-bottom:30px;

}


.cta p{

max-width:700px;

margin:auto;

font-size:18px;

line-height:1.9;

color:gray;

margin-bottom:50px;

}


.cta a{

display:inline-block;

padding:22px 50px;

background:#25D366;

color:white;

text-decoration:none;

font-size:18px;

font-weight:600;

border-radius:60px;

transition:.4s;

box-shadow:
0 15px 40px rgba(37,211,102,.25);

}


.cta a:hover{

background:#063b2d;

transform:translateY(-5px);

}


/* =========================================
ANIMATIONS
========================================= */

#centerImg,
#leftImg,
#rightImg,
#bookingImage{

transition:
opacity .6s,
transform .6s;

}


/* =========================================
TABLET
========================================= */
@media(max-width:1100px){

.availability-section{
grid-template-columns:1fr;
}

.slider-card{
order:3;
}

.booking-container{
grid-template-columns:1fr;
}

.cta{
padding:90px 40px;
}

.cta h2{
font-size:48px;
}

}

/* =========================================
FINAL POLISH
========================================= */

html{

scroll-behavior:smooth;

}

img{

display:block;

max-width:100%;

}

button{

font-family:'Poppins',sans-serif;

}

input,
textarea,
select{

font-family:'Poppins',sans-serif;

}

.slider-card{
overflow:hidden;
}

.center-image img,
.side-image img{
display:block;
}

#bookNowBtn:disabled{
opacity:.7;
cursor:not-allowed;
transform:none;
box-shadow:none;
}

/* Final shared-component overrides. */
.availability-section{
display:none;
}

#header{
background:transparent;
box-shadow:none;
}

#header.sticky{
background:rgba(15,59,47,.82);
backdrop-filter:blur(16px);
-webkit-backdrop-filter:blur(16px);
box-shadow:0 10px 35px rgba(0,0,0,.12);
}

/* The shared booking widget replaces the legacy availability dashboard. */
.availability-section{
display:none;
}

.book-hero + .booking-widget-section{
margin-top:-72px;
}

#bookingForm input[readonly]{
cursor:pointer;
background:#fafbf9;
}

@media(max-width:700px){
.book-hero{
min-height:480px;
padding:112px 0 64px;
}

.book-hero + .booking-widget-section{
margin-top:-45px;
}

.booking-widget-section{
width:calc(100% - 20px);
margin:-40px auto 52px;
}

.booking-box{
padding:18px;
border-radius:24px;
gap:12px;
}

.booking-item label{
font-size:12px;
margin-left:4px;
}

.booking-item input,
.booking-item select,
.booking-widget-submit{
height:60px;
font-size:15px;
border-radius:18px;
}

.popup-calendar-card{
padding:20px 14px 16px;
border-radius:22px 22px 0 0;
}

.popup-header h2{
font-size:28px;
}

.calendar-months{
grid-template-columns:1fr;
gap:0;
padding:18px 0 12px;
}

.calendar-month:nth-child(2){
display:none;
}

.calendar-day{
min-height:54px;
border-radius:12px;
}

.calendar-day strong{
font-size:15px;
}

.calendar-day small{
font-size:8px;
}

.calendar-legend{
gap:14px 18px;
padding-top:18px;
font-size:12px;
}

}
