/* ============================================
   Four Seasons Home Furnishing - Main Styles
   ============================================ */

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}
body {
    background:#fff;
    overflow-x:hidden;
}

/* ---------- Header (Fixed Alignment & Spacing) ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 50px;
  height: 70px;
  background: #fff;
  border-bottom: 1px solid #e6e8ec;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 45px;
  width: auto;
  display: block;
}

/* Login Button */
.login-button {
  padding: 10px 26px;
  border: none;
  border-radius: 12px;
  background: #007bff;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
}

.login-button:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* ---------- Responsive Fix ---------- */
@media (max-width: 768px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
  }

  .logo img {
    height: 38px;
  }

  .login-button {
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* ==========================
   LOGIN MODAL STYLING (Blue Theme)
========================== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
  z-index: 3000;
}

/* Modal Box */
.modal-content {
  position: relative;
  background: #fff;
  padding: 35px 28px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
  width: 90%;
  max-width: 380px;
  text-align: center;
  animation: fadeIn .3s ease;
  border-top: 5px solid #007bff;
}

/* Heading */
.modal-content h2 {
  margin-bottom: 18px;
  font-size: 24px;
  font-family: "Playfair Display", serif;
  color: #111827;
}

/* Inputs */
.modal-content input {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  font-size: 15px;
}

.modal-content input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

/* Button */
.modal-content button {
  width: 100%;
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-content button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  background: linear-gradient(90deg, #0056b3, #004099);
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  font-size: 24px;
  color: #555;
  transition: color 0.2s ease;
}

.close:hover {
  color: #111;
}

/* Login Message */
#loginMessage {
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .modal-content {
    width: 92%;
    padding: 25px 20px;
  }
  .modal-content h2 {
    font-size: 20px;
  }
}

/* ---------- Carousel ---------- */
#carouselExampleControls {
  width: 100%;
}

#carouselExampleControls .carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Caption container */
#carouselExampleControls .carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-left: 10%;
}

/* Remove black background */
#carouselExampleControls .carousel-text-bg {
  background: none;
  padding: 14px 20px;
  border-radius: 10px;
  max-width: 90%;
}

/* Headline */
#carouselExampleControls .carousel-caption h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(26px, 3.5vw, 42px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Subheading */
#carouselExampleControls .carousel-caption p {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  color: #f1f5f9;
  margin-top: 10px;
  font-weight: 500;
}

/* Responsive height adjustments */
@media (max-width: 768px) {
  #carouselExampleControls .carousel-item img {
    height: 280px;
  }
  #carouselExampleControls .carousel-caption {
    padding-left: 6%;
  }
  #carouselExampleControls .carousel-caption h2 {
    font-size: clamp(22px, 3vw, 32px);
  }
  #carouselExampleControls .carousel-caption p {
    font-size: clamp(15px, 2vw, 18px);
  }
}

@media (max-width: 576px) {
  #carouselExampleControls .carousel-item img {
    height: 200px;
  }
  #carouselExampleControls .carousel-caption {
    padding-left: 5%;
  }
}

/* ====== ABOUT layout (desktop two-column, mobile stack) ====== */
.about-section{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:100px;
  padding: clamp(40px, 8vw, 100px) 8vw;
  margin: 0 0 100px 0;
  flex-wrap: nowrap;
}
.about-text{ flex:1 1 50%; max-width:700px; color:#374151; }
.about-image{ flex:1 1 45%; display:flex; justify-content:flex-end; }
.about-image img{
  width:100%; max-width:520px; height:auto;
  border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.12); object-fit:cover;
}
@media (max-width: 991px){
  .about-section{ flex-direction:column; gap:60px; }
  .about-image{ justify-content:center; }
  .about-image img{ max-width:90%; }
}

/* ====== ABOUT heading ====== */
.about-title{
  font-family:'Poppins',sans-serif !important;
  font-weight:700 !important; color:#111827 !important;
  text-align:center !important;
  line-height:1.25 !important;
  margin:24px auto 12px !important;
  max-width:700px !important;
  font-size:clamp(28px, 2.6vw, 38px) !important;
  text-wrap:balance; white-space:normal !important; display:block;
}
.about-title .nowrap{ white-space:nowrap; }

@media (max-width:576px){
  .about-title{
    text-align:left !important;
    font-size:clamp(22px, 6vw, 26px) !important;
    margin:16px 12px 10px 12px !important;
    max-width:95% !important; line-height:1.3 !important;
  }
  .about-title .nowrap{ white-space:normal !important; }
}

/* ====== Section headings sane top margin on desktop ====== */
@media (min-width:768px){
  .section-heading{ margin-top:30px !important; }
}

/* ====== ABOUT SECTION - DESKTOP LAYOUT ====== */
@media (min-width: 992px) {
  .about-section {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 90px;
    padding: 60px 8vw !important;
  }

  .about-text {
    order: 1;
    text-align: left;
    max-width: 800px !important;
  }

  .about-title {
    text-align: left !important;
    font-size: clamp(32px, 2.8vw, 42px) !important;
    line-height: 1.3 !important;
    margin: 0 0 18px 0 !important;
    max-width: 700px !important;
  }

  .about-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
    text-align: justify;
  }

  .about-image {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-image img {
    width: 100%;
    max-width: 750px !important;
    height: 500px !important;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 80px;
  }
}

/* ---------- Furnishing Banner Section ---------- */
.furnishing-banner {
  padding: 0 5vw 60px;
  margin-top: 0 !important;
  background-color: #fffaf5;
  text-align: center;
}

.about-section,
section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.section-heading {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: left !important;
  line-height: 1.3 !important;
  margin: 10px 0 25px 0 !important;
  padding: 0 !important;
  max-width: 600px !important;
  text-wrap: balance;
  white-space: normal !important;
  display: block;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media (max-width: 576px) {
  .section-heading {
    font-size: clamp(22px, 5.8vw, 26px) !important;
    text-align: left !important;
    margin: 8px 12px 20px 12px !important;
    line-height: 1.3 !important;
    max-width: 95% !important;
  }
}

.banner-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.banner-box {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background-color: #fff;
  transition: all 0.4s ease;
}

.banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  transition: transform 0.4s ease;
}

.banner-box:hover img {
  transform: scale(1.07);
}

.banner-box:hover {
  box-shadow: 0 10px 30px rgba(215, 163, 93, 0.3);
}

@media (max-width: 1199px) {
  .banner-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .furnishing-banner {
    margin-top: 30px !important;
    padding-top: 20px;
  }

  .section-heading {
    margin-top: 10px;
    font-size: 24px;
  }
}

@media (min-width: 768px) {
  .section-heading {
    margin-top: 100px;
  }
}

/* ===============================
   Services Gallery (3 cards per row)
=============================== */
.services-gallery {
  padding: 60px 5vw;
  background: #fafafa;
  text-align: center;
}

.services-gallery h2 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: left !important;
  line-height: 1.3 !important;
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
  max-width: 600px !important;
  text-wrap: balance;
  white-space: normal !important;
  display: block;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media (max-width: 576px) {
  .services-gallery h2 {
    font-size: clamp(22px, 5.8vw, 26px) !important;
    text-align: left !important;
    margin: 0 12px 25px 12px !important;
    line-height: 1.3 !important;
    max-width: 95% !important;
  }
}

/* 3 Cards per row */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: center;
  align-items: center;
}

/* Card */
.service-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 1 / 1;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-item:hover img {
  transform: scale(1.08);
}

/* Hover overlay with name */
.service-item .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover .overlay {
  opacity: 1;
}

.service-item .overlay span {
  color: #fff;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 14px;
  border-radius: 10px;
  text-transform: capitalize;
}

/* Hidden cards until expanded */
.service-item.is-hidden {
  display: none;
}

/* View More Button */
.view-more-btn {
  margin-top: 25px;
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  background: #007bff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.1s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.view-more-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .services-gallery {
    margin-top: 80px;
  }
}

@media (max-width: 767px) {
  .services-gallery {
    margin-top: 40px;
  }
}

/* ---------- Offer ---------- */
#offer {
  margin: 40px auto 120px;
  min-height: 250px;
  background: linear-gradient(135deg, #fff7ea, #fdf2e9);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px 40px;
}

#offer h2 {
  font-family: "Playfair Display", serif;
  color: #b45309;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

#offer h3 {
  font-family: "Poppins", sans-serif;
  color: #7c2d12;
  font-size: 20px;
  margin-bottom: 25px;
}

#offer form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

#offer input[type="email"] {
  width: 260px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d7a35d;
  font-size: 15px;
  outline: none;
  text-align: center;
}

#offer button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}

#offer button:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  #offer {
    margin: 20px auto 80px;
    min-height: 280px;
    padding: 30px 15px 80px;
  }

  #offer form {
    margin-bottom: 20px;
  }

  #offer button {
    margin-bottom: 15px;
  }

  #offer h2 {
    font-size: 26px;
  }

  #offer h3 {
    font-size: 16px;
  }

  #offer input[type="email"] {
    width: 90%;
  }
}

/* ---------- Services ---------- */
#services {
  padding: 60px 5vw 120px !important;
  text-align: center;
  position: relative;
  z-index: 1;
}

#services h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.service {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 50px 30px;
  width: 100%;
  max-width: 380px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service i {
  font-size: 38px;
  color: #000;
  margin-bottom: 16px;
}

.service h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin: 0;
}

@media (max-width: 991px) {
  #services .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  #services .service-grid {
    grid-template-columns: 1fr;
  }
  .service {
    max-width: 100%;
    height: auto;
    padding: 40px 20px;
  }
  #services {
    padding-bottom: 90px !important;
  }
}

/* ========= Global safety ========= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== Footer layout ===== */
.mfoot{
  background:#fff;
  color:#000;
  padding:48px 5vw 20px;
  border-top:1px solid #e5e7eb;
  font-family:'Poppins', sans-serif;
}
.mfoot__wrap{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:40px;
  align-items:start;
}
.mfoot__logo{height:56px;margin-bottom:12px;}
.mfoot h4{margin:0 0 12px;font-weight:700;font-size:1.05rem}

/* ===== Services list: 2-column flow on desktop ===== */
.mfoot__svc-list{
  list-style:none;
  padding:0;
  margin:0;
  column-count:2;
  column-gap:40px;
  column-fill:balance;
  max-width:520px;
}
.mfoot__svc-list li{
  break-inside:avoid;
  margin:8px 0;
  line-height:1.6;
  white-space:normal;
}

/* ===== Contact list ===== */
.mfoot__contact{font-style:normal}
.mfoot__contact-list{
  list-style:none;margin:0;padding:0
}
.mfoot__contact-list li{
  display:flex;gap:10px;align-items:flex-start;
  margin:10px 0;line-height:1.6
}
.mfoot__contact-list i{color:#f2c14e;min-width:18px;text-align:center;margin-top:2px}

/* Bottom bar */
.fsf-bottom{
  max-width:1200px;margin:14px auto 0;
  padding-top:12px;border-top:1px solid #e5e7eb;
  display:flex;gap:12px 16px;justify-content:space-between;flex-wrap:wrap;
  font-size:14px
}
.fsf-bottom a{color:#f2c14e;font-weight:600;text-decoration:none}
.fsf-bottom a:hover{color:#000}

/* ===== Footer Responsiveness ===== */
@media (max-width:1024px){
  .mfoot__wrap{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "brand brand"
      "services contact";
  }
}

@media (max-width:767px){
  html,body{
      max-width:100%;
      overflow-x:hidden
  }
  .mfoot__wrap{
    display:flex;
    flex-direction:column;
    gap:28px;
    text-align:left
  }
  .mfoot__logo{height:50px}
  .mfoot__svc-list{column-count:2}
  .mfoot__contact-list li{align-items:flex-start}
  .fsf-bottom{flex-direction:column;align-items:flex-start}
}