/* ================================
HOME SECTION – Base Layout
================================ */
body {
    background: #fcf6dc;
   
}
.home-section {
    background: transparent;/*#fae9c0;*/
    min-height: 60vh;
    padding: 60px 20px;
    text-align: center;
    font-family: system-ui, sans-serif;

    /* Smooth fade + slide on page load */
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: softIntro 1.8s ease forwards;
    animation-delay: 0.1s; /* tiny delay for smooth trigger */
}

.card7 {
    max-width: 900px;        /* control width on PC */
    margin: 40px auto;       /* center + top-bottom space */
    padding: 20px;

    background: #fffdf9;
    border-radius: 18px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
}
/* ================================
Welcome Title Animation – upgraded
================================ */
.welcome-title {
    font-size: 38px;
    font-weight: 700;
    color: #954003; /* brown color */
    font-family: "Comic Comic Sans MS", cursive, sans-serif;

    opacity: 0;
    transform: translateY(20px);
    
}

.welcome-subtitle {
    font-size: 20px;
    color: #753003;
    margin-top: 8px;
    font-family: "Comic Sans MS", cursive, sans-serif;

    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFloat 1.6s ease forwards;
    animation-delay: 0.8s;
}

/* ================================
Card Grid
================================ */

/* Cards */
.card {
    background: #fffdf9;/*#fcfce7;*/
    border-radius: 22px;
    padding: 18px;
    max-width: 400px;
    align: center;
    text-align: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    transition: 0.3s ease;

    
}

.card:nth-child(1) { animation-delay: 1.1s; }
.card:nth-child(2) { animation-delay: 1.3s; }
.card:nth-child(3) { animation-delay: 1.5s; }
.card:nth-child(4) { animation-delay: 1.7s; }
.card:nth-child(5) { animation-delay: 1.9s; }
.card:nth-child(6) { animation-delay: 2.1s; }

.card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
}

.card p {
    margin-top: 12px;
    font-size: 17px;
    font-weight: 500;
    color: #2e2e2e;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}

/* ================================
Responsive
================================ */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

/* ================================
Keyframes
================================ */
@keyframes softIntro {
    0% { opacity: 0; transform: translateY(40px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes titleFloat {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes subtitleFloat {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes cardReveal {
    0% { opacity: 0; transform: translateY(60px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
/*fontload*/
.cursive {
    font-family: 'Dancing Script', cursive;
}


/* from this end all new thing page redesign fuuly */
/* Hero Section */
.hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* Content */
.hero-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: white;
}

/* Heading */
.hero-content h1 {
    font-size: 50px;
    font-weight: bold;
    margin: 0;
}

/* Button */
.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    background: #FFA500; /* Mango */
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: #e59400; /* Slightly darker mango */
}

/*parlax*/
.parallax-section {
  height: 400px;

  /*  THIS FIXES SIDE GAP */
   width: 100%;
  margin: 0;   /* remove negative margins */

  background: url('/images/devgadbeach1.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.parallax-2 {
  background: url('/images/IMG_20260220_163226.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

/* Facilities Section */
.facilities-section {
    background: transparent;   /* remove peach *//* soft peach */
    padding: 10px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.facilities-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #5a3e2b; /* warm brown */
}

.facilities-tagline {
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 16px;
    color: #6b4b3a;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
    justify-content: center;
    gap: 30px;
}

.facility-item {
    background: #fffdf9; /* soft cream with orange tint */
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f3e5d8;  /* subtle cream border */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;   /* vertical */
    align-items: center;      /* center horizontally */
    justify-content: space-between;  /* important */
    height: 140px;   /* fixed height = all same */
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
/*new thing */


.facility-item img {
    width: 100%;     /* control size */
    height: 100px;
    object-fit: contain;  /* prevents stretch */
}
.facility-name {
    font-family: "Comic Neo";
    font-size: 13px;
    line-height: 1.3;
    color: #7a3e0c;    /* warm brown */
    margin: 5px;
    min-height: 28px;  /* prevents height jump for long names */
    font-weight: 600;
}
/*slow appearence facilities */
.facility-item {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 2.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 2.6s cubic-bezier(0.22, 1, 0.36, 1);

}

.facility-item.show {
    opacity: 1;
    transform: translateY(0);
}





/* Desktop – always 4 */
@media (min-width: 769px) {
    .facilities-grid {
        grid-template-columns: repeat(4, 150px);
        justify-content: center;
    }
}

/* Mobile – always 2 */
@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 140px);
        justify-content: center;
    }
}


/* SECTION cta*/
.cta-section {
    position: relative;
    height: 420px;

    width: 100%;
    margin: 0;

    background-image: url('/images/redwalloutcafe1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

/* Background Image */
.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay */
.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Content */
.cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;   /* center vertically */
    gap: 120px;
    text-align: center;
    height: 100%;          /* important */
}

/* Titles */
.cta-box h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 28px;
}

/* Contact buttons row FIX */
.cta-box:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Button base */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 26px;
    margin: 8px 0;

    background: #fff;             /* white bg */
    color: #5a3e2b;               /* brown text */
    border: 2px solid #5a3e2b;    /* brown border */

    text-decoration: none;
    border-radius: 12px;          /* soft button corners */
    font-weight: 500;

    transition: 0.3s ease;
}

/* Hover */
.action-btn:hover {
    background: #5a3e2b;
    color: #fff;
}

/* Icon */

.btn-icon2 {
    width: 22px;          /* adjust for square */
    height: 21px;
    margin-right: 0px;
    flex-shrink: 0; 
}

/* Desktop - WhatsApp & Call in one row */
@media (min-width: 769px) {
    .cta-box:nth-child(2) .action-btn {
        margin: 8px 6px;
    }

    .cta-box:nth-child(2) {
        flex-direction: column;
    }

    .cta-box:nth-child(2) .action-btn {
        display: inline-flex;
    }
}
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* Mobile */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        gap: 60px;
        overflow: hidden; /* <<<  THIS */
    }
}





/* Rooms Preview Section */
/* Rooms Section */
.rooms-preview {
    padding: 100px 0;
}

/* Section Title */
.rooms-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    
}

/* Image Wrapper */
.room-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
        max-width: 1200px;
    margin: 0 auto;
    justify-content: center;

}

/* Mobile */
.room-box {
    height: 55vh;
}

/* Desktop */
@media (max-width: 768px) {
    .room-box {
        height: 400px;   /* fixed height instead of vh */
        max-width: 400px;
        margin: 20px 12px;   /*  left-right gap from screen */
        padding: 0px;
        border-radius: 12px;
        overflow: hidden;
        
    }
    .room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    }
    
    /* Overlay */
    .room-overlay {
        position: absolute;
        inset: 0;
        border-radius: 0px;
        background: rgba(0, 0, 0, 0.35);
        
    }
}

/* Image */
.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay */
.room-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/*new add on */
.hero-overlay, .room-overlay {
    background: rgba(0,0,0,0.25); /* lighter black tint */
    /* optional: subtle gradient for soft glow */
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.02));
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}


/* Button Position */
.room-content {
    position: absolute;
    bottom: 40px;
    right: 40px;
}

/* Button Style */
.room-btn {
    display: inline-block;
    padding: 14px 30px;
    background: #FFA500; /* mango */
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
    transition: 0.3s ease;
}

.room-btn:hover {
    background: #e59400;
}

/*section galllery */
.gallery-preview {
    padding: 80px 0;
    text-align: center;
}

.gallery-title {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.gallery-btn-wrap {
    margin-top: 40px;
}

.gallery-btn {
    padding: 10px 24px;
    background: #FFA500;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.gallery-btn:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 220px;
    }
}

/*whychoose us section*/
/* why choose us section */
.why-choose {
    position: relative;
    padding: 70px 6%;
    max-width: 700px;       /* restrict width */
    margin: 80px auto;       /* center it */
    border-radius: 19px;     /* soft corners */
    overflow: hidden;
}

/* Background image */
.why-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.88);
}


/* Slight dull overlay */
.why-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    z-index: 1;
}

/* Text block (30% left like you wanted) */
.why-content {
    position: relative;
    z-index: 2;
    width: 40%;
    margin-left: 30%;
    color: #fff;
    text-align: left;
}

/* Heading */
.why-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Bullet list */
.why-list {
    margin: 0;
    padding-left: 18px;
}

.why-list li {
    font-size: 18px;
    margin-bottom: 14px;
    line-height: 1.6;
}
.wide-content {
    position: relative;
    z-index: 2;
    width: 70%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

/* Mobile fix */
@media (max-width: 768px) {

    .why-choose {
        padding: 80px 8%;
        min-height: auto;
    }

    .why-content {
        width: 100%;
        margin-left: 0;
    }

    .why-content h2 {
        font-size: 28px;
    }

    .why-list li {
        font-size: 16px;
    }
}
@media (min-width: 1200px) {

    .why-choose {
        padding: 70px 12%;   /* reduce vertical space */
    }

    .why-content h2 {
        font-size: 34px;     /* slightly tighter */
    }

    .why-list li {
        font-size: 17px;
        margin-bottom: 10px;
    }
}
/*near by destinations */
.destinations-final {
    padding: 100px 0%;
}

.dest-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 80px;
}

.dest-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.dest-row.reverse {
    flex-direction: row-reverse;
}

/* Image independent */
.dest-img {
    flex: 1;
}

.dest-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 14px;
}

/* Card only for text */
.dest-info-card {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.dest-info-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.dest-info-card p {
    color: #666;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 992px) {
    .dest-row,
    .dest-row.reverse {
        flex-direction: column;
    }

    .dest-img img {
        height: 260px;
    }
}
/*new thing for nearby dest */
/* Nearby Destinations – clean mobile layout */
@media (max-width: 768px) {

.dest-row,
.dest-row.reverse {
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.dest-img img {
    height: 230px;
}
.dest-info-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 22px;
    text-align: center;
    box-sizing: border-box;
}


}


/*here new animation upgradee*/
.facility-item,
.dest-row,
.gallery-grid img,
.room-box,
.why-choose,
.welcome-title {
    opacity: 0;
    transform: translateY(70px) scale(.97);
    transition: all 1.8s cubic-bezier(.22,1,.36,1);
}

.facility-item.show,
.dest-row.show,
.gallery-grid img.show,
.room-box.show,
.why-choose.show,
.cta-section.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.welcome-title.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

html {
scroll-behavior: smooth;
}

.welcome-title,
.destinations-final h1,
.dest-info-card h3,
.why-choose h2 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.card {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: all 1.6s cubic-bezier(.22,1,.36,1);
}

/* show class triggered by JS */
.card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delays */
.card:nth-child(1).show { transition-delay: 0.1s; }
.card:nth-child(2).show { transition-delay: 0.3s; }
.card:nth-child(3).show { transition-delay: 0.5s; }
.card:nth-child(4).show { transition-delay: 0.7s; }
.card:nth-child(5).show { transition-delay: 0.9s; }
.card:nth-child(6).show { transition-delay: 1.1s; }

/* CTA animation */

.cta-content-left,
.cta-content-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.cta-content-left {
    transform: translateX(-80px);
}

.cta-content-right {
    transform: translateX(80px);
}

.cta-content-left.show,
.cta-content-right.show {
    opacity: 1;
    transform: translateX(0);
}
.destinations-final h1 {
    text-align: center;
    margin-bottom: 60px;
}
