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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pomegranate: #c0392b;
  --pomegranate-dark: #96281b;
  --navy: #1a1a2e;
  --navy-light: #16213e;
  --accent: #e74c3c;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --bg: #fff;
  --bg-alt: #f8f9fa;
  --bg-dark: #1a1a2e;
  --border: #e0e0e0;
  --max-w: 1200px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4, h5 { font-family: 'Inter', sans-serif; font-weight: 600; }

p { margin-bottom: 1em; }
a { color: var(--pomegranate); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--pomegranate-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: #fff; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 12px; }
.top-bar-right a {
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: all 0.3s;
}
.top-bar-right a:hover { background: var(--pomegranate); border-color: var(--pomegranate); }

/* ===== HEADER ===== */
#Header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 20px;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.logo span { color: var(--pomegranate); }

nav ul { list-style: none; display: flex; gap: 28px; align-items: center; }
nav ul li a {
  font-size: 14px; font-weight: 500; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: color 0.3s; white-space: nowrap;
}
nav ul li a:hover { color: var(--pomegranate); }

.btn {
  display: inline-block; padding: 12px 28px;
  background: var(--pomegranate); color: #fff !important;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  text-transform: uppercase; border: none; border-radius: 4px;
  cursor: pointer; transition: all 0.3s; letter-spacing: 0.5px;
}
.btn:hover { background: var(--pomegranate-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; border: 2px solid var(--pomegranate);
  color: var(--pomegranate) !important;
}
.btn-outline:hover { background: var(--pomegranate); color: #fff !important; }
.btn-white { background: #fff; color: var(--navy) !important; }
.btn-white:hover { background: #f0f0f0; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); margin: 5px 0; transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 650px; padding: 0 20px;
  margin: 0 auto 0 calc((100% - var(--max-w)) / 2 + 20px);
}
.hero-content h1 { color: #fff; margin-bottom: 20px; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero-content h1 span { color: var(--pomegranate); }
.hero-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 35vh; min-height: 280px; max-height: 380px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.7) 100%);
}
.page-hero .hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 0 20px; margin: 0; max-width: none;
}
.page-hero .hero-content h1 { color: #fff; margin-bottom: 8px; }
.page-hero .hero-content p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.breadcrumb {
  color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; margin-top: 12px; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--pomegranate); margin-bottom: 10px;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 35px 30px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: transparent; }
.service-icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  background: rgba(192,57,43,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--pomegranate);
}
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: rgba(192,57,43,0.15);
  margin-bottom: 15px;
}
.process-step h4 { margin-bottom: 10px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.process-step p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.pricing-card.featured {
  border-color: var(--pomegranate);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pomegranate); color: #fff;
  padding: 4px 20px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-subtitle { color: var(--text-light); font-size: 0.9rem; margin-bottom: 25px; }
.pricing-card ul {
  list-style: none; text-align: left; margin-bottom: 30px;
}
.pricing-card ul li {
  padding: 8px 0; border-bottom: 1px solid var(--bg-alt);
  font-size: 0.92rem; color: var(--text);
  padding-left: 24px; position: relative;
}
.pricing-card ul li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--pomegranate); font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--bg);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid var(--border);
}
.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--pomegranate);
}
.testimonial-author { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { color: var(--text-light); font-size: 0.85rem; }

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 25px;
}
.portfolio-overlay h4 { color: #fff; margin-bottom: 5px; }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.portfolio-tags span {
  font-size: 11px; padding: 3px 10px;
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8);
  border-radius: 20px;
}

/* ===== ABOUT FEATURES ===== */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.about-feature { text-align: center; padding: 20px; }
.about-feature-icon {
  font-size: 2.5rem; color: var(--pomegranate); margin-bottom: 15px;
}
.about-feature h4 { margin-bottom: 10px; }
.about-feature p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ===== TWO COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col img { border-radius: 10px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  display: flex; gap: 15px; align-items: flex-start;
  margin-bottom: 25px;
}
.contact-info-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: rgba(192,57,43,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--pomegranate); font-size: 18px;
}
.contact-info-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 15px;
  margin-bottom: 16px; transition: border-color 0.3s;
  background: var(--bg);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--pomegranate);
}
.contact-form textarea { height: 140px; resize: vertical; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 50px 18px 22px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; position: relative;
  background: var(--bg);
  transition: background 0.3s;
}
.faq-q::after {
  content: '+'; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--pomegranate);
  transition: transform 0.3s;
}
.faq-q.open::after { content: '−'; }
.faq-q:hover { background: var(--bg-alt); }
.faq-a {
  display: none; padding: 0 22px 18px;
  color: var(--text-light); font-size: 0.9rem; line-height: 1.7;
}
.faq-a.open { display: block; }

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.blog-card {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 25px; }
.blog-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== CTA BANNER ===== */
.cta-section {
  background: var(--pomegranate);
  padding: 60px 0; text-align: center; color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 25px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h5 {
  color: #fff; font-size: 1rem;
  margin-bottom: 20px; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600;
}
.footer-about { font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.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 0.3s;
}
.footer-col ul li a:hover { color: var(--pomegranate); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 15px; font-size: 0.9rem;
}
.footer-contact-icon { color: var(--pomegranate); min-width: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .mobile-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 20px; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; }
  nav ul li { width: 100%; }
  nav ul li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
  .hero-content { margin: 0 auto; text-align: center; }
  .hero-btns { justify-content: center; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 600px) {
  .top-bar { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .page-hero { min-height: 220px; }
  .section { padding: 50px 0; }
}
