/* =============================================
   Innovative Masonry & Restoration — style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  --dark: #141619;
  --dark-alt: #1e2025;
  --white: #ffffff;
  --blue: #2158e4;
  --blue-hover: #1a46c4;
  --light-bg: #f8f8f8;
  --text: #222222;
  --text-muted: #666666;
  --border: #e0e0e0;
  --font: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 4px;
  --transition: 0.25s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --max-w: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utilities --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-dark { background: var(--dark); }
.bg-light { background: var(--light-bg); }

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); }

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}
.site-logo img { width: 60px; height: 60px; object-fit: contain; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--transition);
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.active > a { background: rgba(255,255,255,0.12); }

/* Dropdown */
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--dark-alt); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 0; z-index: 200; }
.dropdown li a { display: block; padding: 10px 18px; color: var(--white); font-size: 0.9rem; transition: background var(--transition); }
.dropdown li a:hover { background: rgba(255,255,255,0.08); }
.main-nav > li:hover .dropdown { display: block; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 100vw);
  height: 100vh;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  padding: 80px 24px 24px;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.5);
}
.mobile-nav.open { display: flex; }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-item > a {
  display: block;
  color: var(--white);
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.mobile-submenu { padding: 0 0 8px 16px; }
.mobile-submenu li a { display: block; color: rgba(255,255,255,0.75); padding: 8px 0; font-size: 0.9rem; }
.mobile-submenu li a:hover { color: var(--white); }
.mobile-nav-toggle { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-toggle .arrow { color: rgba(255,255,255,0.5); font-size: 0.8rem; transition: transform var(--transition); }
.mobile-nav-toggle.expanded .arrow { transform: rotate(180deg); }
.mobile-submenu { display: none; }
.mobile-submenu.open { display: block; }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 8px;
}
.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998;
}
.nav-overlay.open { display: block; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 120px 20px 80px;
  margin: 0 auto;
  text-align: center;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--dark);
  padding: 140px 20px 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 10px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* --- Section Headings --- */
.section-heading { margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.section-heading p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin: 0 auto; }
.section-heading.white h2,
.section-heading.white p { color: var(--white); }

/* --- Services Grid --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  background: var(--white);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.service-card-body ul { padding-left: 18px; list-style: disc; }
.service-card-body ul li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 6px; }
.service-card-link { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 600; font-size: 0.9rem; }
.service-card-link:hover { text-decoration: underline; }

/* --- Why Choose Us --- */
.reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.reason-card { padding: 28px; border: 1px solid var(--border); border-radius: 8px; }
.reason-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.reason-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Process --- */
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.process-img img { width: 100%; border-radius: 8px; object-fit: cover; max-height: 480px; }
.process-steps { }
.process-steps h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 32px; }
.step {
  display: flex; gap: 18px; margin-bottom: 24px; align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.step-text h4 { font-weight: 600; margin-bottom: 4px; }
.step-text p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Excellence Banner --- */
.excellence-banner {
  background: var(--dark);
  padding: 80px 20px;
  text-align: center;
}
.excellence-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 16px; }
.excellence-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 720px; margin: 0 auto; }

/* --- Contact Section --- */
.contact-section { background: var(--light-bg); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form-wrap h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-method { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-method label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; }
.contact-method label span { font-weight: 400; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.info-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.info-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.info-text span, .info-text a { color: var(--text-muted); font-size: 0.95rem; }
.info-text a:hover { color: var(--blue); }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  transition: background var(--transition);
}
.social-link:hover { background: var(--blue); }

/* --- Projects Grid --- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.project-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card img { width: 100%; height: 220px; object-fit: cover; }
.project-card-body { padding: 24px; }
.project-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.project-card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }
.project-card-body a { color: var(--blue); font-weight: 600; font-size: 0.9rem; }
.project-card-body a:hover { text-decoration: underline; }

/* --- Articles Grid --- */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.article-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.article-card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }
.article-card-body a { color: var(--blue); font-weight: 600; font-size: 0.9rem; }
.article-card-body a:hover { text-decoration: underline; }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Service Detail Page --- */
.service-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.service-detail-content h2 { font-size: 1.6rem; font-weight: 700; margin: 32px 0 14px; }
.service-detail-content h2:first-child { margin-top: 0; }
.service-detail-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.service-detail-content ul { padding-left: 20px; list-style: disc; margin-bottom: 20px; }
.service-detail-content ul li { color: var(--text-muted); margin-bottom: 8px; }
.service-sidebar { }
.sidebar-card { background: var(--dark); color: var(--white); padding: 28px; border-radius: 8px; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.sidebar-card ul li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: rgba(255,255,255,0.8); }
.sidebar-card ul li a:hover { color: var(--white); }
.sidebar-cta { background: var(--blue); color: var(--white); padding: 28px; border-radius: 8px; text-align: center; }
.sidebar-cta h3 { font-size: 1.1rem; margin-bottom: 10px; }
.sidebar-cta p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 18px; }
.sidebar-cta .btn { background: var(--white); color: var(--blue); }
.sidebar-cta .btn:hover { background: rgba(255,255,255,0.9); }

/* --- About --- */
.about-hero-text { max-width: 700px; }
.about-hero-text h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.about-hero-text p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.stat-item { text-align: center; padding: 20px; background: var(--light-bg); border-radius: 8px; }
.stat-item .num { font-size: 2rem; font-weight: 700; color: var(--blue); }
.stat-item .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* --- Footer --- */
.site-footer { background: var(--dark); color: var(--white); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.9rem;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--blue); }

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 12px; }
.legal-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal-content ul li { color: var(--text-muted); margin-bottom: 6px; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .contact-layout { grid-template-columns: 1fr; }
  .process-layout { grid-template-columns: 1fr; }
  .process-img { display: none; }
  .service-detail { grid-template-columns: 1fr; }
  .service-sidebar { display: none; }
  .about-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section-pad { padding: 50px 0; }
  .hero-content { padding: 100px 16px 60px; }
  .reasons-grid,
  .services-grid,
  .projects-grid,
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Misc --- */
.success-msg { background: #d4edda; color: #155724; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; display: none; }
.success-msg.show { display: block; }
