/* AJV Construction - Modern, Clean Stylesheet */

:root {
  --blue: #1e3a8a;
  --blue-dark: #0f172a;
  --blue-light: #3b5998;
  --red: #dc2626;
  --text: #374151;
  --text-light: #6b7280;
  --text-dark: #111827;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; font-weight: 600; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--red); }

img {
  max-width: 100%;
  height: auto;
}

ul { margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: #b91c1c;
  color: #fff;
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Header */
.header {
  background: var(--bg-white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img,
.logo-img {
  height: 100px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
}

.logo-text span {
  color: var(--red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin: 0;
}

.nav-links li { margin: 0; }

.nav-links a {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  color: var(--blue);
  border-bottom: 2px solid var(--red);
}

.nav-phone a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--blue);
  font-size: 0.95rem;
}

.nav-phone a:hover { color: var(--red); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  color: #fff;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.8)),
              url('../images/hero/hero-background.jpeg') center/cover no-repeat;
}

.hero-content {
  max-width: 600px;
  margin-top: 50px;
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.8;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  min-width: 200px;
  text-align: center;
}

.hero-stats {
  margin-top: 64px;
  display: flex;
  gap: 56px;
}

.stat-item {
  text-align: left;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.stat-item .label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 6px;
  font-weight: 300;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-card {
  background: var(--bg-white);
  padding: 32px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.service-card h3 {
  margin-bottom: 12px;
  font-weight: 500;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.service-card > a {
  font-weight: 500;
  color: var(--red);
  font-size: 0.9rem;
  margin-top: 16px;
  align-self: flex-start;
}

.service-card a:hover { color: var(--blue); }

/* Why Choose Us Grid - 4 columns */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-choose-grid .service-card {
  background: transparent;
  border: none;
  text-align: center;
  padding: 20px 16px;
}

.why-choose-grid .service-card:hover {
  box-shadow: none;
  transform: none;
}

.why-choose-grid .service-card h3 {
  color: var(--blue-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-choose-grid .service-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Features Grid (Why Choose Us) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--blue);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* About/Features Section */
.features-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-content h2 {
  margin-bottom: 20px;
}

.features-content > p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 600;
  flex-shrink: 0;
}

.features-image {
  border-radius: 8px;
  overflow: hidden;
}

.features-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  font-weight: 500;
  color: var(--text-dark);
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Service Areas */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.area-tag {
  background: var(--bg-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text);
  border: 1px solid var(--border);
}

/* Footer */
.footer {
  background: var(--blue-dark);
  color: #fff;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-about .logo {
  margin-bottom: 16px;
}

.footer-about .logo-text {
  color: #fff;
}

.footer-about p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links a:hover { color: #fff; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  opacity: 0.5;
  font-size: 0.85rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)),
              url('../images/kitchen/kitchen-remodel-3.jpeg') center/cover no-repeat;
  padding: 140px 0 45px;
  color: #fff;
  text-align: center;
}

.page-header h1 { color: #fff; margin-bottom: 8px; margin-top: 20px; }
.page-header p { opacity: 0.85; }

/* Service Hero */
.service-hero {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)),
              url('../images/kitchen/kitchen-remodel-3.jpeg') center/cover no-repeat;
  padding: 140px 0 60px;
  color: #fff;
  text-align: center;
}

.service-hero h1 { color: #fff; margin-bottom: 12px; margin-top: 20px; }
.service-hero p { max-width: 560px; margin: 0 auto; opacity: 0.85; }

/* Service Content */
.service-content {
  padding: 64px 0;
}

.service-content h2 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.service-content h2:first-child { margin-top: 0; }

.service-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.service-content ul { padding-left: 20px; }
.service-content li { margin-bottom: 8px; color: var(--text); }

.service-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
}

.service-sidebar {
  background: var(--bg-light);
  padding: 28px;
  border-radius: 8px;
  height: fit-content;
}

.service-sidebar h4 {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.service-sidebar .footer-links { margin-bottom: 0; }
.service-sidebar .footer-links li { color: var(--text); font-size: 0.9rem; }

.service-image {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.sidebar-cta {
  background: var(--blue);
  color: #fff;
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  margin-top: 24px;
}

.sidebar-cta h4 { color: #fff; margin-bottom: 12px; }
.sidebar-cta p { opacity: 0.9; margin-bottom: 16px; font-size: 0.9rem; }

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--bg-white);
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  background: var(--blue);
  color: #fff;
  padding: 36px;
  border-radius: 8px;
}

.contact-info-card h3 { color: #fff; margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item h4 { color: #fff; margin-bottom: 4px; font-size: 0.95rem; }
.contact-item p, .contact-item a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.contact-item a:hover { color: #fff; }

/* About Grid (legacy support) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 { margin-bottom: 20px; }

.about-content h3 {
  color: var(--red);
  margin-top: 32px;
  margin-bottom: 20px;
}

.about-features { margin-top: 28px; }

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.feature-item h4 { margin-bottom: 4px; }
.feature-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

.about-image {
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Hero trust items (legacy) */
.hero-trust {
  margin-top: 64px;
  display: flex;
  gap: 56px;
}

.trust-item { text-align: left; }

.trust-item .number {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.trust-item .label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 6px;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid,
  .testimonials-grid,
  .features-grid,
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-section,
  .about-grid,
  .contact-grid,
  .service-main {
    grid-template-columns: 1fr;
  }

  .features-image { order: -1; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }

  .nav-links, .nav-phone { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .hero h1 { font-size: 2.25rem; }

  .hero-stats, .hero-trust { gap: 32px; }

  .section { padding: 64px 0; }

  .services-grid,
  .testimonials-grid,
  .features-grid,
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact p { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn { width: 100%; }
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }

  .nav-links.mobile-open { display: flex; }

  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 14px 0; }

  .nav-phone {
    display: none;
    position: absolute;
    top: calc(100% + 180px);
    left: 0;
    right: 0;
    background: var(--blue);
    padding: 14px 24px;
    text-align: center;
  }

  .nav-phone.mobile-open { display: block; }
  .nav-phone a { color: #fff; justify-content: center; }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.form-group input.error,
.form-group textarea.error { border-color: var(--red); }

.form-success { text-align: center; padding: 40px 20px; }
.form-success h3 { color: var(--blue); margin-bottom: 12px; }

.what-to-expect p {
  margin-bottom: 16px;
}

.what-to-expect p:last-child {
  margin-bottom: 0;
}

/* Photo Gallery */
.photo-gallery {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.photo-gallery h3 {
  text-align: center;
  margin-bottom: 24px;
}

.gallery-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light);
}

.gallery-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-nav:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }

.gallery-nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dark);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-dot.active,
.gallery-dot:hover {
  background: var(--red);
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.gallery-thumb:hover {
  opacity: 0.9;
}

.gallery-thumb.active {
  border-color: var(--red);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-main img {
    height: 300px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .gallery-nav.prev { left: 8px; }
  .gallery-nav.next { right: 8px; }

  .gallery-thumbnails {
    display: none;
  }
}
