/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

:root {
  --black: #010001;
  --red: #A71C15;
  --white: #ffffff;
  --light-bg: #f5f6f8;
  --gray-text: #555;
  --max-width: 1200px;
  --font: 'Inria Sans', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { color: var(--gray-text); line-height: 1.7; }

.section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: #8a1710; border-color: #8a1710; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-black:hover { background: #222; }
.btn svg, .btn .arrow { transition: transform 0.3s; }
.btn:hover svg, .btn:hover .arrow { transform: translateX(4px); }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: background 0.3s;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 50px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.logo-text span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-weight: 700; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--red); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; font-weight: 700; font-size: 0.95rem; background: none; border: none; font-family: var(--font); color: var(--black); }
.dropdown-toggle:hover { color: var(--red); }
.dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.3s; }
.dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 20px; font-weight: 400; font-size: 0.9rem; }
.dropdown-menu a:hover { background: var(--light-bg); color: var(--red); }

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

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 32px 24px;
  z-index: 999;
  overflow-y: auto;
}
.mobile-nav.active { display: block; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid #eee; }
.mobile-nav .mobile-sub { padding-left: 20px; }
.mobile-nav .mobile-sub a { font-weight: 400; font-size: 1rem; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(1,0,1,0.82) 0%, rgba(1,0,1,0.4) 100%);
}
.hero .container { position: relative; z-index: 1; text-align: left; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hero h1 { color: var(--white); margin-bottom: 16px; max-width: 750px; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; }

/* Page hero (smaller, for subpages) */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background-size: cover;
  background-position: center;
  margin-top: 80px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(1,0,1,0.85) 0%, rgba(1,0,1,0.5) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; }

/* ===== SERVICES GRID ===== */
.services-section { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 340px;
  cursor: pointer;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover img { transform: scale(1.05); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,0,1,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.service-card h3 { color: var(--white); margin-bottom: 6px; font-size: 1.3rem; }
.service-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 12px; }
.service-card .card-link {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-card .card-link svg { transition: transform 0.3s; }
.service-card:hover .card-link svg { transform: translateX(4px); }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { height: 280px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: 100px 0; background: var(--light-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.about-images { position: relative; }
.about-images .img-main {
  border-radius: 12px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-images .img-accent {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images .img-accent { position: static; width: 100%; height: 200px; margin-top: 16px; border: none; }
}

/* ===== GALLERY SECTION ===== */
.gallery-section { padding: 100px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: auto; }

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

/* ===== HANDYMAN SECTION ===== */
.handyman-section { padding: 100px 0; background: var(--light-bg); }
.handyman-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.handyman-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.handyman-images img { border-radius: 12px; width: 100%; height: 250px; object-fit: cover; }
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 24px 0;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--gray-text);
  padding: 6px 0;
}
.service-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/cta-bg.png') center/cover;
  opacity: 0.15;
}
.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
}
.cta-phone svg { color: var(--red); }

/* ===== CHECKLIST ===== */
.checklist { margin: 24px 0; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-weight: 600;
}
.checklist li svg { color: var(--red); flex-shrink: 0; width: 20px; height: 20px; }

/* ===== FAQ ===== */
.faq-section { padding: 100px 0; background: var(--light-bg); }
.faq-list { margin-top: 48px; max-width: 800px; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  color: var(--black);
}
.faq-question span.num { color: var(--red); margin-right: 16px; }
.faq-question svg { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 20px 40px; }

/* ===== CONTACT ===== */
.contact-section { padding: 100px 0; margin-top: 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.3s;
  background: var(--light-bg);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.social-links a:hover { background: var(--red); color: var(--white); }
.social-links a svg { width: 20px; height: 20px; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card svg { color: var(--red); margin-bottom: 16px; }
.contact-card h4 { margin-bottom: 8px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer { background: var(--black); color: var(--white); padding: 64px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .logo img { filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 12px; font-size: 0.9rem; }
.footer h4 { margin-bottom: 20px; font-size: 1rem; color: var(--white); }
.footer-links a { display: block; color: rgba(255,255,255,0.6); padding: 4px 0; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-contact a:hover { color: var(--white); }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--red); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== SERVICE PAGE TEMPLATE ===== */
.service-hero {
  padding: 160px 0 100px;
  margin-top: 80px;
}
.service-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-hero h1 { margin-bottom: 16px; }
.service-hero p { margin-bottom: 24px; color: var(--gray-text); }
.service-hero img { border-radius: 12px; width: 100%; height: 450px; object-fit: cover; }
.service-content { padding: 80px 0; }
.service-content h2 { margin-bottom: 24px; }
.service-content h3 { margin: 40px 0 12px; color: var(--black); }
.service-content p { margin-bottom: 16px; }
.service-cta-bar {
  background: var(--light-bg);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  margin: 48px 0;
  font-weight: 700;
  font-size: 1.15rem;
}
.service-cta-bar a { color: var(--red); }

/* --- Service Feature Cards --- */
.service-features { padding: 100px 0; }
.service-features.alt-bg { background: var(--light-bg); }
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-features.alt-bg .feature-card { background: var(--white); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(167,28,21,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card .feature-icon svg { width: 24px; height: 24px; color: var(--red); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; margin: 0; }

@media (max-width: 768px) {
  .service-features-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .service-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Service Detail Rows (alternating image + text) --- */
.service-detail { padding: 100px 0; }
.service-detail.alt-bg { background: var(--light-bg); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail-grid.reversed { direction: rtl; }
.service-detail-grid.reversed > * { direction: ltr; }
.service-detail-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}
.service-detail-content h2 { margin-bottom: 16px; }
.service-detail-content p { margin-bottom: 16px; }

@media (max-width: 768px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-grid.reversed { direction: ltr; }
}

/* --- How It Works / Process Steps --- */
.service-process { padding: 100px 0; background: var(--light-bg); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.process-step { text-align: center; }
.process-step .step-num {
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; margin: 0; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 768px) {
  .service-hero { padding-top: 120px; }
  .service-hero .container { grid-template-columns: 1fr; }
}

/* ===== SERVICES PAGE GRID ===== */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.services-page-grid .service-card { height: 380px; }

@media (max-width: 768px) {
  .services-page-grid { grid-template-columns: 1fr; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mt-80 { margin-top: 80px; }
