@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}







/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
    /* Width of the scrollbar */
}

/* Scrollbar Track (background area) */
::-webkit-scrollbar-track {
    background: #f7dbc3;
    /* Subtle grey background */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: inset 0 0 10px #80451d78;
}

/* Scrollbar Thumb (draggable part) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #80451d, #80451d);
    /* Purple gradient thumb */
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
    /* Ensures thumb's border doesn’t hide the gradient */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    /* Light shadow effect */
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    /* Smooth hover animation */
}

/* Scrollbar Thumb Hover Effect */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #80451d, #80451d);
    /* Pink to purple gradient */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

/* Optional: Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}













/* WhatsApp Button Styling */
#whatsapp-button {
    position: fixed;
    /* Fixed position to stay at the corner of the screen */
    bottom: 10px;
    /* Distance from the bottom */
    right: 10px;
    /* Distance from the right */
    z-index: 9999;
    /* Ensure it's always on top of other elements */
}

#whatsapp-icon {
    width: 50px;
    /* Set the icon size */
    height: 50px;
    /* Set the icon size */
    /* border-radius: 50%; */
    transition: transform 0.3s ease-in-out;
    /* Add smooth scaling on hover */
}

/* Hover Effect: Scale the WhatsApp icon */
#whatsapp-button:hover #whatsapp-icon {
    transform: scale(1.1);
    /* Slightly enlarge the icon on hover */
}


/* Loader container (covers full screen) */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.742);
    /* Semi-transparent black */
    backdrop-filter: blur(15px);
    /* Blurred background */
    z-index: 9999;
}

#loader img {
    width: 200px;
}

/* Centered image */
#loading-image {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

/* Thin loading bar */
#progress-bar-container {
    width: 200px;
    /* Adjust width as needed */
    height: 3px;
    /* Thin height */
    background-color: rgba(255, 255, 255, 0.2);
    /* Light background color */
    border-radius: 5px;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: #ffddc1;
    border-radius: 5px;
}




body {
    margin: 0;
    background-color: #fadbc671;
    font-family: Poppins;
}

h1 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #080808;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

h1 span {
    display: block;
    font-size: 0.5em;
    line-height: 1.3;
}

h1 em {
    font-style: normal;
    font-weight: 600;
}



.six h1 {
    text-align: center;
    color: #222;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    word-spacing: 1px;
    letter-spacing: 2px;
    color: #7e4822;
}

.six h1 span {
    line-height: 2em;
    padding-bottom: 15px;
    text-transform: none;
    font-size: .7em;
    font-weight: normal;
    font-style: italic;
    font-family: "Playfair Display", "Bookman", serif;
    color: #999;
    letter-spacing: -0.005em;
    word-spacing: 1px;
    letter-spacing: none;
}

.six h1:after,
.six h1:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 4px;
    content: "";
    right: 45px;
    margin: auto;
    background-color: #ccc;
}

.six h1:before {
    background-color: #804216;
    left: 45px;
    width: 90px;
}




:root {
    --item1-transform: translateX(-100%) translateY(-5%) scale(1.5);
    --item1-filter: blur(30px);
    --item1-zIndex: 11;
    --item1-opacity: 0;

    --item2-transform: translateX(0);
    --item2-filter: blur(0px);
    --item2-zIndex: 10;
    --item2-opacity: 1;

    --item3-transform: translate(50%, 10%) scale(0.8);
    --item3-filter: blur(10px);
    --item3-zIndex: 9;
    --item3-opacity: 1;

    --item4-transform: translate(90%, 20%) scale(0.5);
    --item4-filter: blur(30px);
    --item4-zIndex: 8;
    --item4-opacity: 1;

    --item5-transform: translate(120%, 30%) scale(0.3);
    --item5-filter: blur(40px);
    --item5-zIndex: 7;
    --item5-opacity: 0;
}

/* Header */
header {
    position: sticky;
    top: 0;
    width: 1140px;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    margin: auto;
    height: 60px;
    padding: 20px;
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

/* Logo */
header .logo img {
    margin-top: 30px;
    width: 80px;
    height: auto;
    cursor: pointer;
}

/* Desktop Nav */
header nav {
    display: flex;
    gap: 30px;
}

header nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    cursor: pointer;
}

/* Hamburger Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 20px;
    right: 20px;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #7e4822;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Mobile Menu (Hidden by default) */
header nav.nav-active {
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100vw;
    height: 100vh;
    background: rgb(68, 38, 17);
    backdrop-filter: blur(12px);
    z-index: 1000;
    animation: fadeIn 0.3s ease forwards;
}

/* Mobile Menu Links */
header nav.nav-active a {
    font-size: 1.8rem;
    color: #fff;
}

header nav.nav-active a:hover {
    color: #ffd9b3;
}

/* Hamburger Animation */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile view */
@media (max-width: 768px) {
    header nav {
        display: none;
    }

    header nav.nav-active {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }
}



























/* carousel */
.carousel {
    position: relative;
    height: 800px;
    overflow: hidden;
    margin-top: -50px;
    z-index: 1;
}

.carousel .list {
    position: absolute;
    width: 1140px;
    max-width: 90%;
    height: 80%;
    left: 50%;
    transform: translateX(-50%);
}

.carousel .list .item {
    position: absolute;
    left: 0%;
    width: 70%;
    height: 100%;
    font-size: 15px;
    transition: left 0.5s, opacity 0.5s, width 0.5s;
}

.carousel .list .item:nth-child(n + 6) {
    opacity: 0;
}

.carousel .list .item:nth-child(2) {
    z-index: 10;
    transform: translateX(0);
}

.carousel .list .item img {
    width: 50%;
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    transition: right 1.5s;
}

.carousel .list .item .introduce {
    opacity: 0;
    pointer-events: none;
}

.carousel .list .item:nth-child(2) .introduce {
    opacity: 1;
    pointer-events: auto;
    width: 400px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.5s;
}

.carousel .list .item .introduce .title {
    font-size: 2em;
    font-weight: 500;
    line-height: 1em;
}

.carousel .list .item .introduce .topic {
    font-size: 3em;
    font-weight: 500;
}

.carousel .list .item .introduce .des {
    font-size: small;
    color: #5559;
}

.carousel .list .item .introduce .seeMore {
    font-family: Poppins;
    margin-top: 1.2em;
    padding: 5px 0;
    border: none;
    border-bottom: 1px solid #555;
    background-color: transparent;
    font-weight: bold;
    letter-spacing: 3px;
    transition: background 0.5s;
}

.carousel .list .item .introduce .seeMore:hover {
    background: #eee;
}

.carousel .list .item:nth-child(1) {
    transform: var(--item1-transform);
    filter: var(--item1-filter);
    z-index: var(--item1-zIndex);
    opacity: var(--item1-opacity);
    pointer-events: none;
}

.carousel .list .item:nth-child(3) {
    transform: var(--item3-transform);
    filter: var(--item3-filter);
    z-index: var(--item3-zIndex);
}

.carousel .list .item:nth-child(4) {
    transform: var(--item4-transform);
    filter: var(--item4-filter);
    z-index: var(--item4-zIndex);
}

.carousel .list .item:nth-child(5) {
    transform: var(--item5-transform);
    filter: var(--item5-filter);
    opacity: var(--item5-opacity);
    pointer-events: none;
}

/* animation text in item2 */
.carousel .list .item:nth-child(2) .introduce .title,
.carousel .list .item:nth-child(2) .introduce .topic,
.carousel .list .item:nth-child(2) .introduce .des,
.carousel .list .item:nth-child(2) .introduce .seeMore {
    opacity: 0;
    animation: showContent 0.5s 1s ease-in-out 1 forwards;
}

@keyframes showContent {
    from {
        transform: translateY(-30px);
        filter: blur(10px);
    }

    to {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0px);
    }
}

.carousel .list .item:nth-child(2) .introduce .topic {
    animation-delay: 1.2s;
}

.carousel .list .item:nth-child(2) .introduce .des {
    animation-delay: 1.4s;
}

.carousel .list .item:nth-child(2) .introduce .seeMore {
    animation-delay: 1.6s;
}

/* next click */
.carousel.next .item:nth-child(1) {
    animation: transformFromPosition2 0.5s ease-in-out 1 forwards;
}

@keyframes transformFromPosition2 {
    from {
        transform: var(--item2-transform);
        filter: var(--item2-filter);
        opacity: var(--item2-opacity);
    }
}

.carousel.next .item:nth-child(2) {
    animation: transformFromPosition3 0.7s ease-in-out 1 forwards;
}

@keyframes transformFromPosition3 {
    from {
        transform: var(--item3-transform);
        filter: var(--item3-filter);
        opacity: var(--item3-opacity);
    }
}

.carousel.next .item:nth-child(3) {
    animation: transformFromPosition4 0.9s ease-in-out 1 forwards;
}

@keyframes transformFromPosition4 {
    from {
        transform: var(--item4-transform);
        filter: var(--item4-filter);
        opacity: var(--item4-opacity);
    }
}

.carousel.next .item:nth-child(4) {
    animation: transformFromPosition5 1.1s ease-in-out 1 forwards;
}

@keyframes transformFromPosition5 {
    from {
        transform: var(--item5-transform);
        filter: var(--item5-filter);
        opacity: var(--item5-opacity);
    }
}

/* previous */
.carousel.prev .list .item:nth-child(5) {
    animation: transformFromPosition4 0.5s ease-in-out 1 forwards;
}

.carousel.prev .list .item:nth-child(4) {
    animation: transformFromPosition3 0.7s ease-in-out 1 forwards;
}

.carousel.prev .list .item:nth-child(3) {
    animation: transformFromPosition2 0.9s ease-in-out 1 forwards;
}

.carousel.prev .list .item:nth-child(2) {
    animation: transformFromPosition1 1.1s ease-in-out 1 forwards;
}

@keyframes transformFromPosition1 {
    from {
        transform: var(--item1-transform);
        filter: var(--item1-filter);
        opacity: var(--item1-opacity);
    }
}

/* General Styling */
.carousel .list .item .detail {
    opacity: 0;
    pointer-events: none;
}

/* Show Detail */
.carousel.showDetail .list .item:nth-child(3),
.carousel.showDetail .list .item:nth-child(4) {
    left: 100%;
    opacity: 0;
    pointer-events: none;
}

.carousel.showDetail .list .item:nth-child(2) {
    width: 100%;
}

.carousel.showDetail .list .item:nth-child(2) .introduce {
    opacity: 0;
    pointer-events: none;
}

.carousel.showDetail .list .item:nth-child(2) img {
    right: 50%;
}

.carousel.showDetail .list .item:nth-child(2) .detail {
    opacity: 1;
    width: 80%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    pointer-events: auto;
}

.carousel.showDetail .list .item:nth-child(2) .detail .title {
    font-size: 4rem;
}

.carousel.showDetail .list .item:nth-child(2) .detail .specifications {
    display: flex;
    position: relative;
    left: 330px;
    gap: 1rem;
    width: 60%;
    border-top: 1px solid #5553;
    margin-top: 1.25rem;
}

.carousel.showDetail .list .item:nth-child(2) .detail .specifications div {
    width: 90px;
    text-align: center;
    flex-shrink: 0;
}

.carousel.showDetail .list .item:nth-child(2) .detail .specifications div p:nth-child(1) {
    font-weight: bold;
}

.carousel.carousel.showDetail .list .item:nth-child(2) .checkout button {
    font-family: Poppins;
    background-color: transparent;
    border: 1px solid #5555;
    margin-left: 5px;
    padding: 0.25rem 0.625rem;
    letter-spacing: 0.125rem;
    font-weight: 500;
}

.carousel.carousel.showDetail .list .item:nth-child(2) .checkout button:nth-child(2) {
    background-color: #693EFF;
    color: #eee;
}

.carousel.showDetail .list .item:nth-child(2) .detail .title,
.carousel.showDetail .list .item:nth-child(2) .detail .des,
.carousel.showDetail .list .item:nth-child(2) .detail .specifications,
.carousel.showDetail .list .item:nth-child(2) .detail .checkout {
    opacity: 0;
    animation: showContent 0.5s 1s ease-in-out 1 forwards;
}

.carousel.showDetail .list .item:nth-child(2) .detail .des {
    animation-delay: 1.2s;
}

.carousel.showDetail .list .item:nth-child(2) .detail .specifications {
    animation-delay: 1.4s;
    gap: 2rem;
}

/* Arrows */
.arrows {
    position: absolute;
    bottom: 10px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    left: 50%;
    transform: translateX(-50%);
}

#prev,
#next {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-family: monospace;
    border: 1px solid #5555;
    font-size: 1.25rem;
    bottom: 20%;
    left: 10%;
}

#next {
    left: unset;
    right: 10%;
}

/* Back Button */
#back {
    position: absolute;
    z-index: 100;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    border-bottom: 1px solid #555;
    font-family: Poppins;
    font-weight: bold;
    letter-spacing: 0.1875rem;
    background-color: transparent;
    padding: 0.625rem;
    transition: opacity 0.5s;
}

.carousel.showDetail #back {
    opacity: 1;
}

#back a {
    text-decoration: none;
    color: #6b3108;
}

/* Carousel Background */
.carousel::before {
    width: 500px;
    height: 300px;
    content: '';
    background-image: linear-gradient(70deg, #ff6a00, #8cff00af);
    position: absolute;
    z-index: -1;
    border-radius: 20% 30% 80% 10%;
    filter: blur(150px);
    top: 50%;
    left: 50%;
    transform: translate(-10%, -50%);
    transition: 1s;
}

.carousel.showDetail::before {
    transform: translate(-100%, -50%) rotate(90deg);
    filter: blur(130px);
}

/* Responsive Design */



























/* Initial setup for animation */
.owner-section {
    margin: 10vh 0;
    padding: 0px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

/* Add this class when the section is to be animated */
.owner-section.active {
    opacity: 1;
    transform: translateY(0);
}

.owner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.owner-photo {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    transition-delay: 0.3s;
    /* Delay to animate after section */
}

.owner-photo.active {
    opacity: 1;
    transform: translateY(0);
}

.owner-photo img {
    width: 80%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    border: 5px solid #804a24b7;
}

.owner-info {
    flex: 1;
    padding: 20px;
    color: #333;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    transition-delay: 0.6s;
    /* Delay to animate after the photo */
}

.owner-info.active {
    opacity: 1;
    transform: translateY(0);
}

.owner-info h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: #f4f4f4;
    position: relative;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 60%;
    background-color: #7f4520;
}

.owner-info .title {
    font-size: 1.3em;
    font-weight: 500;
    color: #522200;
    margin: 10px 0;
}

.owner-info .bio {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.66);
    max-width: 800px;
    text-align: justify;
    margin: 0 auto;
}










/*About Tandooriyat */
.about-tandooriyat {
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Images */
.about-image {
    height: 500px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
}

.about-image-left {
    transform: perspective(1000px) rotateY(10deg);
    transition: transform 0.8s ease;
}

.about-image-right {
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.8s ease;
}

.about-grid:hover .about-image-left {
    transform: perspective(1000px) rotateY(0deg);
}

.about-grid:hover .about-image-right {
    transform: perspective(1000px) rotateY(0deg);
}

/* Content */
.about-text-block {
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 2.5rem;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    text-align: center;
}

.title-line {
    display: block;
    font-weight: 200;
}

.title-highlight {
    font-weight: 400;
    color: #c32a2a;
    position: relative;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    max-width: 300px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.divider-dot {
    width: 6px;
    height: 6px;
    background: #c32a2a;
    border-radius: 50%;
    margin: 0 15px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-align: justify;
}

/* Info Boxes */
.about-info {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.info-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 150px;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: #522200;
    margin-top: 2px;
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.3rem 0;
}

.info-content p {
    font-size: 0.95rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
}



/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text-block {
    animation: fadeIn 1s ease forwards;
}

.about-image-left {
    animation: fadeIn 1s ease 0.2s forwards;
}

.about-image-right {
    animation: fadeIn 1s ease 0.4s forwards;
}











@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500&display=swap');



.book-container {
    margin: auto;
    display: flex;
    max-width: 80vw;
    width: 100%;
    margin-top: 5rem;
    margin-bottom: 7rem;
    position: relative;
}

.book-section {
    flex: 1;
    padding-right: 4rem;
    display: flex;
    justify-content: flex-end;
}

.content-section {
    flex: 1;
    padding-left: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #52220028;
}

/* Flip Book Styles (unchanged from your original) */
input {
    display: none;
}

.back img,
.front img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

#cover img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.book {
    display: flex;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

#cover {
    width: 380px;
    height: 450px;
}

.flip-book {
    width: 380px;
    height: 450px;
    position: relative;
    perspective: 1500px;
}

.flip {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: left;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    overflow: hidden;
}

.back {
    transform: rotateY(180deg);
    background-color: #f9f9f9;
}

label {
    position: absolute;
    bottom: 15px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    z-index: 10;
}

.next-btn {
    right: 15px;
}

.back-btn {
    left: 15px;
}

#p1 {
    z-index: 9;
}

#p2 {
    z-index: 8;
}

#p3 {
    z-index: 7;
}

#p4 {
    z-index: 6;
}

#p5 {
    z-index: 5;
}

#p6 {
    z-index: 4;
}

#p7 {
    z-index: 3;
}

#p8 {
    z-index: 2;
}

#p9 {
    z-index: 1;
}

#c1:checked~.flip-book #p1 {
    transform: rotateY(-180deg);
    z-index: 1;
}

#c2:checked~.flip-book #p2 {
    transform: rotateY(-180deg);
    z-index: 2;
}

#c3:checked~.flip-book #p3 {
    transform: rotateY(-180deg);
    z-index: 3;
}

#c4:checked~.flip-book #p4 {
    transform: rotateY(-180deg);
    z-index: 4;
}

#c5:checked~.flip-book #p5 {
    transform: rotateY(-180deg);
    z-index: 5;
}

#c6:checked~.flip-book #p6 {
    transform: rotateY(-180deg);
    z-index: 6;
}

#c7:checked~.flip-book #p7 {
    transform: rotateY(-180deg);
    z-index: 7;
}

#c8:checked~.flip-book #p8 {
    transform: rotateY(-180deg);
    z-index: 8;
}

#c9:checked~.flip-book #p9 {
    transform: rotateY(-180deg);
    z-index: 9;
}

/* S-Tier Content Design */
.content-section h1 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #522200;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.content-section h1:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #522200;
}

.content-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    max-width: 400px;
}

.detail-item {
    margin-bottom: 1.8rem;
    position: relative;
    padding-left: 25px;
}

.detail-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border: 2px solid #522200;
    border-radius: 50%;
}

.detail-title {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.detail-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

.signature {
    margin-top: 2rem;
    font-style: italic;
    font-size: 0.9rem;
    color: #888;
    position: relative;
    padding-top: 1rem;
}

.signature:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: #ddd;
}







@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500&display=swap');

.location-card {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: auto;
    margin-top: 10rem;
    margin-bottom: 8rem;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

.location-bg {
    position: absolute;
    width: 100%;
    height: 120%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),
        url('timg/visit.jpeg') no-repeat;
    background-size: cover;
    /* background-position: center; */
    will-change: transform;
    transition: transform 0.1s linear;
}

.location-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.gold-divider {
    width: 80px;
    height: 2px;
    background: #d4af37;
    opacity: 0.8;
}

.location-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #f2bc77;
    backdrop-filter: blur(1px);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.location-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease 0.2s;
}

.address-container {
    color: #ccc;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    max-width: 600px;
    margin-top: 1rem;
    position: relative;
    top: 70px;
    transition: all 0.5s ease;
    transform: translateY(20px);
    opacity: 0;
    letter-spacing: 1px;
    transition: all 0.8s ease 0.4s;
}

.address-container.visible,
.location-title.visible,
.location-subtitle.visible,
.gold-divider.visible,
.map-button.visible {
    transform: translateY(0);
    opacity: 1;
}

.address-line {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    margin: 0rem 0;
    position: relative;
    display: block;
}

.address-line:not(:last-child):after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    /* background: rgba(212, 175, 55, 0.5); */
    margin: 1rem auto;
}

.highlight {
    font-size: clamp(1.3rem, 1.5vw, 1.1rem);
    color: #d4af37;
    font-weight: 500;
    letter-spacing: 1px;
}






@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&family=Inter:wght@300;400;500&display=swap');

.testimonial-section {
    padding: 80px 20px;
    margin-bottom: 5vh;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.six h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #222;
    position: relative;
    padding-bottom: 15px;
}

.six h1 span {
    display: block;
    width: 60px;
    height: 2px;
    background: #D4AF37;
    margin: 10px auto 0;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.slider-container:hover .slider-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}



.testimonial-card {
    background: rgba(255, 145, 0, 0.03);
    border: 1px solid #5222003b;
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 25px;
    width: 360px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    /* transform: translateY(-1px); */
    border: 1px solid #522200;
    /* background: rgba(255, 145, 0, 0.03); */
}

.testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    flex-grow: 1;
}

.testimonial-text::before {
    content: "“";
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #D4AF37;
    opacity: 0.3;
    position: absolute;
    top: -15px;
    left: -10px;
    line-height: 1;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #D4AF37;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.author-role {
    font-size: 0.85rem;
    color: #777;
}









.footer-section {
    width: 100%;
    /* background: linear-gradient(to top, #2e0d0d, #000); */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),
        url('timg/fbg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 20px 30px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    z-index: 1;
    position: relative;
}

.footer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffdbb5;
}

.footer-text {
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
}

.open-hours p {
    margin: 6px 0;
    font-weight: 500;
}

.subscribe-input {
    width: 100%;
    padding: 10px 15px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffc896;
}








/* Responsive Media Queries */
@media (max-width: 1200px) {

    .carousel {
        height: 100vh;
    }

    .book-container {
        max-width: 90vw;
        padding: 0 1rem;
    }

    .book-section {
        padding-right: 2rem;
    }

    .content-section {
        padding-left: 2rem;
    }

    #cover,
    .flip-book {
        width: 340px;
        height: 420px;
    }
}





/* Media Query for Devices with Width 1024px or Smaller */
@media screen and (max-width: 1024px) {

    .carousel .list .item {
        width: 100%;
    }

    .carousel .list {
        height: 90%;
    }

    /* Adjust for mobile-first behavior */
    .carousel .list .item img {
        width: 50%;
    }

    .carousel .list .item:nth-child(2) .introduce {
        width: 50%;
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 350px;
        order: 1;
    }

    .about-text-block {
        order: 2;
    }

    .about-image-right {
        order: 3;
    }

    .about-image-left,
    .about-image-right {
        transform: perspective(1000px) rotateY(0deg);
    }

}





@media (max-width: 992px) {
    .book-container {
        max-width: 95vw;
        padding: 0 1rem;
        flex-direction: column;
        margin-top: 3rem;
        margin-bottom: 5rem;
    }

    .book-section,
    .content-section {
        padding: 0;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .book-section {
        margin-bottom: 3rem;
    }

    .content-section {
        border-left: none;
        border-top: 1px solid #52220028;
        padding-top: 3rem;
        align-items: center;
        text-align: center;
    }

    #cover,
    .flip-book {
        width: 100%;
        max-width: 380px;
        height: auto;
        aspect-ratio: 380/450;
        margin: 0 auto;
    }

    .content-section h1:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .detail-item {
        padding-left: 0;
    }

    .detail-item:before {
        display: none;
    }

    .content-section p {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}



/* Responsive Styles */
@media screen and (max-width: 768px) {

    /* Adjust logo size and header padding on smaller screens */
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    header .logo img {
        width: 90px;
    }

    header nav {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header nav a {
        margin-left: 0;
        margin-bottom: 10px;
        font-size: 14px;
    }

    h1 {
        font-size: 30px;
    }

    .six h1 {
        font-size: 24px;
    }

    .six h1 span {
        font-size: 0.8em;
    }

    #loader img {
        width: 150px;
    }

    #progress-bar-container {
        width: 150px;
    }




    header {
        flex-direction: row;
        /* Default row layout for larger screens */
        justify-content: space-between;
        /* Space between logo and hamburger */
        align-items: center;
        width: 100%;
        position: sticky;
        top: 0;
        padding: 10px;
        backdrop-filter: blur(10px);
    }

    .logo {
        flex: 1;
        /* Take up available space to center the logo */
        text-align: center;
        /* Center logo */
    }

    header .logo img {
        width: 70px;
    }

    header nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    header nav a {
        margin-left: 20px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
    }

    /* When screen width is <= 768px */
    .hamburger-menu {
        display: flex;
        /* Show hamburger icon */
    }

    header nav {
        display: none;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        z-index: 9;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 15px;
    }

    header nav a {
        margin-bottom: 13px;
        font-size: 16px;
        color: #fff;
        font-family: Poppins;
    }

    /* Show navigation when hamburger menu is toggled */
    .nav-active {
        display: flex;
    }



    .carousel {
        height: 600px;
    }

    .carousel .list .item {
        width: 100%;
        font-size: 0.625rem;
    }

    .carousel .list {
        height: 100%;
    }

    .carousel .list .item:nth-child(2) .introduce {
        width: 70%;
        font-size: .7rem;
    }

    .carousel .list .item img {
        width: 50%;
    }

    .carousel.showDetail .list .item:nth-child(2) .detail {
        backdrop-filter: blur(10px);
        font-size: small;
    }



    .owner-container {
        flex-direction: column;
    }

    .owner-photo img {
        width: 100%;
        height: 300px;
    }

    .owner-info h2 {
        font-size: 1.2em;
        position: relative;
        transform: none;
    }

    .owner-info .title {
        font-size: 1.1em;
    }

    .owner-info .bio {
        font-size: .9rem;
    }

}






@media (max-width: 768px) {

    .carousel {
        height: 100vh;
    }

    .carousel .list .item img {
        width: 60%;
    }

    .about-tandooriyat {
        padding: 6rem 1.5rem;
    }

    .about-image {
        height: 300px;
    }

    .about-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .info-content {
        font-size: .9rem;
    }

    .about-text {
        font-size: .9rem;
    }



    .location-card {
        height: auto;
        min-height: 100vh;
    }

    .location-bg {
        height: 100%;
    }

    .location-content {
        padding: 2rem;
    }

    .address-container {
        width: 90%;
    }


    .six h1 {
        font-size: 2rem;
    }

    .testimonial-card {
        width: 280px;
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .slider-track {
        gap: 20px;
    }


    .book-container {
        padding: 0 .5rem;
    }

    #cover,
    .flip-book {
        max-width: 600px;
    }

    .content-section h1 {
        font-size: 1.6rem;
    }

    .detail-text {
        font-size: .8rem;
        text-align: justify;
    }

    label {
        padding: 6px 12px;
        font-size: 10px;
        bottom: 10px;
    }

    .footer-section {
        padding: 50px 20px 20px;
    }

    .footer-card {
        padding: 20px;
    }

    .footer-logo {
        font-size: 22px;
    }
}






@media (max-width: 576px) {

    header .logo img {
        width: 60px;
    }

    .book-container {
        margin-top: 2rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    #cover,
    .flip-book {
        max-width: 500px;
    }

    .content-section h1 {
        font-size: 1.8rem;
    }

    .content-section p {
        max-width: 100%;
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }

    .detail-title {
        font-size: 1rem;
    }

    .detail-text {
        font-size: 0.8rem;
    }
}





@media (max-width: 480px) {

    .carousel .list .item:nth-child(2) .introduce {
        width: 55%;
        font-size: .5rem;
    }

    .carousel .list .item img {
        width: 60%;
    }

    .about-tandooriyat {
        padding: 4rem 1rem;
    }

    .about-image {
        height: 250px;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }



    .testimonial-section {
        padding: 60px 15px;
    }

    .six h1 {
        font-size: 1.8rem;
    }

    .testimonial-card {
        width: 260px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }
}





@media screen and (max-width: 480px) {


    .carousel {
        position: relative;
        height: 90vh;
        overflow: hidden;
        margin-top: 20px;
    }

    .carousel .list {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 100%;
        left: 0;
        transform: none;
        /* Removed translateX */
        padding: 20px;
        box-sizing: border-box;
    }

    .carousel .list .item {
        position: relative;
        /* Changed from absolute */
        left: 0 !important;
        /* Override any inline styles */
        width: 100% !important;
        /* Full width on mobile */
        height: 90%;
        font-size: 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
        opacity: 1 !important;
        /* Ensure all items are visible */
    }

    .carousel .list .item img {
        position: relative;
        /* Changed from absolute */
        width: 80% !important;
        /* Larger image on mobile */
        right: auto !important;
        top: auto !important;
        transform: none !important;
        order: 2;
        /* Image comes after text */
        margin-top: 4 0px;
    }

    .carousel .list .item .introduce {
        opacity: 1 !important;
        pointer-events: auto !important;
        width: 100% !important;
        position: relative !important;
        top: -50px !important;
        transform: none !important;
        order: 1;
        /* Text comes first */
        text-align: center;
        padding: 0 10px;
    }

    .carousel .list .item .introduce .title {
        font-size: 2.5rem;
        /* Slightly smaller on mobile */
    }

    .carousel .list .item .introduce .topic {
        font-size: 2rem;
        /* Smaller on mobile */
    }

    .carousel .list .item .introduce .des {
        font-size: 0.9em;
        /* Slightly larger for readability */
        color: #5559;
        margin-bottom: 15px;
    }

    /* Hide all items except the active one */
    .carousel .list .item:not(:nth-child(2)) {
        display: none;
    }

    /* Navigation arrows would need similar mobile adjustments */



    /* Further adjustments for very small screens */
    header {
        padding: 5px;
    }

    header .logo img {
        width: 50px;
    }

    header nav a {
        font-size: 12px;
    }

    h1 {
        font-size: 24px;
    }

    .six h1 {
        font-size: 20px;
    }

    #loader img {
        width: 120px;
    }

    #progress-bar-container {
        width: 120px;
    }

}









@media (max-width: 400px) {


    .owner-info .bio {
        font-size: .7rem;
    }

    .about-text {
        font-size: .8rem;
    }

    .detail-text {
        font-size: .8rem;
    }

    .book-container {
        padding: 0 0.5rem;
    }

    #cover,
    .flip-book {
        max-width: 350px;
    }

    .content-section h1 {
        font-size: 1.6rem;
    }

    label {
        padding: 6px 12px;
        font-size: 10px;
        bottom: 10px;
    }

    .next-btn {
        right: 5px;
    }

    .back-btn {
        left: 5px;
    }

    .content-section p {
        padding: 0;

    }

}