
/*******************************************************/
/************ REMOVE GLOBAL TEXT STROKE ****************/
/*******************************************************/

/* Kill text stroke everywhere */
* {
  -webkit-text-stroke: 0 !important;

}

/* Kill grey shadow outline everywhere */
body,
h1, h2, h3, h4, h5, h6,
p, span, a, li,
.giant-text,
.section-title h2,
.classic-fill,
.about-stroke {
  text-shadow: none !important;
  filter: none !important;
}
/*******************************************************/
/******************** ## Main Header *******************/
/*******************************************************/
.logo{
    width:200px;
    height: 100px;
}

/* ================= LEVEL 2 SUBMENU ================= */

/* Parent item */
.has-submenu {
  position: relative;
}

/* Hide submenu by default */
.has-submenu > .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 260px;

  background: rgba(15, 15, 15, 0.98);
  border-left: 1px solid rgba(255,255,255,0.08);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateX(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

/* SHOW submenu ONLY when hovering CEILINGS */
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

/* Submenu items */
.has-submenu .submenu li {
  list-style: none;
}

.has-submenu .submenu li a {
  display: block;
  font-size: 14px;
  color: #ccc;
  text-decoration: none;

}

.has-submenu .submenu li:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

/* Arrow indicator */
.has-submenu > a::after {

  float: right;
  font-size: 16px;
  opacity: 0.6;
}
/* ================= FIX SUBMENU OVERFLOW ================= */

/* Default – open to the right */
.has-submenu > .submenu{
  left: 100%;
  right: auto;
  transform-origin: left center;
}

/* When submenu is too close to right edge, flip to left */
.navbar-nav > li:last-child .has-submenu > .submenu,
.navbar-nav > li:nth-last-child(2) .has-submenu > .submenu{
  left: auto;
  right: 100%;
  border-left: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  transform: translateX(-10px);
}

/* Hover animation for flipped submenu */
.navbar-nav > li:last-child .has-submenu:hover > .submenu,
.navbar-nav > li:nth-last-child(2) .has-submenu:hover > .submenu{
  transform: translateX(0);
}


/*******************************************************/
/******************** ## Products Area *******************/
/*******************************************************/

/* Section background */
.homeproject-area {
    background: #ffffff !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Heading */
.products-tiles .section-title h2.products-head {
    color: #000000 !important;
}


/* ==================================================== */
/* FILTER TABS */
/* ==================================================== */

.project-filter .nav-link {
    color: #000000 !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 6px;
}

.project-filter .nav-item.current .nav-link,
.project-filter .nav-link.active {
    color: #F31616 !important;
    border-bottom: 2px solid #F31616 !important;
}

/* ==================================================== */
/* PRODUCT GRID – ROW FIX */
/* ==================================================== */

/* Stretch columns to same height */
.project-active {
    align-items: stretch;
}

/* Each product card */
.project-active .item {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;   /* spacing between rows */
}

/* Remove Bootstrap row side-effects inside cards */
.project-active .item > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==================================================== */
/* IMAGE + CONTENT STRUCTURE */
/* ==================================================== */

.apartment-image {
    flex: 1;
}

/* ==================================================== */
/* BLACK CONTENT BOX (EQUAL HEIGHT) */
/* ==================================================== */

.apartment-content {
    background: #000000 !important;
    border-radius: 15px !important;
    padding: 40px 30px;
    text-align: center;
    width:100%;
    min-height: 180px;              /* 🔑 SAME HEIGHT FOR ALL */
    display: flex;
    align-items: center;

}

/* Inner content */
.apartment-content .pro-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==================================================== */
/* TITLE NORMALIZATION (TEXT FIX) */
/* ==================================================== */

.apartment-content .pro-title h4 {
    color: #ffffff !important;

    min-height: 64px;               /* handles 1–2 lines */
    display: flex;
    align-items: center;
    justify-content: center;

    line-height: 1.3;
    text-align: center;
    margin-bottom: 6px;
    
}

/* Category */
.apartment-content .pro-title .category {
    color: #F31616 !important;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ==================================================== */
/* TILE LAYOUTDESIGN */
/* ==================================================== */
.products-tiles {
    background: #f7f6f2;
    padding: 80px 0;
}

.tiles-title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 50px;
    color: #222;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}

.tile {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 40px 25px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    transition: 0.3s ease;
}

.tile img {
    max-width: 120px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(10%);
}

.tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #e60000;
}

.tile:hover img {
    filter: grayscale(0%);
}



/*******************************************************/
/*********************** ## Footer *********************/
/*******************************************************/

/* ================= CLASSIC GYPSUM FIX ================= */

/* CLASSIC text */
.classic-gypsum .classic-text {
    font-size: 120px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #F31515;
    margin: 0 18px 0 0;
    line-height: 1;
}

/* GYPSUM text */
.classic-gypsum .gypsum-text {
    font-size: 120px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

/* Align logo with Address (top) */
.classic-gypsum {
    display: flex;
    align-items: flex-start;
    margin-top: 0;
    align-self: flex-start;
}

/* Ensure footer top row aligns properly */
.footer-top .row.mt-32 {
    align-items: flex-start;
}

/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* KEY FIX */
    gap: 32px;
    padding: 64px 64px; /* reduced vertical gap */
    position: relative;
}

/* Dark overlay */
.footer-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.footer-bottom > * {
    position: relative;
    z-index: 1;
}

/* Footer columns */
.footer-widget {
    width: 22%;
    display: flex;
    flex-direction: column;
}

/* Map column */
.map-widget {
    width: 34%;
    display: flex;
    flex-direction: column;
}

/* ================= MAP FIX ================= */

.map-widget h5 {
    margin-bottom: 12px; /* reduce gap above map */
}

.map-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex: 1; /* stretch to match column height */
}


.map-box::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0),
        rgba(0,0,0,0.6)
    );
    pointer-events: none;
}

.map-box iframe {
    width: 100%;
    height: 100%; /* MATCH COLUMN HEIGHT */
    border: 0;
    filter: grayscale(20%) contrast(1.05);
}

/* ================= SOCIAL ICONS ================= */

.social-links ul {
    display: flex;
    gap: 16px;
    margin: 12px 0 0;
    padding: 0;
}

.social-links ul li {
    list-style: none;
}

.social-links ul li a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    font-size: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-links ul li a:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ================= LISTS ================= */

.links li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.links li:last-child {
    border-bottom: none;
}

.links li i {
    margin-right: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* ================= CONTACT INFO ================= */

.f-c-info {
    font-size: 12px;
}

.f-c-info a,
.f-c-info b {
    font-size: 12px;
}

.f-c-info p {
    margin-bottom: 10px;
    line-height: 1.55;
}

.f-c-info p:first-child {
    max-width: 340px;
}

/* Call inline grid */
.f-c-info p:nth-child(2) {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 6px;
    align-items: start;
}

.f-c-info p:nth-child(2) b {
    white-space: nowrap;
}

.f-c-info p:nth-child(2) a:last-of-type {
    margin-top: 4px;
}

.f-c-info a {
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
}

.f-c-info a:hover {
    opacity: 1;
    color: #e53935;
}

/*******************************************************/
/************** ## Responsive for laptops **************/
/*******************************************************/



@media (max-width: 1200px) {


  /* Product cards spacing */
  .project-active .item {
    margin-bottom: 50px;
  }

  /* Footer layout */
  .footer-bottom {
    padding: 48px;
    gap: 24px;
  }

  .footer-widget {
    width: 23%;
  }

  .map-widget {
    width: 31%;
  }

  /* Footer typography */
  .classic-gypsum .classic-text,
  .classic-gypsum .gypsum-text {
    font-size: 90px;
  }
}

/*******************************************************/
/************** ## Responsive for tablet **************/
/*******************************************************/



@media (max-width: 992px) {

  .hero-2-slider{
    height:fit-content;
  }

  .hero-text{
    margin-top:100px;
  }
    
  /* Section spacing */
  .homeproject-area {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Product cards */
  .apartment-content {
    min-height: 160px;
    padding: 32px 24px;
  }

  .apartment-content .pro-title h4 {
    min-height: 56px;
    font-size: 18px;
  }

  /* Footer switches to 2-column layout */
  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-widget,
  .map-widget {
    width: 48%;
  }

  /* Footer logo text */
  .classic-gypsum {
    flex-direction: column;
  }

  .classic-gypsum .classic-text,
  .classic-gypsum .gypsum-text {
    font-size: 72px;
    margin: 0;
  }
}

@media (max-width: 768px) {


  /* Filter tabs wrap properly */
  .project-filter {
    flex-wrap: wrap;
    gap: 12px;
  }

  .project-filter .nav-link {
    font-size: 14px;
  }

  .hero-text h1{
    font-size:34px;
  }

  /* Product card layout */
  .project-active .item {
    margin-bottom: 40px;
  }

  .apartment-content {
    min-height: auto;
    padding: 28px 20px;
  }

  .apartment-content .pro-title h4 {
    min-height: auto;
    font-size: 17px;
  }

  /* Footer becomes single column */
  .footer-bottom {
    flex-direction: column;
    padding: 40px 24px;
  }

  .footer-widget,
  .map-widget {
    width: 100%;
  }

  .map-box {
    min-height: 240px;
  }

  /* Footer text */
  .classic-gypsum .classic-text,
  .classic-gypsum .gypsum-text {
    font-size: 56px;
    text-align: left;
  }

  .tiles-grid{
    flex-direction: column;
  }
  .tile{
    width:90%;
    
  }
/* Tablet – 3 logos per row */
  .products-tiles .tiles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .products-tiles .tile {
    height: 130px;
    padding: 24px;
  }

  .products-tiles .tile img {
    max-width: 110px;
    max-height: 60px;
  }
}

/* Mobile – 2 logos per row */
@media (max-width: 576px) {
  .products-tiles .tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap:0px;
    padding: 15px;
  }

  .products-tiles .tile {
    height: 100%;
    padding: 10px;
  }

  .products-tiles .tile img {
    max-width: 100px;
    max-height: 55px;
  }
}

/* ==================================================== */
/* FOOTER – MOBILE RESPONSIVE */
/* ==================================================== */

@media (max-width: 768px) {

  /* ---------------- FOOTER TOP ---------------- */

  .footer-top {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  /* Left intro text */
  .footer-top p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
  }

  /* CONTACT large text */
  .footer-top .giant-text {
    font-size: 72px;      /* reduce huge CONTACT text */
    line-height: 1;
    text-align: left;
  }

  /* CLASSIC GYPSUM big branding */
  .classic-gypsum {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
  }

  .classic-gypsum .classic-text {
    font-size: 48px;
    letter-spacing: 2px;
    margin: 0;
  }

  .classic-gypsum .gypsum-text {
    font-size: 48px;
    margin: 0;
  }

  /* ---------------- FOOTER BOTTOM ---------------- */

  .footer-bottom {
    flex-direction: column;
    gap: 32px;
    padding: 40px 24px;
  }

  /* Footer columns full width */
  .footer-widget,
  .map-widget {
    width: 100%;
  }

  /* Footer headings */
  .footer-widget h5 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  /* Footer links */
  .links li {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .links li a {
    font-size: 14px;
  }

  /* Contact info */
  .f-c-info {
    font-size: 13px;
  }

  .f-c-info p {
    margin-bottom: 8px;
  }

  /* ---------------- MAP ---------------- */

  .map-box {
    min-height: 220px;
    border-radius: 14px;
  }

  .map-box iframe {
    height: 220px;
  }

  /* ---------------- SOCIAL ICONS ---------------- */

  .social-links ul {
    gap: 12px;
  }

  .social-links ul li a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
