/* =========================================
   SUMAN CONSTRUCTION – INDEX PAGE STYLES
   index.css
========================================= */

/* =========================================
   HERO
========================================= */
#hero {
  height: 100vh; min-height: 700px;
  position: relative; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.5) 60%, rgba(13,27,42,0.7) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=80') center/cover no-repeat;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--gold); opacity: 0.15;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 2; max-width: 800px;
  padding: 0 24px; margin: 0 auto; text-align: center;
}
.hero-badge {
  display: inline-block;
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-light);
  padding: 8px 24px; margin-bottom: 32px; border-radius: 1px;
  animation: fadeInDown 0.8s ease forwards;
}
.hero-title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700; color: var(--white); line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 48px;
  line-height: 1.7; font-weight: 300;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease both;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; z-index: 2;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* =========================================
   STATS STRIP
========================================= */
#stats { background: var(--navy); padding: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(201,168,76,0.2);
}
.stat-item {
  padding: 48px 32px; text-align: center;
  border-right: 1px solid rgba(201,168,76,0.1);
  position: relative; overflow: hidden; transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s ease;
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 700; color: var(--gold); line-height: 1;
}
.stat-num span { font-size: 32px; }
.stat-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 8px;
}

/* =========================================
   ABOUT
========================================= */
#about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; height: 560px; object-fit: cover;
  border-radius: 2px; box-shadow: var(--shadow-dark);
}
.about-img-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 28px 32px; border-radius: 2px; text-align: center;
}
.about-img-badge .big {
  font-size: 42px; font-weight: 700;
  font-family: 'Cormorant Garamond', serif; color: var(--navy);
}
.about-img-badge .small {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy);
}
.about-text p { color: var(--text-mid); line-height: 1.9; font-size: 15px; margin-bottom: 20px; }
.value-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-card {
  background: var(--white); padding: 24px;
  border-left: 3px solid var(--gold); border-radius: 2px; transition: var(--transition);
}
.value-card:hover { transform: translateX(4px); box-shadow: var(--shadow-gold); }
.value-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--navy); margin-bottom: 8px;
}
.value-card p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* =========================================
   PROJECTS
========================================= */
#projects { background: var(--white); }

/* =========================================================================
   COMPACT VIEW — two firms side by side
========================================================================= */
.projects-firm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 56px; align-items: start;
}
.firm-col {
  background: var(--off-white);
  border: 1px solid #ece4d6; border-radius: 4px;
  padding: 32px 28px; transition: var(--transition);
}
.firm-head { text-align: center; margin-bottom: 8px; }
.firm-name {
  font-size: clamp(24px, 2.4vw, 30px); color: var(--navy); line-height: 1.2;
}
.firm-head .gold-line { margin: 14px auto 0; }

/* sub-tabs (Ongoing / Upcoming / Completed) */
.firm-tabs {
  display: flex; justify-content: center; gap: 4px;
  margin: 24px 0 28px; flex-wrap: wrap;
}
.firm-tab {
  padding: 9px 18px; font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer;
  background: transparent; color: var(--warm-grey);
  border: 1px solid #e0d8cc; border-radius: 20px;
  transition: all 0.3s ease;
}
.firm-tab:hover { color: var(--navy); border-color: var(--gold); }
.firm-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); border-color: transparent;
}

/* panels: only the active one is shown */
.firm-panel { display: none; animation: fadeInUp 0.4s ease both; }
.firm-panel.active { display: block; }

/* vertical project cards (shared by compact + wide) */
.firm-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.project-card {
  background: var(--white); border-radius: 3px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: var(--transition); display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-dark); }
.project-card-img {
  width: 100%; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer;
  background: var(--beige);
}
.project-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; display: block;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.project-card-body h4 {
  font-size: 19px; color: var(--navy); line-height: 1.25; margin-bottom: 6px;
}
.project-card-loc {
  font-size: 12px; color: var(--warm-grey); display: flex; align-items: flex-start; gap: 6px;
}
.project-card-loc i { color: var(--gold); margin-top: 2px; }
.project-card-loc a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
.project-card-loc a:hover { color: var(--gold); text-decoration: underline; }
.project-card-tag {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-top: 8px; display: block;
}
.project-card .project-action-btns { margin-top: auto; padding-top: 16px; }

/* empty-state message */
.project-empty {
  text-align: center; padding: 48px 20px;
  color: var(--warm-grey); font-size: 14px; font-style: italic;
  background: var(--white); border: 1px dashed #ddd3c2; border-radius: 3px;
}

/* "View More" button (compact ongoing with multiple projects) */
.view-more-wrap { display: flex; justify-content: flex-end; margin-top: 20px; }
.btn-view-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--navy); background: transparent;
  border: 1px solid var(--gold); border-radius: 20px;
  padding: 10px 22px; cursor: pointer; transition: all 0.3s ease;
}
.btn-view-more:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}
.btn-view-more i { font-size: 11px; transition: transform 0.3s ease; }
.btn-view-more:hover i { transform: translateX(3px); }

/* =========================================================================
   WIDE VIEW — semi-fullscreen overlay for one firm
========================================================================= */
.project-modal-overlay { z-index: 9500; }
.projects-wide-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(7,17,28,0.72); backdrop-filter: blur(4px);
  padding: 40px 24px; overflow-y: auto;
}
.projects-wide-overlay.active { display: flex; align-items: flex-start; justify-content: center; }
.projects-wide-panel {
  background: var(--white); width: 100%; max-width: 1200px;
  margin: auto; border-radius: 6px;
  box-shadow: var(--shadow-dark);
  padding: 32px 40px 44px;
  animation: fadeInUp 0.35s ease both;
}
.wide-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--warm-grey); background: transparent; border: none;
  cursor: pointer; padding: 4px 0; margin-bottom: 20px; transition: color 0.3s ease;
}
.wide-back:hover { color: var(--gold); }
.wide-back i { font-size: 12px; transition: transform 0.3s ease; }
.wide-back:hover i { transform: translateX(-3px); }
.wide-head { text-align: center; margin-bottom: 4px; }
.wide-firm-name { font-size: clamp(26px, 3vw, 38px); color: var(--navy); line-height: 1.15; }
.wide-head .gold-line { margin: 14px auto 0; }
.wide-tabs {
  display: flex; justify-content: center; gap: 6px;
  margin: 24px 0 32px; flex-wrap: wrap;
}
.wide-tab {
  padding: 10px 24px; font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; background: transparent; color: var(--warm-grey);
  border: 1px solid #e0d8cc; border-radius: 20px; transition: all 0.3s ease;
}
.wide-tab:hover { color: var(--navy); border-color: var(--gold); }
.wide-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); border-color: transparent;
}
/* projects fill a row, then wrap to the next row */
.wide-cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.wide-body .project-empty { max-width: 520px; margin: 20px auto; }

/* =========================================
   AMENITIES
========================================= */
#amenities { background: var(--navy); position: relative; overflow: hidden; }
#amenities::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="1" height="1" fill="%23c9a84c" opacity="0.05"/></svg>') repeat;
  background-size: 40px 40px;
}
.amenities-icons-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 60px;
}
.amenity-icon-card {
  padding: 40px 20px; text-align: center;
  border: 1px solid rgba(201,168,76,0.08);
  transition: var(--transition); cursor: default;
}
.amenity-icon-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.3);
}
.amenity-icon-card i {
  font-size: 32px; color: var(--gold); display: block; margin-bottom: 12px;
  transition: transform 0.4s ease;
}
.amenity-icon-card:hover i { transform: scale(1.2); }
.amenity-icon-card span {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* =========================================
   FAQ
========================================= */
#faq { background: var(--off-white); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 56px; align-items: start;
}
.faq-col { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--white); border: 1px solid #ece4d6;
  border-radius: 4px; overflow: hidden; transition: var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-gold); border-color: rgba(201,168,76,0.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left; cursor: pointer;
  background: transparent; border: none;
  padding: 22px 24px; font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 600; color: var(--navy);
  transition: color 0.3s ease;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0; font-size: 13px; color: var(--gold);
  transition: transform 0.35s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0 24px 22px; margin: 0;
  font-size: 14px; line-height: 1.85; color: var(--text-mid);
}

/* =========================================
   WHY CHOOSE US
========================================= */
#why { background: var(--beige); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.why-card {
  text-align: center; padding: 40px 24px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition); border-bottom: 3px solid transparent;
}
.why-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--gold); box-shadow: var(--shadow-gold);
}
.why-icon {
  font-size: 40px; color: var(--gold); margin-bottom: 20px; display: block;
  transition: transform 0.4s ease;
}
.why-card:hover .why-icon { transform: scale(1.2) rotate(-5deg); }
.why-card h4 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.why-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* =========================================
   GALLERY
========================================= */
#gallery { background: var(--off-white); }
.gallery-masonry { columns: 3; gap: 12px; margin-top: 60px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 12px;
  overflow: hidden; border-radius: 2px;
  position: relative; cursor: pointer;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.6s ease; }
.gallery-item::after {
  content: '\f065';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; inset: 0;
  background: rgba(13,27,42,0.6);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 24px;
  opacity: 0; transition: opacity 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* =========================================
   TESTIMONIALS
========================================= */
#testimonials { background: var(--navy); }
.testimonials-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px; padding: 36px 28px; transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.07); border-color: var(--gold); transform: translateY(-4px);
}
.testi-stars { color: var(--gold); font-size: 13px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text {
  font-size: 15px; color: rgba(255,255,255,0.75);
  line-height: 1.8; font-style: italic; margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--white); }
.testi-role { font-size: 11px; color: var(--gold); letter-spacing: 1px; }

/* =========================================
   FOUNDER'S MESSAGE
========================================= */
#founder { background: var(--off-white); }
.founder-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  margin-top: 60px; align-items: center;
}
.founder-photo-wrap { position: relative; }
.founder-photo {
  width: 100%; height: auto; display: block;
  border-radius: 4px; box-shadow: var(--shadow-dark);
  object-fit: cover;
}
/* subtle gold accent frame behind the photo */
.founder-photo-wrap::before {
  content: ''; position: absolute; left: -16px; top: -16px;
  width: 80px; height: 80px;
  border-top: 3px solid var(--gold); border-left: 3px solid var(--gold);
  border-radius: 4px 0 0 0;
}
.founder-name {
  font-size: 34px; color: var(--navy); line-height: 1.15;
}
.founder-role {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-top: 6px; font-weight: 600;
}
.founder-text .gold-line.left { margin: 18px 0 24px; }
.founder-msg {
  font-size: 15px; color: var(--text-mid); line-height: 1.9;
  margin-bottom: 18px; font-style: italic;
}
.founder-sign { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.founder-sign-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: var(--navy);
}
.founder-sign-role {
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--warm-grey);
}

/* =========================================
   CONTACT
========================================= */
#contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; margin-top: 60px;
}
.contact-info h3 { font-size: 34px; color: var(--navy); margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail-icon {
  width: 44px; height: 44px; background: rgba(201,168,76,0.1);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 18px; flex-shrink: 0;
}
.contact-detail-text strong {
  display: block; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--warm-grey); margin-bottom: 4px;
}
.contact-detail-text span { font-size: 15px; color: var(--text-dark); }
.contact-detail-text span a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.contact-detail-text span a:hover { color: var(--gold); }
.contact-cta-btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 14px 28px; border-radius: 2px; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; transition: var(--transition);
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }
.btn-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  padding: 14px 28px; border-radius: 2px; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; transition: var(--transition);
}
.btn-call:hover { background: var(--navy-light); transform: translateY(-2px); }

/* =========================================
   RESPONSIVE – INDEX PAGE
========================================= */
@media (max-width: 1024px) {
  .about-grid, .faq-grid, .founder-grid, .location-grid, .contact-grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-icons-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-firm-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .testimonials-wrap { grid-template-columns: 1fr; }
  .about-img-badge { right: 0; bottom: -16px; }
}
@media (max-width: 768px) {
  .section-pad { padding: 70px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .amenities-icons-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 1; }
  .firm-col { padding: 24px 18px; }
  .projects-wide-panel { padding: 24px 18px 32px; }
  .projects-wide-overlay { padding: 20px 12px; }
  .wide-cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
  .value-cards { grid-template-columns: 1fr; }
}
