/* --- PRELOADER ANIMATION --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2A251F;
}

.preloader-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* You can change this image URL to one of your own high-res images */
    background-image: url('images/entry.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Soft, premium look */
    transform: scale(1.1); /* Starts slightly zoomed in */
}

.preloader-content {
    text-align: center;
    z-index: 10000;
}

.preloader-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3vw;
    font-weight: 700;
    color: #F5F5F5;
    opacity: 0;
}

.preloader-bar-container {
    width: 20vw;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 1.5rem auto 0;
}

.preloader-bar {
    width: 0%; /* Starts at 0 */
    height: 100%;
    background-color: #D9825F;
}

/* This is for the final curtain reveal effect */
.preloader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2A251F;
    transform: scaleY(0); /* Starts hidden */
    transform-origin: top;
}



/* --- GLOBAL STYES & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F9D46687;
    color: #2F2F2F;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0rem;
}

.website-container {
    width: 100%;
    max-width: none;
    background-color: #2A251F;
    padding: 0rem 0rem;
    border-radius: 2px;
    overflow-x: hidden; /* Prevents horizontal scroll from animations */
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- HEADER / NAVIGATION --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #F5F5F5;
    border-bottom: 1px solid #4a4a4a;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* --- NEW LOGO IMAGE STYLES --- */
.logo-image {
    height: 48px; /* Adjust height to match the original placeholder size */
    width: 48px; /* Maintain aspect ratio */
    border-radius: 50%; /* Optional: If you want a round logo */
    margin-right: -0.40rem; /* Maintain spacing */
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #F5F5F5;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #D9825F;
}

.btn-outline {
    border: 1.5px solid #888;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #F5F5F5;
    color: #2F2F2F;
}

/* --- NEW GRID LAYOUT --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 0.9fr;
    grid-template-rows: auto auto; /* Defines two rows */
    gap: 1.5rem;
    margin-top: 2.3rem;
}

.hero-text {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    align-self: start;
    transform: translateY(-50%);
    z-index: 20;
    padding: 0 2.5rem;
    text-align: center;
    pointer-events: none; /* Allows clicks to go through to the slider */
}

.hero-text h2 {
    font-size: 6rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    letter-spacing: -4px;
    max-width: none;
    text-align: center;
    display: inline-block;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-main {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    min-height: 500px;
    position: relative;
    z-index: 10;
    overflow: hidden; /* Crucial for slider */
}

/* --- Hero Slider CSS --- */

.hero-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* Background layer for the blur effect (always blurred) */
.slide-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(1.3);
    transform: scale(1.15); /* Prevents blurred edges */
    z-index: 1;
}

/* Foreground image (always sharp) */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.btn-primary {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: #ff0000;
    color: #FFF;
    border: none;
    border-radius: 18px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    z-index: 25;
}

.btn-primary .btn-icons {
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.btn-primary .btn-icons svg {
    stroke: #D9825F;
    width: 16px;
    height: 16px;
}

.bottom-cards {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 250px;
}

.card .icon-wrapper {
    margin-bottom: 1.5rem;
}

.card-green { background-color: #01b6b6; }
.card-green h3 { font-size: 2.2rem; font-weight: 900; line-height: 1.2; }
.card-pink { background-color: #ff8e8e; }
.card-beige { background-color: #EED6B2; }

.card-yellow {
    background-color: #FDCA3D;
    grid-column: 4 / 5;
    grid-row: 2 / 3;
    margin-top: -3rem;
    position: relative;
    z-index: 15;
}

.travel-guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.travel-guide-header h4 { margin-bottom: 0; }

.leaf-icon {
    background-color: #8CB387;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-yellow p { margin-bottom: 2rem; }

.card-yellow .btn-outline.dark {
    border-color: #2F2F2F;
    color: #2F2F2F;
    align-self: flex-start;
}

.card-yellow .btn-outline.dark:hover {
    background-color: #2F2F2F;
    color: #F4D06F;
}

.new-content-container { margin-top: 5rem; }

.services-section {
    background-color: #FDFBF8;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2rem;
    padding: 4rem 3rem;
    align-items: center;
    min-height: 620px;
}

.services-left p {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 2rem;
}

.services-links a {
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 2rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.services-links a:hover { color: #D9825F; }

.tour-guide-card {
    margin-top: 3rem;
    width: 100%;
    max-width: 320px;
    overflow: hidden; /* For zoom effect */
}

.tour-guide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    background-color: #e0e0e0;
    transition: transform 0.4s ease-in-out;
}

.services-center {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* --- Services Slider --- */
.services-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.services-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.services-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}
.slider-arrow:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }


.services-right { padding-left: 2rem; }

.services-right h2 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.services-right .offers-pill {
    background-color: #D9825F;
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.services-right p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 2rem;
}

.see-all-link {
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.see-all-link:hover { color: #D9825F; }

/* --- Cottages Section --- */
.cottages-section {
    background-color: #4A3F35;
    color: #F5F5F5;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.cottages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.73-5.139-1.691-8.233-2.928C65.888 13.278 60.318 12 50 12c-10.413 0-16.833 1.373-26.66 5.063l-1.767.662c-2.475.923-4.664 1.623-6.411 2.175L0 20h21.184z' fill='%23FFFFFF' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.card-booking, .card-events, .card-info {
    padding: .5rem;
    border-radius: 15px;
    z-index: 5;
}

.card-booking {
    background-color: #f2f2f2;
    overflow: hidden; /* for zoom effect */
}

.card-booking img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #fceeca;
    border-radius: .8rem;
    transition: transform 0.4s ease-in-out;
}

.card-events {
    background-color: #EED6B2;
    color: #2F2F2F;
    display: flex;
    flex-direction: column;
}

.card-events .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: .8rem;
    transition: transform 0.4s ease-in-out;
}

.card-events .image-zoom-hover { overflow: hidden; border-radius: .8rem; }

.card-events h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.card-events p { font-size: 0.9rem; line-height: 1.5; margin-bottom: auto; padding-bottom: 2rem; }

.card-events .btn-outline.dark {
    border-color: #2F2F2F;
    color: #2F2F2F;
    align-self: flex-start;
}
.card-events .btn-outline.dark:hover { background-color: #2F2F2F; color: #EED6B2; }

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #330a0a;
}
.card-info h3 { font-size: 2.2rem; font-weight: 900; line-height: 1.2; margin-bottom: 1rem; }
.card-info p { font-size: 1rem; line-height: 1.6; max-width: 300px; }
.card-info .daisy-flower { align-self: flex-end; margin-top: 1rem; }

.villa-succession-container { margin-top: 5rem; }

.villa-resorts-section {
    padding: 4rem 3rem;
    background-color: #FDFBF8;
}

.villa-content-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.villa-text-content .eyebrow-text {
    color: #D9825F;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.villa-text-content h2 { font-size: 2.8rem; font-weight: 900; line-height: 1.2; margin-bottom: 1.5rem; max-width: 450px; }
.villa-text-content p { font-size: 1rem; line-height: 1.6; max-width: 400px; margin-bottom: 2.5rem; }
.villa-text-content .btn-outline.dark { border-color: #2F2F2F; color: #2F2F2F; }
.villa-text-content .btn-outline.dark:hover { background-color: #2F2F2F; color: #fff; }

.villa-image-placeholder {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden; /* for zoom effect */
}

.villa-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    background-color: #e0e0e0;
    transition: transform 0.4s ease-in-out;
}

.price-card {
    position: absolute;
    left: 40%;
    bottom: -40px;
    transform: translateX(-50%);
    background-color: #ff8e8e;
    padding: 1rem;
    border: 1px solid #ff0000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    width: 280px;
}
.price-card .price-amount { display: flex; align-items: flex-start; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; }
.price-card .price-amount span { font-size: 3rem; font-weight: 900; line-height: 1; }
.price-card .price-amount p { font-weight: 700; margin-left: 0.25rem; }
.price-card .price-details { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid #eee; }
.price-card .price-details p { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; }
.price-card .price-details svg { width: 20px; height: 20px; stroke: #888; }
.price-card .price-footer p { font-size: 0.8rem; font-weight: 600; padding-top: 0.75rem; text-align: center; }

/* --- Succession Section --- */
.succession-section {
    background-color: #4A3F35;
    color: #F5F5F5;
    padding: 4rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.succession-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -200px;
    width: 500px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='0.5' d='M 50,50 m -40,0 a 40,40 0 1,1 80,0 M 50,50 m -30,0 a 30,30 0 1,1 60,0 M 50,50 m -20,0 a 20,20 0 1,1 40,0 M 50,50 m -10,0 a 10,10 0 1,1 20,0' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.1;
    transform: rotate(45deg);
}

.succession-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z'/%3E%3Cpath d='M12 2a10 10 0 0 0-2.02 19.539A10 10 0 0 1 12 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.15;
}

.experiences-content, .center-image-container, .succession-text { z-index: 5; }

.experiences-content h3 { font-size: 2rem; font-weight: 700; line-height: 1.4; max-width: 300px; margin-bottom: 2rem; }
.experiences-content h3 span { color: #D9825F; font-weight: 900; }
.experiences-content ul { list-style: none; }
.experiences-content li { font-weight: 700; letter-spacing: 1px; margin-bottom: 1.5rem; padding-bottom: 1.5rem; position: relative; display: block; }
.experiences-content li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0,5 Q25,-5 50,5 T100,5' stroke='%23D9825F' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100%;
}

/* --- Center Image Container --- */
.center-image-container {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Renamed from center-image-cluster */
}

.center-image-container .back-image,
.center-image-container .front-image {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.center-image-container .back-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 12px solid white;
    border-radius: 8px;
    transform: rotate(-5deg);
    background-color: #5a4e42;
}

.center-image-container .front-image {
    position: absolute;
    width: 50%;
    top: -30px;
    left: 50%;
    transform: translateX(-60%);
    background-color: #c4b9ad;
    border-radius: 4px;
}

.succession-text { padding-left: 2rem; }
.succession-text h2 { font-size: 2.8rem; font-weight: 900; line-height: 1.2; margin-bottom: 1.5rem; }
.succession-text p { font-size: 1rem; line-height: 1.6; max-width: 400px; }

/* --- Blog Section --- */
.blog-section { background-color: #ffffff; padding: 5rem 4rem; }
.blog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.blog-title .eyebrow-text { color: #D9825F; font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 0.5rem; display: block; }
.blog-title h2 { font-size: 2.8rem; font-weight: 900; line-height: 1.2; }
.blog-posts-container { display: flex; overflow-x: auto; gap: 1.5rem; padding-bottom: 1.5rem; }
.blog-posts-container { scrollbar-width: thin; scrollbar-color: #AE9F90 #e0d9d2; }
.blog-posts-container::-webkit-scrollbar { height: 12px; }
.blog-posts-container::-webkit-scrollbar-track { background: #e0d9d2; border-radius: 10px; border: 1px solid #d1c8c0; }
.blog-posts-container::-webkit-scrollbar-thumb { background: #AE9F90; border-radius: 10px; }
.blog-posts-container::-webkit-scrollbar-thumb:hover { background: #9a8b7c; }

.blog-post-card { flex: 0 0 calc(33.333% - 1rem); background-color: #fff; border: 1px solid #EAE5E1; }
.blog-post-card .image-zoom-hover { overflow: hidden; }
.blog-post-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background-color: #ffffff;
    transition: transform 0.4s ease-in-out;
}
.post-info { padding: 1.5rem; }
.post-date { font-size: 0.9rem; color: #555; margin-bottom: 1rem; font-weight: 600; }
.post-title { font-size: 1.4rem; font-weight: 700; line-height: 1.4; }

/* --- Global Image Zoom Hover Effect --- */
.image-zoom-hover:hover img {
    transform: scale(1.1);
}


/* --- NEW CONTENT SECTIONS (STAFF & FORT) --- */
.signature-staff-container { margin-top: 5rem; }

.content-section {
    padding: 4rem; /* Reduced padding for a tighter look */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85vh; /* Set a consistent height for both sections */
    box-sizing: border-box;
}

#kumbhalgarh-fort {
    background-color: #FDFBF8; /* White Theme */
    color: #2F2F2F;
}

#signature-staff {
    background-color: #4A3F35; /* Brown Theme */
    color: #F5F5F5;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3.5rem; /* Increased margin for better separation */
}

.showcase-block {
    display: flex;
    align-items: center;
    gap: 4rem; /* Increased gap for more space between text and image */
    width: 100%;
    max-width: 1200px; /* Constrains the width for longer text lines */
    margin: 0 auto; /* Centers the block */
}

.showcase-image {
    flex: 0 0 500px; /* Fixed width for the image container */
    height: 500px;
    border-radius: 15px; /* Softer corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.showcase-text {
    flex: 1; /* Allows the text block to fill remaining space */
}

.showcase-text h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.showcase-text p {
    font-size: 1rem;
    line-height: 1.6; /* Reduced line-height for tighter text */
    margin-bottom: 1rem; /* Added for spacing between paragraphs */
}

/* For the reversed layout in the staff section */
.showcase-block.reverse {
    flex-direction: row-reverse;
}


/* --- FOOTER --- */
.footer-foot { margin-top: 5rem; }
footer { background-color: #2A251F; color: #EAE5E1; font-family: 'Montserrat', sans-serif; }
.animated-svg-bar { width: 100%; overflow: hidden; line-height: 0; }
.animated-svg-bar svg { position: relative; display: block; width: calc(100% + 1.3px); height: 60px; animation: move-wave 25s linear infinite; }
@keyframes move-wave {
  0% { transform: translateX(0); }
  50% { transform: translateX(-85px); }
  100% { transform: translateX(0); }
}
.footer-top-bar { display: flex; justify-content: space-between; align-items: center; padding: 2rem 4rem; border-bottom: 1px solid #4a4a4a; }
.booking-callout { display: flex; align-items: center; gap: 1.5rem; }
.booking-callout h3 { font-size: 1.8rem; font-weight: 800; }
.bouquet-icon { width: 50px; height: auto; }
.booking-contact { display: flex; align-items: center; gap: 1.5rem; font-weight: 600; }
.btn-primary-footer { background-color: #D9825F; color: #fff; padding: 0.8rem 1.8rem; border-radius: 5px; text-decoration: none; font-weight: 700; transition: background-color 0.3s ease; }
.btn-primary-footer:hover { background-color: #c57151; }
.main-footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 3rem; padding: 4rem; align-items: start; text-align: left; }
.footer-column { display: flex; flex-direction: column; }
.footer-column h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: 1px; }
.footer-column a { color: #b0a9a1; text-decoration: none; display: block; margin-bottom: 0.8rem; transition: color 0.3s ease; }
.footer-column a:hover { color: #D9825F; }
.center-column { align-items: center; text-align: center; transform: translateX(-50px); }
.center-column .footer-logo { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.center-column .footer-logo h4 { margin: 0; font-size: 1.5rem; color: #fff; }
/* --- Footer Map Placeholder (Final Version) --- */

/* Use a more specific selector to avoid conflicts */
.footer-column .map-placeholder {
    width: 100%;
    height: 170px; /* Height ko layout ke hisaab se adjust kiya hai */
    border-radius: 12px; /* Thode aur curve wale corners */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out; /* Sabhi effects ke liye smooth transition */
    transform: scale(1); /* Hover effect ke liye initial state */
    position: relative;
}

/* Hover effect ko aur behtar banaya gaya hai */
.footer-column .map-placeholder:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: scale(1.03) translateY(-5px); /* Halki si lift-up effect */
}

.footer-column .map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.social-icons { display: flex; gap: 1rem; margin-top: 1rem; }
.social-icons a svg { width: 24px; height: 24px; fill: #b0a9a1; transition: fill 0.3s ease; }
.social-icons a:hover svg { fill: #D9825F; }
.quick-booking-bar { display: flex; justify-content: space-around; align-items: center; background-color: #FDFBF8; color: #333; padding: 1.25rem; margin: 0 4rem 3rem 4rem; border-radius: 10px; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid #ddd; }
.quick-booking-bar:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.booking-field { text-align: left; padding: 0 2rem; border-right: 1px solid #ccc; flex-grow: 1; }
.booking-field:last-of-type { border-right: none; }
.booking-field span { font-size: 0.8rem; font-weight: 600; color: #777; text-transform: uppercase; }
.booking-field p { font-size: 1rem; font-weight: 500; margin: 0.25rem 0 0 0; display: flex; align-items: center; gap: 0.5rem; }
.booking-action { display: flex; align-items: center; background-color: #EED6B2; padding: 1.5rem 2.5rem; border-radius: 8px; font-weight: 700; white-space: nowrap; }
.footer-bottom { text-align: center; padding: 1.5rem 4rem; border-top: 1px solid #4a4a4a; font-size: 0.9rem; color: #b0a9a1; }




/*******************************************************/
/****************** FINAL RESPONSIVE STYLES ******************/
/*******************************************************/

/* By default, the new mobile hero text is hidden on desktops. */
.hero-text-mobile {
    display: none;
    text-align: center;
    color: #F5F5F5;
}

.hero-text-mobile h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    min-height: 2.6em; /* Prevents layout jump during typing */
}

/* Blinking cursor for the typing animation */
.typing-cursor {
    display: inline-block;
    width: 4px;
    height: 1em; /* Scales with the font size */
    background-color: #D9825F;
    margin-left: 8px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { background-color: transparent; }
    50% { background-color: #D9825F; }
}


/* -----------------------------
  Breakpoint: Laptops & Small Desktops (~1280px)
----------------------------- */
@media (max-width: 1280px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto auto;
    }

    .bottom-cards {
        grid-column: 1 / -1;
    }

    .card-yellow {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
        margin-top: 0;
    }

    .blog-post-card {
        flex: 0 0 calc(50% - 1rem);
    }

    .showcase-block {
        gap: 2rem;
    }

    .showcase-image {
        flex-basis: 400px;
        height: 400px;
    }
}


/* -----------------------------
  Breakpoint: Tablets (~1024px)
----------------------------- */
@media (max-width: 1024px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 0.5rem;
    }

    .logo { order: 1; }
    .btn-outline { order: 2; }

    /* Hide original text and show the new one */
    .hero-text { display: none; }
    .hero-text-mobile {
        display: block;
        grid-column: 1 / -1; /* Make it span full width */
        padding: 2rem 1rem;
    }
    .hero-text-mobile h2 { font-size: 4.5rem; }

    .content-grid {
        /* Adjust grid to correctly place items */
        grid-template-columns: 1fr 1fr; /* Two columns for tablet */
        grid-template-rows: auto auto auto auto; /* Define rows for slider, text, cards */
    }
    .hero-main { grid-column: 1 / -1; }
    .bottom-cards {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
    .card-green { grid-column: 1 / -1; }
    .card-yellow { grid-column: 1 / -1; margin-top: 0; }

    .services-section,
    .cottages-section,
    .succession-section,
    .villa-content-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .services-right, .succession-text {
        padding-left: 0;
        text-align: center;
    }
    .services-right p, .services-left p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .services-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        position: static;
        transform: none;
        margin: 2rem auto 0;
        width: 90%;
        max-width: 320px;
    }

    .center-image-container .back-image { height: 400px; }

    .showcase-block, .showcase-block.reverse {
        flex-direction: column;
        text-align: center;
    }

    .showcase-image {
        width: 100%;
        flex-basis: auto;
    }

    .main-footer-content {
        grid-template-columns: 1fr 1fr;
        padding: 3rem 2rem;
    }
    .center-column {
        grid-column: 1 / -1;
        transform: none;
    }

    .quick-booking-bar {
        margin: 0 2rem 2rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .booking-field {
        flex-basis: 45%;
        border-right: none;
    }
    .booking-action {
        flex-basis: 100%;
        justify-content: center;
    }
    .card {
        padding: 2.5rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 15px; /* Added for rounded corners on all cards */
    }

}


/* -----------------------------
  Breakpoint: Mobile Devices (~768px)
----------------------------- */
@media (max-width: 768px) {
    body { padding: 0; }

    header nav, header .btn-outline { display: none; }
    header { justify-content: center; }

    .content-grid, .bottom-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    /* Reset grid positions for single column flow */
    .hero-main, .hero-text-mobile, .bottom-cards, .card-yellow {
        grid-column: auto;
        grid-row: auto;
    }

    .hero-text-mobile h2 { font-size: 10vw; }
    .hero-main { min-height: 400px; }
    .card {
        padding: 1.5rem;
        border-radius: 15px; /* Added for rounded corners on all cards */
    }
    .card-green h3 { font-size: 1.8rem; }

    .services-section, .cottages-section, .succession-section, .villa-resorts-section, .blog-section, .content-section {
        padding: 2rem 1rem;
    }

    .services-right h2, .villa-text-content h2, .succession-text h2, .blog-title h2, .section-title {
        font-size: 2rem;
    }

    .services-center { height: 350px; }
    .blog-post-card { flex: 0 0 80%; }

    .footer-top-bar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }

    .main-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column { align-items: center; }

    .quick-booking-bar {
        flex-direction: column;
        align-items: stretch;
        margin: 0 1rem 2rem;
    }
    .booking-field {
        padding: 0.5rem 0;
        text-align: center;
    }
    .booking-field p { justify-content: center; }
}


/* -----------------------------
  Breakpoint: Small Mobile Devices (~480px)
----------------------------- */
@media (max-width: 480px) {
    .preloader-logo { font-size: 8vw; }
    .preloader-bar-container { width: 50vw; }

    .btn-primary {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        gap: 0.5rem;
    }
    .btn-primary .btn-icons {
        width: 30px;
        height: 30px;
    }

    .services-right h2, .villa-text-content h2, .succession-text h2, .blog-title h2, .section-title {
        font-size: 1.8rem;
    }

    .card-green h3, .card-info h3 { font-size: 1.6rem; }
    .footer-top-bar { padding: 1.5rem 1rem; }
    .booking-callout h3 { font-size: 1.5rem; }
    .booking-contact span { font-size: 0.9rem; }
    .quick-booking-bar { padding: 1rem; }
    .booking-action { padding: 1rem; }
}

/* =================================================================== */
/* ============ FINAL OVERRIDE - HEADER/MAIN GAP FIX ============ */
/* =================================================================== */

@media (max-width: 1024px) {
  
  /* 🎯 Naya 'fixed' Header Code */
header {
    position: fixed; /* 'sticky' se 'fixed' mein badla */
    top: 0;
    left: 0;
    width: 100%; /* Yeh zaruri hai, taaki header poori screen-width le */
    border-radius: 20px;
    z-index: 1001; /* Isse header hamesha upar rahega */
    background-color: #2A251F;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

/* 🎯 Is naye code ko add karein */
main.content-grid {
    /* Header ki height ke barabar padding, taaki content header ke neeche se shuru ho */
    padding-top: 5.6rem; 
    margin-top: 0 !important;
}
}


/* =================================================================== */
/* ==================    3D MOBILE MENU STYLES    ================== */
/* =================================================================== */

/* Hamburger Icon Styling */
#hamburger-menu {
    width: 30px;
    height: 25px;
    display: none; /* Hidden on desktop by default */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001; /* Ensures it's above the menu panel */
    position: relative;
}

/* REPLACE the old #hamburger-menu .bar styles with this */
#hamburger-menu .bar {
    height: 3px;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 3D Shadow */
    margin-left: auto; /* Aligns bars to the right */
    transform-origin: right center; /* Pivots animation from the right */
}

/* Style each bar individually */
#hamburger-menu .bar:nth-child(1) {
    width: 100%;
    background-color: #F5F5F5; /* White */
}

#hamburger-menu .bar:nth-child(2) {
    width: 80%;
    background-color: #D9825F; /* Accent Orange */
}

#hamburger-menu .bar:nth-child(3) {
    width: 60%;
    background-color: #EED6B2; /* Beige */
}

/* 'X' animation for the open state */
#hamburger-menu.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(-4px, -5px);
    width: 100%; /* Makes a symmetrical 'X' */
}

#hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

#hamburger-menu.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(-4px, 5px);
    width: 100%; /* Makes a symmetrical 'X' */
}

/* Mobile Menu Panel (Swinging from LEFT) */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    /* New attractive background with low-opacity image */
    background-image: linear-gradient(rgba(58, 50, 42, 0.70), rgba(58, 50, 42, 0.98)), url('images/entry.webp');
    background-size: cover;
    background-position: center right;
    
    z-index: 1000;
    visibility: hidden;
    transform-style: preserve-3d;
    transform-origin: left center;
}

#mobile-menu .menu-content {
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* thoda controlled spacing */
    height: auto; /* full height mat le */
    justify-content: flex-start; /* sab sequential upar se niche */
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-mobile-book {
    margin-top: 1.5rem; /* chhota sa gap menu links ke baad */
}

.mobile-nav a {
    font-size: 1.3rem; /* Adjusted for better spacing */
    font-weight: 500; /* A more elegant font weight */
    letter-spacing: 1px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    padding: 1rem 0; /* Vertical spacing */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Boundary Line */
    transition: color 0.3s ease;
}

.mobile-nav a:nth-child(odd) {
    color: #D9825F; /* Accent Orange */
}
.mobile-nav a:nth-child(even) {
    color: #F5F5F5; /* White */
}
.mobile-nav a:hover {
    color: #EED6B2; /* Beige on hover */
}
.mobile-nav a:last-child {
    border-bottom: none; /* Remove border from the last item */
}

.btn-mobile-book {
    padding: 1rem 1.5rem;
    background-color: #D9825F;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    opacity: 0; /* Initially hidden for animation */
    transform: translateY(30px); /* Initially moved down for animation */
}

/* Utility class to prevent background scrolling when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* =================================================================== */
/* ==================    MEDIA QUERY FOR MOBILE    =================== */
/* =================================================================== */

@media (max-width: 768px) {
    /* Main header container adjustments */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide desktop navigation elements */
    header nav,
    header .btn-outline {
        display: none;
    }
    
    /* Force logo to be the first item */
    .logo {
        order: 1;
    }
    
    /* Show hamburger menu and force it to be the last item */
    #hamburger-menu {
        display: flex;
        order: 2;
    }
}

/* stickyfooter */
.floating-icons {
  position: fixed;
  bottom: 250px;
  left: 10px;
  right: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.floating-icons a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #333;
  /* Default Background */
  transition: 0.3s ease-in-out;
}

.floating-icons a:hover {
  background-color: #555;
}

/* Different Colors for Different Icons */
.floating-icons a:nth-child(1) {
  background-color: #25D366;
}

/* WhatsApp */
.floating-icons a:nth-child(2) {
  background-color: #1877F2;
}

/* Facebook */
.floating-icons a:nth-child(3) {
  background-color: #E4405F;
}

/* Instagram */
.floating-icons a:nth-child(4) {
  background-color: #34A853;
}

/* Mobile View */
@media (max-width: 768px) {
  .floating-icons {
    bottom: 20px;   /* mobile me bilkul niche */
    right: 10px;    /* same right margin */
    left: auto;
  }
}