*,
.about-container,
::after,
::before {
    box-sizing: border-box
}

.room-gallery h1,
.room-gallery h2 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .5)
}

.about-text p,
.amenities h1,
.room-gallery h1 {
    font-family: "Brush Script MT", cursive
}

.amenities h1::after,
.room-gallery h1::after {
    bottom: -8px;
    height: 2px;
    display: block;
    left: 50%;
    content: ""
}

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif
}

body,
html {
    height: 100%
}

.back-video {
    position: relative;
    right: 0;
    bottom: 0
}

@media (min-aspect-ratio:16/9) {
    .back-video {
        width: 100%;
        height: auto
    }
}

@media (max-aspect-ratio:16/9) {
    .back-video {
        width: auto;
        height: 100%
    }
}

.booking-form-container {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center
}

.horizontal-booking-form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    background: #fff;
    padding: 18px 25px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    flex-wrap: wrap;
    max-width: 1000px
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 200px;
    min-width: 180px
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333
}

.about-text h1,
.about-text h2,
.about-text p {
    margin-bottom: 1rem;
    text-align: center
}

.form-group input[type=date],
.form-group select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    color: #000;
    background: #fff;
    outline: 0;
    transition: border-color .2s, box-shadow .2s
}

.form-group input[type=date]:focus,
.form-group select:focus {
    border-color: #f0980a;
    box-shadow: 0 0 3px rgba(240, 152, 10, .5)
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23666" height="14" viewBox="0 0 24 24" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 32px
}

.horizontal-booking-form button {
    padding: 10px 20px;
    min-width: 140px;
    background: #f0980a;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .3s
}

.horizontal-booking-form button:hover {
    background: #333
}

.about-us {
    padding: 1rem;
    background-color: #fff
}

.horizontal-a {
    width: 50%;
    border: 0;
    border-bottom: 1px solid #080808;
    margin: 20px auto
}

.about-image,
.about-image img {
    border-radius: 10px;
    max-width: 500px
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 1.5rem;
    flex-wrap: wrap
}

.about-image img {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    width: 100%;
    transition: transform .4s, filter .4s;
    display: block
}

.about-text {
    flex: 1;
    max-width: 500px;
    text-shadow: 2px 2px 3px #fbfafa
}

.about-text h1 {
    font-size: 3rem;
    color: #101215
}

.about-text h2 {
    font-size: 2rem;
    color: #f0980a
}

.about-text p {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1717;
    line-height: 1.6
}

@media (max-width:768px) {
    .back-video {
        width: 100%;
        height: auto;
        object-fit: cover
    }

    .horizontal-booking-form {
        align-items: stretch;
        gap: 12px;
        padding: 15px
    }

    .form-group,
    .horizontal-booking-form button {
        width: 100%
    }

    .about-container {
        flex-direction: column;
        text-align: center
    }

    .about-text h2 {
        font-size: 1.5rem
    }

    .about-text p {
        font-size: .95rem
    }
}

@media (max-width:480px) {
    .about-us {
        padding: .8rem
    }

    .about-text h1 {
        font-size: 1.6rem
    }

    .about-text h2 {
        font-size: 1.2rem
    }

    .about-text p {
        font-size: .9rem
    }
}

.about-image {
    position: relative;
    overflow: hidden
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1)
}

.image-overlay {
    position: absolute;
    bottom: 0;
    background: #fff;
    color: #151515;
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    opacity: 0;
    transition: opacity .3s
}

.about-image:hover .image-overlay {
    opacity: 1
}

.room-gallery {
    padding: 2rem;
    text-align: center;
    background-color: #6f6d00;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .826) 1px, transparent 1px);
    background-size: 20px 20px;
    background-repeat: repeat
}

.cards,
.imgBx {
    background: #fff;
    transition: .5s;
    width: 100%;
    overflow: hidden
}

.room-gallery h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff9d00
}

.room-gallery h1 {
    position: relative;
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: 500;
    color: #fff;
    display: inline-block
}

.room-gallery h1::after {
    position: absolute;
    transform: translateX(-50%);
    width: 5rem;
    background-color: #f0980a
}

.gallery-heading {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
    font-weight: 700
}

.content h2,
.room-info {
    color: #333;
    font-weight: 700
}

.container12 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px 30px;
    padding: 50px 15px
}

.cards {
    position: relative;
    max-width: 350px;
    height: 500px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .4)
}

.content,
.imgBx {
    position: absolute
}

.cards:hover {
    height: 400px
}

.imgBx {
    top: 0;
    height: 430px;
    border: 5px solid #fff
}

.cards:hover .imgBx {
    top: -200px;
    transform: scale(.75);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .2)
}

.imgBx img {
    width: 98%;
    height: 98%;
    object-fit: cover
}

.content {
    top: 450px;
    width: 100%;
    padding: 0 10px;
    height: 27px;
    text-align: center;
    transition: .5s;
    overflow: hidden
}

.cards:hover .content {
    top: 200px;
    height: 250px
}

.content h2 {
    font-size: 1.5rem
}

.button-group11 button,
.content a {
    background: #f0980a;
    color: #fff;
    font-weight: 500
}

.room-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 5px;
    font-size: 1rem;
    margin: 10px 0;
    list-style: none;
    flex-wrap: wrap
}

.room-info li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .9em
}

.content a {
    margin-top: 15px;
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    transition: .3s
}

.button-group11 {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap
}

.button-group11 button {
    padding: 10px 20px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s, transform .2s
}

.button-group11 button:hover {
    background: #e08700;
    transform: scale(1.05)
}

@media screen and (max-width:992px) {
    .gallery-heading {
        font-size: 2rem
    }

    .container {
        padding: 40px 20px;
        gap: 40px 20px
    }

    .cards {
        max-width: 320px;
        height: 450px
    }

    .cards:hover {
        height: 400px
    }

    .content {
        top: 420px
    }

    .cards:hover .content {
        top: 180px;
        height: 220px
    }
}

@media screen and (max-width:600px) {
    .gallery-heading {
        font-size: 1.8rem;
        margin-bottom: 1.5rem
    }

    .container {
        flex-direction: column;
        padding: 30px 15px;
        gap: 30px
    }

    .cards {
        width: 100%;
        max-width: 90vw;
        height: 430px
    }

    .cards:hover,
    .imgBx {
        height: 380px
    }

    .content {
        top: 400px
    }

    .cards:hover .content {
        top: 180px;
        height: 200px
    }

    .content h2 {
        font-size: 1.2rem
    }

    .room-info {
        font-size: .85rem;
        gap: 10px
    }

    .room-info li {
        font-size: .8rem
    }

    .content a {
        padding: 8px 16px;
        font-size: .85rem
    }
}

.amenities {
    min-height: 100vh;
    width: 100%;
    display: grid;
    place-items: center;
    background-color: #02041e;
    background-image: radial-gradient(circle, rgba(163, 163, 163, .712) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 2rem 1rem
}

.amenities h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0980a;
    margin-bottom: .5rem
}

.amenities h1 {
    position: relative;
    margin-bottom: 60px;
    font-size: 4rem;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    text-align: center
}

.amenities h1::after {
    position: absolute;
    transform: translateX(-50%);
    width: 7rem;
    background-color: #f0980a
}

.roww {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem
}

.column {
    width: 100%;
    padding: 1rem;
    text-align: center
}

.acard {
    border: 1px solid #000;
    width: 100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(#fff 50%, #f0980a 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 10px;
    box-shadow: 0 0 35px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: .5s ease-in-out
}

.h {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin: 1em 0
}

.pa {
    color: #575a7b;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: .03em
}

.icon-wrapper {
    background-color: #f0980a;
    font-size: 1.5rem;
    height: 2.5em;
    width: 2.5em;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: auto;
    transition: .5s
}

.acard:hover {
    background-position: 0 100%
}

.acard:hover .icon-wrapper {
    background-color: #fff;
    color: #f0980a
}

.acard:hover .h,
.acard:hover .pa,
.close-btn {
    color: #fff
}

@media screen and (min-width:768px) {
    .column {
        flex: 0 0 48%;
        max-width: 48%
    }
}

@media screen and (min-width:992px) {
    .column {
        flex: 0 0 30%;
        max-width: 30%
    }
}

@media screen and (max-width:480px) {
    .acard {
        padding: 1.5em 1em
    }

    .h {
        font-size: 1.1rem
    }

    .pa {
        font-size: .9rem
    }

    .icon-wrapper {
        height: 2.2em;
        width: 2.2em;
        font-size: 1.2rem
    }
}

.poster-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
    z-index: 9999;
    animation: .5s ease-out fadeIn;
    padding: 0;
    background: #fff;
}

.poster-popup img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .6);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50%;
    transition: background .3s, transform .2s;
}

.close-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* --- Corner Tab --- */
.poster-tab {
    position: fixed;
    bottom: 30%;
    left: 0;
    transform: translateY(50%);
    background: #ff5722;
    color: #fff;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poster-tab:hover {
    background: #e64a19;
}

.poster-tab span {
    font-size: 12px;
    font-weight: normal;
    margin-top: 6px;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    color: #fff;
}

/* --- Animation --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .poster-popup {
        width: 70%;
        max-width: 400px;
    }
    .close-btn {
        top: 10px;
        right: 10px;
        font-size: 22px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .poster-popup {
        width: 90%;
        max-width: 320px;
    }
    .poster-popup img {
        max-height: 70vh;
    }
    .close-btn {
        font-size: 20px;
        padding: 4px 8px;
    }
}



.hero-section {
    position: relative;
    height: 100vh;
    background: url('../assets/images/bgn.jpg') center center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    z-index: 1
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6
}

.torn-edge {
    position: absolute;
    width: 100%;
    z-index: 3
}

.torn-edge.top {
    top: 0
}

.torn-edge.bottom {
    bottom: 0
}