  /* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); */



@font-face {
    font-family: 'RivieraNightsRegular';
    src: url('fonts/RivieraNightsRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RivieraNightsBold';
    src: url('../fonts/RivieraNightsTrial-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RivieraNightsRegular';
    src: url('../fonts/RivieraNightsTrial-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RivieraNightsMedium';
    src: url('../fonts/RivieraNightsTrial-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RivieraNightsLight';
    src: url('../fonts/RivieraNightsTrial-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

    body{
  /* font-family: "Roboto", sans-serif; */
      font-family: 'Riviera Nights Trial', sans-serif;


    }

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: black !important;
    font-family: 'RivieraNightsMedium', sans-serif;
}
.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x)
0
;
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #666666 !important;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.dropdown-menu {
    background-color: #F5F5F5 !important;
}

.dropdown-toggle::after {
    display: none !important;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.header-actions {
    display: flex;
    align-items: center;
}

/* envelope */
.envelope {
    flex-shrink: 0;
}

/* search icon (start visible) */
.search-icon {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* hide icon when search opens */
.header-actions.search-open .search-icon {
    opacity: 0;
    pointer-events: none;
}

/* search box */
.search-box {
    position: relative;           /* ⭐ REQUIRED */
    display: flex;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.35s ease, opacity 0.25s ease;
}

/* active state */
.search-box.active {
    width: 180px;
    opacity: 1;
    margin-left: 8px;
    visibility: visible !important;
    display: flex !important;
}

/* Desktop specific */
@media (min-width: 992px) {
    .search-box.active {
        width: 200px !important;
    }
}

/* input */
.search-box input {
    width: 100%;
    padding-left: 32px;
    border: none;
    border-bottom: 2px solid #0d6efd; /* underline style */
    border-radius: 0;
    box-shadow: none;
}

/* icon inside input */
.search-inside {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}











.hover-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
}

/* Always-on bottom gradient + large label (global tile style across website) */
.hover-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.18) 45%,
        rgba(0, 0, 0, 0) 75%
    );
    pointer-events: none;
}

.hover-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 18px 18px 16px 18px;
}

.hover-card .eighteenswhite {
    font-size: 25px !important;
    font-family: 'RivieraNightsMedium', sans-serif !important;
    letter-spacing: 0.2px;
}

@media (max-width: 991px) {
    .hover-card .eighteenswhite {
        font-size: 26px !important;
    }
}

@media (max-width: 575px) {
    .hover-card .eighteenswhite {
        font-size: 22px !important;
    }
}

/* Products for All Building Projects (index2.html) - keep 10px gaps between tiles */
.products-projects-grid {
    background: #fff; /* ensures gutters look like thin white borders */
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
}

.products-projects-tile {
    /* let Bootstrap column gutters create the visual gap */
}

.products-projects-tile .hover-card {
    height: 340px;                        /* closer to screenshot proportions */
}

@media (max-width: 991px) {
    .products-projects-tile .hover-card {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .products-projects-tile .hover-card {
        height: 260px;
    }
}

/* Dark overlay */
.hover-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover zoom - DISABLED */
.hover-card:hover {
    background-size: cover;
    box-shadow: none;
}

/* Overlay show - DISABLED */
.hover-card:hover::before {
    opacity: 0;
}

/* Text animation - DISABLED */
.hover-card:hover p {
    transform: none;
    opacity: 1;
}







.custom-carousel {
  gap: 20px;
  scroll-behavior: smooth;
}

.carousel-slide {
  flex: 0 0 70%;
  position: relative;

  overflow: hidden;
  transition: transform 0.5s ease;
}

.carousel-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
text-align: start;
  padding: 15px;

  color: white;
}

/* Position Bootstrap style buttons */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  border: none;
  z-index: 10;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
}

@media(max-width:768px){
  .carousel-slide{
    flex: 0 0 90%;
  }
}














.mainheading{
    color: white;
    font-family: 'RivieraNightsBold', sans-serif;
}
.lead{
    color: #F5F5F5 !important;
    font-size: 16px;
    font-family: 'RivieraNightsRegular', sans-serif;
}
.thirty{
     color: black !important;
    font-size: 32px;
    font-family: 'RivieraNightsBold', sans-serif;
}
.sixteen{
    color: black !important;
    font-size: 16px;
    font-family: 'RivieraNightsRegular', sans-serif;
}
.greyss{
    color: #666666;
       font-size: 20px;
       font-family: 'RivieraNightsRegular', sans-serif;
    }
.eighteens{
     color: black !important;
    font-size: 18px;
    font-family: 'RivieraNightsMedium', sans-serif;
}
.twenty{
     color: black !important;
    font-size: 20px;
    font-family: 'RivieraNightsBold', sans-serif;
}
.eighteenswhite{
     color: white !important;
    font-size: 18px;
    font-family: 'RivieraNightsMedium', sans-serif;
}
.sixteenwhite{
  
     color: white !important;
    font-size: 14px;
    font-family: 'RivieraNightsRegular', sans-serif;

}
.twelvegrey{
     color: #666666 !important;
    font-size: 12px;
    font-family: 'RivieraNightsRegular', sans-serif;
       text-decoration: none!important;
}
.ssixgry{
     color: #666666 !important;
    font-size: 12px;
    font-family: 'RivieraNightsRegular', sans-serif;
}
.fourteen{
     color: black !important;
    font-size: 14px;
    font-family: 'RivieraNightsRegular', sans-serif;
}




.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-family: 'RivieraNightsRegular', sans-serif;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid #C4C4C4 !important;
    border-radius: 0px !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control::placeholder {
    color: #999999;
    font-size:12px;
    opacity: 1; /* Firefox ke liye */
}

.form-select {
    --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-family: 'RivieraNightsRegular', sans-serif;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #C4C4C4 !important;
    border-radius: 0px !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-select::placeholder {
    color: #999999;
    font-size:12px;
    opacity: 1; /* Firefox ke liye */
}














.upload-box {
    border: 2px dashed #6c8cff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.upload-box:hover {
    background-color: #f8f9ff;
}

.upload-box.dragover {
    background-color: #eef2ff;
    border-color: #4c6fff;
}



.custom-slider {
    position: relative;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slider-controls {
    margin-top: 25px;
    gap: 15px;
}
/* bottom controls */
.slider-bottom {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 5;
    margin-top: 20px;
}

.slider-bottom .nav-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px;
    margin-right: 10px;
    height: 100%;
}

.slider-bottom button {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid #262626;
    color: #262626;
    font-size: 45px;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    border-radius: 0;
    font-family: 'RivieraNightsLight', sans-serif !important;
    line-height: 0 !important;
    text-align: center !important;
    position: relative;
    box-sizing: border-box;
}

.slider-bottom button:hover {
    background: #f5f5f5;
}

.slider-bottom button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-bottom .line {
    flex: 1;
    height: 1px;
    background: black;
    opacity: 1;
    margin: 0 0 0 0;
    min-width: 50px;
}

.slider-bottom .count {
    color: #333;
    font-family: 'RivieraNightsBold', sans-serif;
    font-size: 30px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-left: 9px;
}

.slider-bottom .count span {
    color: #666;
    font-family: 'RivieraNightsRegular', sans-serif;
    font-size: 14px;
    position: relative;
    top: 0;
}

/* Footer Responsive Styles */
@media (max-width: 767px) {
    /* Make Home Owners list align with menu items below */
    .footer .col-md-2[style*="padding-left"] {
        padding-left: 15px !important;
        margin-left: 0 !important;
    }
    
    /* Ensure consistent padding for all footer columns on mobile */
    .footer .col-md-7,
    .footer .col-md-3 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Set margin-right to 0rem on mobile for all elements with -4rem */
    /* Force override inline styles with !important */
    *[style*="margin-right: -4rem"],
    *[style*="margin-right:-4rem"],
    *[style*="-4rem"] {
        margin-right: 0rem !important;
        margin-right: 0px !important;
    }
    
    /* More specific selectors for common elements */
    .col-md-11[style*="-4rem"],
    .col-md-12[style*="-4rem"],
    .row[style*="-4rem"],
    div[style*="-4rem"],
    p[style*="-4rem"],
    .d-flex[style*="-4rem"],
    .col-md-11[style*="margin-right: -4rem"],
    .col-md-12[style*="margin-right: -4rem"],
    .row[style*="margin-right: -4rem"] {
        margin-right: 0rem !important;
        margin-right: 0px !important;
    }
}

/* Tablet and iPad Responsive Styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Set margin-right to 0rem on tablet/iPad for all elements with -4rem */
    *[style*="margin-right: -4rem"],
    *[style*="margin-right:-4rem"],
    *[style*="-4rem"] {
        margin-right: 0rem !important;
        margin-right: 0px !important;
    }
    
    /* More specific selectors for common elements */
    .col-md-11[style*="-4rem"],
    .col-md-12[style*="-4rem"],
    .row[style*="-4rem"],
    div[style*="-4rem"],
    p[style*="-4rem"],
    .d-flex[style*="-4rem"],
    .col-md-11[style*="margin-right: -4rem"],
    .col-md-12[style*="margin-right: -4rem"],
    .row[style*="margin-right: -4rem"] {
        margin-right: 0rem !important;
        margin-right: 0px !important;
    }
}
