* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'sen';
    src: url('../Font/Sen-Regular.woff2');
}

html,
body {
    font-family: 'sen', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f4f4f4;
    transition: all 0.3s ease;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #4c0000;
    --secondary-color: #c4a484;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: rgb(230, 3, 3);
}

/* Start Common CSS */
.container {
    max-width: 1370px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

img {
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
    object-fit: cover;
    object-position: center;
}

section {
    width: 100%;
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}

.action-button {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: var(--light-color);
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 2s infinite;

    &:hover {
        background-color: var(--secondary-color);
        color: var(--light-color);
    }
}


.with-background {
    background-color: var(--secondary-color);
    color: var(--light-color);

    &:hover {
        background-color: var(--light-color);
        color: var(--secondary-color);
    }
}

.heading {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 15px;
}

.sub-heading {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    text-align: center;
}

.sub-heading span img {
    width: 150px;
    padding: 10px;
    height: 70px;
    object-fit: contain;
    background-color: #fff;
}
#gallery {
    margin-top: 30px;
}

/* End Common CSS */
/* Start Header CSS *//* Fix the overall header padding */
header {
  background-color: var(--light-color);
  padding: 10px 0; /* Keep minimal */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Flex layout cleanup */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo size tuning */
.logo img {
  width: 140px;
  height: auto;
}

/* Navigation styling */
.nav-items {
  display: flex;
  align-items: center;
  gap: 20px;
  text-transform: uppercase;
}

/* Each nav item */
.nav-item {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 13px;
  padding: 5px 0;  /* Less vertical space */
  line-height: 1;   /* Tightens the nav line height */
}

/* Call button styling */
.header-button {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 5px;
  font-weight: 600;
}


/* End Header CSS */
/* Start Banner CSS */.banner-box {
    position: relative;
    width: 100%;
    overflow: hidden; /* Prevents any content from bleeding outside */
}
.banner {
    width: 100%;
    height: 0;
    padding-top: 42%; /* Adjust this as per your aspect ratio */
    position: relative;
    overflow: hidden; /* Ensure nothing spills out */
}

.banner img {
    position: absolute;
    top: 0; /* FIXED */
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
     object-position: center;
}

.rera-detils {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    width: 100%;
    padding: 20px;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    border-top-left-radius: 10px;
}

/* Form styling */
.rera-detils form {
    background-color: transparent;
    width: 100%;
    padding: 0;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.rera-detils .heading {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 5px 20px;
    white-space: nowrap;
    align-content: center;
}

/* Rest of your styles remain the same */
label {
    width: 100%;
    display: block;
    margin-bottom: 4px;
}

input {
    border: 1px solid #ccc;
    padding: 10px 15px;
    outline: none;
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
}

.grid-box {
    display: flex;
    gap: 10px;
}

.grid-box .name-box {
    width: 48%;
}

button[type="submit"] {
    background-color: var(--secondary-color);
    width: 100%;
    border: none;
    color: var(--light-color);
    padding: 12px 20px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 3px;
}
/* End Banner CSS */
/* Start Overview CSS */
.overview-grid {
    display: flex;
    margin-top: 20px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.body-content .heading,
.body-content .sub-heading {
    text-align: left;
}

.grid-img {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 62%;
    border-radius: 10px;
    overflow: hidden;
}

.grid-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    inset: 0;
}

.overview-image,
.overview-content {
    width: 48%;
}

.overview-heading {
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    width: 100%;

    &::before {
        position: absolute;
        content: "";
        left: 0;
        bottom: -8px;
        width: 180px;
        height: 2px;
        background: var(--secondary-color);
    }
}

.overview-heading .heading {
    margin-bottom: 0;
    font-size: 20px;
}

.right::before {
    right: 0;
    left: unset;
}

.right .heading {
    text-align: right;
}

.list h4 {
    font-size: 18px;
    color: var(--primary-color);
}

.list ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.overview-content .sub-heading b {
    color: var(--primary-color);
}

.overview-content .sub-heading p {
    margin-bottom: 20px;
}

/* End Overview CSS */
/* Satrt Contact CSS */
#amenities,
#why-choose,
#contact-us {
    margin-top: 40px;
}

.contact-form {
    background-color: #fff;
    padding: 50px;
    margin: 20px auto 0px;
    border-radius: 10px;
}

/* End Contcat CSS */
/* Start Amenities CSS */
.amenities-box {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
    align-self: stretch;
    justify-content: space-around;
    height: 250px;
}

.amenities-box img {
    width: 100px;
}

/* End Amenities CSS */
/* Start Gallery CSS */
.gallery-box {
    position: relative;
    height: 0;
    width: 100%;
    padding-top: 80%;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-box img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 10px;
    margin: auto;
}

/* End Gallery CSS */
/* Start Space CSS */
.shop-main {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shop-main .heading {
    font-size: 30px;
}

.shop-grid {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.shop-part {
    width: 240px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 14px;
    border: 5px solid var(--dark-color);
    padding: 10px;
    min-height: 300px;
    height: 100%;
}

.shop-part img {
    width: 120px;
}

.shop-part h5 {
    font-size: 24px;
    text-align: center;
}

.shop-button {
    border: 3px solid var(--dark-color);
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}

.project-details {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
}

.details-table {
    overflow: hidden;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.details-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.details-cell {
    flex: 1 0 210px;
    align-self: stretch;
    padding: 8px 0;
    border-left: 1px solid #ccc;
}

.details-row:first-child {
    border-top: none;
    background-color: var(--light-color);
}

.details-row:first-child .details-cell {
    color: var(--primary-color);
    font-weight: 600;
}

.details-cell:first-child {
    border-left: none;
}

.details-button {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px;
}

.project-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: var(--light-color);
    border-radius: 10px;
    margin: 20px auto;
}

.project-part {
    width: 33.3333%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--secondary-color);
    text-align: center;
}

.project-part h5 {
    font-size: 13px;
    color: var(--dark-color);
}

.project-part p {
    font-size: 16px;
    color: var(--dark-color);
    margin: auto;
    width: 70%;
}

/* End Space CSS */

/* Start Footer CSS */
footer {
    margin-top: 20px;
    background-color: var(--primary-color);
    padding: 60px 0;
}

footer .heading,
footer .sub-heading {
    color: var(--light-color);
}

.footer-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-content {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    text-align: left;
}

.footer-image {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.footer-image img {
    width: 130px;
    background-color: var(--light-color);
    height: 55px;
    object-fit: contain;
    border-radius: 5px;
    padding: 5px;
}

.footer-info {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    text-align: left;
}

.footer-link .heading,
.footer-info .heading {
    text-align: left;
    margin-bottom: 0;
}

.info-datial h4 {
    text-align: left;
    color: var(--secondary-color);
}

.info-datial:first-child {
    margin-top: 10px;
}

.footer-link {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    text-align: left;
}

.footer-link ul {
    margin-left: 15px;
}

.footer-link li {
    list-style: none;
    transition: all 0.3s;
}

.footer-link a {
    text-decoration: none;
    color: #fff;
    margin-bottom: 10px;
    display: block;
}

.footer-link li:hover {
    list-style: circle;
    padding-left: 15px;
}

.footer-link li:hover a {
    color: var(--secondary-color);
}

.menu-button {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 2px;
    width: 30px;
    height: 30px;
    padding: 3px;
    border: 1px solid var(--light-color);
    outline: none;
    cursor: pointer;
    display: none;
}

.close-menu {
    position: absolute;
    top: 0;
    left: -30px;
}

.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: none;
}

.popup {
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    z-index: 2;
    max-width: 500px;
    width: 85%;
    margin: auto;
    border-radius: 10px;
}

.popup-container {
    padding: 20px;
}

.close-popup {
    right: -23px;
    cursor: pointer;
    top: -23px;
    position: absolute;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 1px solid var(--secondary-color);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup svg {
    width: 25px;
    height: 25px;
}

.popup-container h4 {
    font-size: 25px;
    margin-bottom: 15px;
    text-align: center;
}

/* End Footer CSS */
/* Strat Responsive CSS */
@media(max-width:1400px) {
    .container {
        max-width: 85%;
    }
}

@media(max-width:1267px) {
    .price-tag {
        font-size: 16px;
        margin-top: 5px;
    }

    .rera-detils form {
        margin-top: 5px;
    }

    .rera-detils h4 {
        font-size: 16px;
        margin-bottom: 7px;
    }

    label {
        font-size: 12px;
    }

    .grid-box {
        margin-top: 5px;
    }

    button[type="submit"] {
        margin-top: 7px;
        font-size: 16px;
    }

    .banner {
        padding-top: 45%;
    }

    .rera-detils {
        padding-top: 20px;
    }
}

@media(max-width:991px) {
    .menu-button {
        display: block;
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        flex-direction: column;
        background-color: var(--light-color);
        z-index: 2;
        max-width: 400px;
        width: 85%;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: all 0.3s;
    }

    .rera-detils {
        position: relative;
        left: unset;
        bottom: unset;
        width: 90%;
        margin: auto;
        background-color: #fff;
        border-radius: 10px;
        margin-top: 40px;
    }

    .rera-detils form,
    .rera-box {
        background-color: #fff;
    }

    .shop-main {
        flex-direction: column;
    }

    .shop-part {
        width: 48%;
    }

    .details-table {
        overflow: scroll;
    }

    .details-row {
        width: 900px;
    }

    .overview-image,
    .overview-content {
        width: 100%;
    }

    .right .heading {
        text-align: left;
    }

    .right::before {
        right: unset;
        left: 0;
    }

    .contact-form {
        padding: 30px;
        margin: 10px auto 0px;
    }

    .footer-content {
        width: 100%;
    }

    .footer-info,
    .footer-link {
        width: 45%;
    }
}

@media(max-width:767px) {
    .project-part {
        width: 50%;
    }

    .project-part p {
        width: 100%;
    }

    .overview-heading .heading {
        font-size: 16px;
    }

    .list h4 {
        font-size: 14px;
    }

    .list ul {
        padding-left: 15px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .heading {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .sub-heading {
        font-size: 12px;
    }
}

@media(max-width:567px) {
    .container {
        max-width: 100%;
    }

    .shop-main .heading {
        font-size: 20px;
    }

    .shop-grid {
        flex-wrap: wrap;
    }

    .shop-part {
        width: 100%;
    }

    .contact-action {
        margin: 20px 0;
        gap: 5px;
    }

    .contact-form {
        padding: 10px;
    }
}

@media(max-width:426px) {
    .action-button {
        font-size: 12px;
    }

    .project-part {
        width: 100%;
    }

    .footer-info,
    .footer-link {
        width: 100%;
    }

    .rera-detils .heading {
        padding: 5px;
        font-size: 14px;
    }
}

@media(max-width:312px) {
    .action-button {
        padding: 10px 12px;
    }
}

/* End Responsive CSS  */

/* Start Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
    }

    50% {
        transform: scale(0.95);
        /* box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); */
    }

    100% {
        transform: scale(1);
        /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
    }
}

/* End Animation */
