html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body{
    background-color: #272727;
    margin: 0;
}

#logoImage{
    height: 60px;
    width: auto;
    margin: 10px;
    /* Add animation properties */
    opacity: 0;
    transform: translateY(-60px);
    animation: slideDown 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

.topBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    background-color: #1a1a1a;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#kitchenImage{
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Desktop: Crop kitchen image to show worktops, not ceiling */
@media (min-width: 900px) {
    #kitchenImage {
        width: 100%;
        height: 650px; /* Adjust as needed for your layout */
        object-fit: cover;
        object-position: center 50%; /* Focus lower part of image */
        display: block;
        margin: 0 auto;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

}

#dropDownImage{
    height: 40px;
    margin: 10px;
    display: flex;
    cursor: pointer;
}

.box1 {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(100%); /* Start off-screen to the right */
    z-index: 2;                  /* Bring it above the image */

    width: 80%;
    max-width: 600px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    color: white;
    text-align: center;
    font-family: sans-serif;

    /* Animation properties */
    opacity: 0;
    animation: slideInFromRight 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideInFromRight {
    to {
        transform: translateX(-50%); /* Center it horizontally */
        opacity: 1;
    }
}

.bookNow{
    font-family: sans-serif;
    font-size: 20px;
    color: white;
    background-color: rgb(255, 162, 23);
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    stroke: none;
    width: 100%;
    height: 50px;
    border: none;
}

.box1 h1,
.box1 p {
  text-align: left;
}


@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%);
        opacity: 1;
    }
}

.menuOverlay {
    position: fixed;
    top: 80px; /* below the topBar */
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background: #272727;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-30px);
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1), transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menuOverlay.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menuOverlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.menuOverlay li {
    margin: 30px 0;
}

.menuOverlay a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    font-family: sans-serif;
    transition: color 0.2s;
}

.menuOverlay a:hover {
    color: rgb(255, 162, 23);
}

.aboutUsSection {
    margin-top: 100px;
    font-family: sans-serif;
    color: white;
    max-width: 800px;
    margin: 100px auto;
    padding: 20px;
    background-color: #ffffff33;
    backdrop-filter: blur(6px);
    border-radius: 20px;
    margin-bottom: 20px;

    /* Animation properties */
    opacity: 0;
    transform: translateX(100px);
    animation: aboutSlideIn 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes aboutSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.processSection{
    font-family: sans-serif;
    color: white;
    max-width: 800px;
    height: 650px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

#phoneIcon{
    height: 100px;
    width: auto;
    left: 10%;
    margin: auto;
    display: flex;
    margin-bottom: 20px;
    margin-top: 20px;
}

#documentIcon{
    height: 80px;
    width: auto;
    display: flex;
    left: 10%;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

#jobIcon{
    height: 80px;
    width: auto;
    display: flex;
    left: 10%;
    margin: auto;
    margin-bottom: 30px;
    margin-top: 20px;
}

.processDescription1, .processDescription2, .processDescription3{
    font-size: 20px;
    text-align: center;
    width: 200px;
    margin-top: 20px;
    margin: auto;
}

.processSteps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    align-items: center;
}

.processStep {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}

.processStep.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Modal */
.modal {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: white;
    font-family: sans-serif;
}

.modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-sizing: border-box; /* Ensure padding is included in width */
}

.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: orange;
}

label {
    display: block;
    margin-top: 10px;
}

input {
    width: calc(100% - 16px); /* Add padding space */
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.submit-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: rgb(255, 162, 23);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #444;
}

.footer {
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 30px 0 10px 0;
    margin-top: 40px;
    font-family: sans-serif;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.footer-right {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: rgb(255, 162, 23);
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 0 10px;
    }
    .footer-left {
        margin-bottom: 10px;
    }
    .footer-logo {
        height: 32px;
    }
}

.bookNow2{
    font-family: sans-serif;
    font-size: 20px;
    color: white;
    background-color: rgb(255, 162, 23);
    border-radius: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    stroke: none;
    width: 60%;
    display: flex;
    justify-content: center;
    border: none;
    margin: auto;
    padding: 15px 0; /* Added padding to increase height */
}

.clientReviewSection{
    font-family: sans-serif;
    color: white;
    max-width: 800px;
    height: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

@media (min-width: 900px) {
    .clientReviewSection {
        height: 400px; /* Allow height to adjust based on content */
        padding: 20px; /* Add padding for better spacing */
    }
}

.clientSays{
    color: orange;
}

.imageSection1Gallery {
    position: relative;
    width: 100%;
    height: 650px; /* Match the image height for desktop */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 70px;
}

#galleryBgImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 20px;
}

.galleryTextSection {
    position: absolute;
    top: 20%;
    right: 8%;
    z-index: 2;
    width: 350px;
    min-height: 320px;
    padding: 32px 24px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    color: white;
    text-align: left;
    font-family: sans-serif;
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
    transform: translateX(100%);
}

.galleryTextSection h1 {
    color: orange;
}

/* Animate in */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive: stack text below image on mobile */
@media (max-width: 900px) {
    .imageSection1Gallery {
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }
    #galleryBgImage {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 0;
    }
    .galleryTextSection {
        position: static;
        width: 90vw;
        min-height: unset;
        margin: 24px auto 0 auto;
        right: auto;
        top: auto;
        transform: none;
        opacity: 1;
        animation: none;
    }
}

/* Hide the gallery background image on screens 900px or less (phones/tablets) */
@media (max-width: 900px) {
    #galleryBgImage {
        display: none;
    }
}

@media (min-width: 900px) {
    .galleryTextSection p {
        font-size: 1.3rem;
    }
}

.galleryImage {
    width: 45%; /* Adjust width to fit two images per row */
    height: 500px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    margin: 10px; /* Add spacing between images */
}

.galleryImage:hover {
    transform: scale(1.05);
}

.galleryContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Space images evenly */
    gap: 10px; /* Add gap between rows */
}

.galleryTitle {
    text-align: center;
    color: rgb(255, 255, 255);
    font-family: sans-serif;
    margin-bottom: 20px;
    width: 40%;
    background-color: #444;
    display: flex;
    justify-content: center;
    border-radius: 20px;
    margin: 20px auto 10px auto;
}

.imageSection2Gallery {
    margin-top: 20px;
    width: 100%;
    align-items: center;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 900px) {
    .galleryTitle {
        width: 100vw;
        margin: 20px 0 10px 0;    /* Remove auto margins */

        box-sizing: border-box;   /* Prevents overflow */
        padding-left: 0;
        padding-right: 0;
    }

    .galleryImage {
        width: 80%; /* Adjust width to fit two images per row */
        height: 500px; /* Adjust height as needed */
        object-fit: cover;
        border-radius: 10px;
        transition: transform 0.3s;
        margin: 10px; /* Add spacing between images */
    }
}

.imageSection1 {
    position: relative;
}

.offerSection{
    font-family: sans-serif;
    font-size: 1.3rem;
    color: white;
    max-width: 800px;
    height: 650px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

@media (min-width: 900px) {
    .offerSection {
        height: 800px; /* Allow height to adjust based on content */
        padding: 20px; /* Add padding for better spacing */
    }
}

@media (max-width: 900px) {
    .offerSection {
        height: 1100px; /* Allow height to adjust based on content */
        padding: 20px; /* Add padding for better spacing */
    }

    .offerHeading{
        font-size: 1rem;
    }

    .offerSubheading p{
        font-size: 1rem;
        margin-left: 0px;
    }
}

.offerSection{
    margin-top: 100px;
}

.offerSection h1 {
    color: orange;
}

.offerHeading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    cursor: pointer;
}

.offerToggle {
    font-size: 2.5em;
    color: orange;
    margin-left: 8px;
    cursor: pointer;
    transition: transform 0.3s;
    user-select: none;
}

.offerToggle.open {
    transform: rotate(90deg);
}

.offerSubheading {
    display: none;
    margin-left: 76px;
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s;
    /* Animation setup */
    opacity: 0;
    transform: translateX(60px);
    animation: none;
}

.offerSubheading.open {
    display: block;
    animation: offerSlideInRight 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes offerSlideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.offerIcon {
    height: 52px;
    width: 52px;
    object-fit: contain;
    margin-right: 8px;
}

@media (max-width: 600px) {
    .offerIcon {
        height: 24px;
        width: 24px;
    }
}

.box2 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(100%); /* Start off-screen to the right */
    z-index: 2;                  /* Bring it above the image */

    width: 80%;
    max-width: 600px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    color: white;
    text-align: left;
    font-family: sans-serif;
    height: 200px;

    /* Animation properties */
    opacity: 0;
    animation: slideInFromRight 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.contact-info {
    margin-top: 0px;
    font-size: 1.2rem;
}   

.p1contact{
    font-size: 1.2rem;
    margin-bottom: 2px;
    text-align: left;
}

.followUs{
    font-size: 2rem;
    color: rgb(255, 153, 0);
    cursor: pointer;
    font-family: sans-serif;
    transition: color 0.2s;
}

.socialIcons {
    display: none;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    margin-top: 10px;
    animation: slideDownIcons 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.socialIcons.show {
    display: flex;
}

.socialIcon {
    width: 48px;
    height: 48px;
    opacity: 0;
    transform: translateY(-60px);
    animation: iconSlideDown 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    cursor: pointer;
    transition: transform 0.2s;
}

.socialIcons.show .socialIcon {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 900px) {
    .box2 {
        top: 370px;
        height: 250px;
    }

    #footerContact{
        margin-top: 500px;
    }

    .kitchenImage2 {
        visibility: hidden;
    }

    #contactSection{
        margin-top: 30px;
    }
}