/* ============================================
   ProponClick.com — Global Stylesheet
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B3A5C;
  --navy-dark: #0F2440;
  --blue-mid: #2E6EA6;
  --accent: #E8522E;
  --accent-hover: #D14420;
  --sand: #F5E6D3;
  --light-bg: #F7F9FC;
  --white: #FFFFFF;
  --dark: #1E2A3A;
  --text: #3B4A5E;
  --text-light: #6B7B8E;
  --border: #DDE4ED;
  --shadow: 0 2px 16px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 8px 32px rgba(27, 58, 92, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark);
  line-height: 1.25;
}

a { color: var(--blue-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Header & Nav --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img { height: 62px; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 6px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,82,46,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.8rem; margin-bottom: 18px; color: var(--white); }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; max-width: 560px; opacity: 0.88; margin-bottom: 32px; line-height: 1.7; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 40px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--accent); }
.hero-stats .stat-label { font-size: 0.85rem; opacity: 0.7; margin-top: 2px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,82,46,0.3); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Section Utilities --- */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: 2.1rem; margin-bottom: 14px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-header .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
}

/* --- Grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .section { padding: 56px 0; }
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img {
  height: 220px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.card-img svg { width: 64px; height: 64px; opacity: 0.3; }
.card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 14px; }
.card-meta {
  display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-light);
  padding-top: 14px; border-top: 1px solid var(--border);
}
.card-meta span { display: flex; align-items: center; gap: 4px; }
.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
}

/* --- Feature Grid --- */
.feature-box {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.feature-box:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(232,82,46,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 1.4rem;
}
.feature-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-box p { font-size: 0.88rem; color: var(--text-light); }

/* --- Enquiry Form --- */
.form-section { background: var(--light-bg); padding: 80px 0; }
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-wrap h2 { font-size: 1.8rem; margin-bottom: 8px; }
.form-wrap > p { color: var(--text-light); margin-bottom: 28px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(46,110,166,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 8px; }

/* Inline Enquiry (sidebar/embedded) */
.enquiry-inline {
  background: var(--navy);
  padding: 32px;
  border-radius: var(--radius-lg);
  color: var(--white);
}
.enquiry-inline h3 { color: var(--white); margin-bottom: 6px; font-size: 1.3rem; }
.enquiry-inline > p { opacity: 0.75; font-size: 0.88rem; margin-bottom: 22px; }
.enquiry-inline .form-group label { color: rgba(255,255,255,0.8); }
.enquiry-inline .form-group input,
.enquiry-inline .form-group select,
.enquiry-inline .form-group textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.enquiry-inline .form-group input::placeholder { color: rgba(255,255,255,0.4); }
.enquiry-inline .form-group select option { color: #1E2A3A; background: #fff; }
.enquiry-inline .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.enquiry-inline .form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,82,46,0.2);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 56px 0 48px;
  color: var(--white);
}
.page-header h1 { font-size: 2.2rem; color: var(--white); margin-bottom: 8px; }
.page-header p { opacity: 0.75; font-size: 1rem; }
.breadcrumb { margin-top: 14px; font-size: 0.82rem; opacity: 0.6; }
.breadcrumb a { color: var(--white); }
.breadcrumb span { margin: 0 8px; }

/* --- Builder Cards --- */
.builder-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.builder-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.builder-logo {
  width: 80px; height: 80px;
  background: var(--light-bg);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy); font-size: 1.4rem;
}
.builder-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.builder-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; }
.builder-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(46,110,166,0.08);
  color: var(--blue-mid);
  border-radius: 20px;
  margin: 2px;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item::after {
  content: 'View';
  position: absolute;
  inset: 0;
  background: rgba(27,58,92,0.6);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-placeholder {
  color: var(--text-light); font-size: 0.85rem; text-align: center; padding: 20px;
}

/* --- Blog Cards --- */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-img { height: 180px; background: var(--light-bg); display: flex; align-items: center; justify-content: center; }
.blog-body { padding: 22px; }
.blog-date { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.blog-body p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 14px; }
.blog-link { font-size: 0.88rem; font-weight: 600; color: var(--accent); }

/* --- Testimonials --- */
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 12px; left: 24px;
  line-height: 1;
}
.testimonial p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; padding-top: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.testimonial-role { font-size: 0.78rem; color: var(--text-light); }

/* --- Project Detail Layout --- */
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-gallery {
  height: 400px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
}
.detail-info h2 { font-size: 1.6rem; margin-bottom: 12px; }
.detail-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 24px 0; padding: 24px; background: var(--light-bg); border-radius: var(--radius);
}
.spec-item { }
.spec-label { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-value { font-size: 1rem; font-weight: 600; color: var(--dark); margin-top: 2px; }
.detail-desc { margin: 24px 0; }
.detail-desc h3 { font-size: 1.2rem; margin-bottom: 12px; }
.detail-desc p { font-size: 0.92rem; line-height: 1.75; color: var(--text); }
.amenity-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.amenity-tag {
  padding: 8px 16px;
  background: rgba(46,110,166,0.06);
  border: 1px solid rgba(46,110,166,0.12);
  border-radius: 24px;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
}

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-box {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-box:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(232,82,46,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.1rem;
}
.contact-info-box h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-box p { font-size: 0.88rem; color: var(--text-light); }
.map-placeholder {
  margin-top: 32px;
  height: 260px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about img { height: 48px; margin-bottom: 16px; filter: brightness(2); }
.footer-about p { font-size: 0.88rem; line-height: 1.7; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent); color: var(--white); }

/* --- Misc --- */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #c93a1a 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 14px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }

/* About Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { margin-bottom: 36px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.timeline-item h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item .year { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; color: var(--text-light); }

/* Filter Tabs */
.filter-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}