body {
  margin: 0;
  background: #000;
  color: #ccc;
  font-family: "Helvetica", sans-serif;
  overflow-x: hidden;
  padding-bottom: 100px;
  padding-top: 30px;
}

/* -------- HEADER -------- */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #36362e;
    padding: 15px 25px;
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* LEFT | CENTER | RIGHT */
    align-items: center;
    z-index: 1000;
}

/* Left empty column */
.topbar::before {
    content: "";
}

/* Logo perfectly centered */
.logo {
    text-align: center;
}

.logo img {
    height: 55px;
}

/* Nav Menu stays on right */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end; /* Right align */
}

.nav-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 17px;
}

.nav-menu a:hover { color: #fff; }

/* MOBILE HEADER */
@media(max-width: 768px) {
    .topbar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .close-btn {
  position: absolute;
  /*top: 32% !important;*/
  /*right: 2% !important;*/
  bottom: 14% !important;
  font-size: 12px !important;
  color: #fff;
  cursor: pointer;
  background-color: #655c5c;
  padding: 4px 5px 5px 5px !important;
  border-radius: 40px;
  /*height: 28px;*/
  /*width: 28px;*/
  border: 2px solid white;
}
    .nav-menu {
        margin-top: 10px;
        justify-content: center;
    }
}

/* BUTTON SECTION BELOW HEADER */
.button-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 75px auto 10px auto; /* adjusted for header */
    padding: 0 25px;
}

.custom-btn {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    padding: 3px 0;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
}

.custom-btn:hover {
    background: #333;
}

.custom-btn.active {
    background: #fff;
    color: #000;
}

/* Responsive button layout */
@media(max-width: 768px) {
    .button-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
        margin-top: 140px; /* space for mobile header */
    }
       .button-section a .custom-btn {
  width: 85% !important;
}
}

/* FULLSCREEN GRID */
.gallery {
    padding: 20px 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
/* MOBILE GALLERY: 2 images per row */
@media(max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
#fom-cannect {
  border: 1px solid #c1c1c1;
  padding: 3px;
  background-color: white;
  color: black;
  border-radius: 5px;
}
.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.25s;
}

.gallery img:hover {
    transform: scale(1.02);
}

/* BACK BUTTON */
.back-btn {
    text-align: right;
    padding: 0 25px;
    margin-bottom: 10px;
}

.back-btn a {
    color: #fff;
    text-decoration: none;
    background: #222;
    padding: 8px 18px;
    border-radius: 4px;
}

.back-btn a:hover {
    background: #555;
}

/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#lightbox img {
    max-width: 90%;
    max-height: 85%;
    border: 2px solid #777;
}

/*.close-btn {*/
/*    position: absolute;*/
/*    top: 25px;*/
/*    right: 35px;*/
/*    font-size: 28px;*/
/*    color: #fff;*/
/*    cursor: pointer;*/
/*    background-color: #655c5c;*/
/*  padding: 2px 5px 11px 9px;*/
/*  border-radius: 40px;*/
/*  height: 28px;*/
/*  width: 28px;*/
/*  border: 2px solid white;*/
/*}*/

.close-btn {
  position: absolute;
  bottom: 15px;
  right: 35px;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  background-color: #655c5c;
  padding: 6px 5px 6px 6px;
  border-radius: 5px;
  border: 2px solid white;
}

/* FOOTER FIXED */
.footer {
    background: #111;
    color: #777;
    text-align: center;
    padding: 12px 25px;
    font-size: 10px;
}

/* Footer Links */
.footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
}

.footer .footer-links a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.footer .footer-links a:hover { text-decoration: underline; }

.footer .footer-links img {
    width: 18px;
    vertical-align: middle;
}

/* Paragraph below gallery */
.gallery-description {
    max-width: 1000px;
    margin: 20px auto 60px auto;
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    padding: 0 25px;
}

/* -------- ENQUIRE NOW BUTTON -------- */
.slide-btn-enquiry {
  position: fixed;
  right: 0;
  top: 77%;
  font-size: 15px;
  font-weight: 500;
  display: block;
  z-index: 999999;
  background: linear-gradient(180deg, #383838 0%, #000 100%);
  color: #fff;
  padding: 9px 18px;
  border: 2px solid #fff;
  font-family: "Poppins", sans-serif;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
}

/* POPUP FORM OVERLAY */
.pop-up-form {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

/* FORM BOX */
.pop-up-form-content {
    background-color: #111;
    padding: 30px;
    border-radius: 8px;
    width: 70%;
    max-width: 500px;
    color: #ccc;
    position: relative;
    animation: fadeIn 0.3s ease;
    border: 2px solid #ffffff;
}

/* FORM HEADER */
.pop-up-form-header h3 {
    margin: 0 0 5px 0;
    color: #f0be5a;
    text-align: center;
}

.pop-up-form-header p {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    color: #aaa;
}

/* CLOSE BUTTON */
.pop-up-form-header .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #ccc;
    cursor: pointer;
}

.pop-up-form-header .close:hover { color: #fff; }

/* FORM FIELDS */
.pop-up-form-body .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.pop-up-form-body input {
    flex: 1 1 45%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #222;
    color: #ccc;
    font-size: 14px;
}

.pop-up-form-body input:focus {
    border-color: #f0be5a;
    outline: none;
}

/* SUBMIT BUTTON */
.submit-row {
    text-align: center;
}

.btn-submit {
    background: #f0be5a;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #000;
    transition: 0.3s;
}

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

/* ANIMATION */
@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}

/* RESPONSIVE FORM */
@media(max-width: 500px) {
    .pop-up-form-body .form-row {
        flex-direction: column;
    }
    .pop-up-form-body input { flex: 1 1 100%; }
}

/* MOBILE HEADER: logo top, menu below */
@media(max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: center;
    }
    .nav-menu {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* Ensure buttons fill grid cells */
.button-section a {
    display: block;       /* Make anchor a block so button fills it */
    width: 100%;          /* Full width of grid cell */
    text-align: center;   /* Center the button inside anchor */
}

.button-section a .custom-btn {
   width: 80%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 20px;
}

/* Optional: reduce gap on mobile if needed */
@media(max-width: 768px) {
    .button-section {
        grid-template-columns: repeat(2, 1fr); /* 2 buttons per row */
        gap: 10px;
    }
}
.custom-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}
@media(max-width: 480px) {

    .topbar {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 10px 0 !important;
    }

    /* Logo wrapper center */
    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Remove right-shift from MOBILE */
    .nav-menu {
        padding-right: 0 !important;
        width: 100%;
        display: flex;
        justify-content: center !important;
        gap: 15px;
        margin-top: 8px;
    }

    .nav-menu a {
        font-size: 17px;
    }
}
@media(max-width: 480px) {
    .button-section {
        margin-top: 100px !important; /* Pehle 140px tha, ab kam */
    }
}

/* YELLOW HOVER EFFECT */
.nav-menu a:hover {
    color: #f0be5a !important;
}

/* YELLOW ACTIVE LINK */
.nav-menu a.active {
    color: #f0be5a !important;
    font-weight: 600;
}
