/* ===== CSS VARIABLES & RESET ===== */
:root {
  --navy: #b83c3c;
  --navy-light: #d95a5a;
  --gold: #ffb845;
  --gold-light: #ffc867;
  --gold-pale: #fff2d6;
  --white: #ffffff;
  --grey-100: #fdf6f5;
  --grey-200: #f5eaea;
  --grey-400: #b98f8f;
  --grey-600: #7b5c5c;
  --grey-800: #4a3434;
  --shadow-sm: 0 2px 12px rgba(184, 60, 60, 0.08);
  --shadow-md: 0 8px 32px rgba(184, 60, 60, 0.13);
  --shadow-lg: 0 20px 60px rgba(184, 60, 60, 0.18);
  --radius: 10px;
  --radius-lg: 18px;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--grey-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  gap: 8px;
}

.btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-secondary {
  background: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy-dark);
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title p {
  color: var(--grey);
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.1rem;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

header.scrolled {
  padding: 10px 0;
  background: var(--white);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--gold);
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  position: relative;
  padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.header-cta {
  margin-left: 20px;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgba(184, 60, 60, 0.85), rgba(184, 60, 60, 0.9)),
    url('../img/hero.avif') center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.hero-buttons .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero-buttons .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--grey-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 25px;
  color: var(--grey);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-weight: 500;
  color: var(--navy);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--navy), transparent);
  opacity: 0.1;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 169, 97, 0.3);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(201, 169, 97, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--grey);
  margin-bottom: 20px;
  min-height: 48px;
}

.service-card .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
  background: var(--navy);
  color: var(--white);
}

.why-us .section-title h2 {
  color: var(--white);
}

.why-us .section-title h2::after {
  background: var(--gold);
}

.why-us .section-title p {
  color: rgba(255, 255, 255, 0.85);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: rgba(201, 169, 97, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 2rem;
}

.benefit-item h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.9;
}

/* ===== WARRANTY SECTION ===== */
.warranty {
  background: linear-gradient(135deg, var(--grey-light) 0%, var(--white) 100%);
  text-align: center;
}

.warranty-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.warranty-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.warranty-content p {
  margin-bottom: 30px;
  color: var(--grey);
  font-size: 1.1rem;
}

/* ===== QUOTE FORM SECTION ===== */
.quote-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--navy);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 16px;
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

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

.file-upload {
  border: 2px dashed #ddd;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  background: var(--grey-light);
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.05);
}

.file-upload i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--grey);
  margin-top: 5px;
  display: block;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-top: 10px;
}

.confirmation-message {
  display: none;
  text-align: center;
  padding: 30px;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid #28a745;
  border-radius: var(--radius);
  color: #155724;
  margin-top: 20px;
}

.confirmation-message.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--grey-light);
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stars {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--grey-dark);
  position: relative;
  line-height: 1.7;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: rgba(201, 169, 97, 0.2);
  position: absolute;
  font-family: serif;
}

.testimonial-text::before {
  top: -20px;
  left: -15px;
}

.testimonial-text::after {
  content: '"';
  bottom: -40px;
  right: -15px;
  transform: rotate(180deg);
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 169, 97, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.contact-text p,
.contact-text a {
  color: var(--grey);
  font-weight: 500;
}

.contact-text a:hover {
  color: var(--gold);
}

.business-hours {
  background: var(--grey-light);
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 20px;
}

.business-hours h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.hours-list li:last-child {
  border-bottom: none;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  height: 100%;
  min-height: 350px;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--gold);
  width: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 15px;
}

.newsletter-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0 20px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.newsletter-form button:hover {
  background: var(--gold-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  cursor: pointer;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ===== POPUP MODALS ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlide 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.6rem;
  color: var(--navy);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--grey);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--grey-light);
  color: var(--navy);
}

.modal-body {
  padding: 30px;
}

.modal-body p {
  margin-bottom: 15px;
  color: var(--grey-dark);
}

.modal-body ul {
  margin: 15px 0 15px 25px;
  color: var(--grey-dark);
}

.modal-body li {
  margin-bottom: 8px;
}

.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  position: sticky;
  bottom: 0;
  background: var(--white);
}

.modal-footer .btn {
  padding: 12px 30px;
  font-size: 1rem;
}

.modal-footer .btn-outline {
  border-color: var(--grey);
  color: var(--grey);
}

.modal-footer .btn-outline:hover {
  background: var(--grey);
  color: var(--white);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}

.checkbox-group input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.95rem;
  color: var(--grey-dark);
  line-height: 1.5;
  cursor: pointer;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 40px 20px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-size: 1.3rem;
    padding: 12px 0;
  }

  .header-cta {
    display: none;
  }

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

  .hero p {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .quote-form-container {
    padding: 30px 25px;
  }

  .modal-content {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 600px;
    padding-top: 70px;
  }

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

  .section-title h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 15px;
  }

  .service-card {
    padding: 25px 20px;
  }

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

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form input {
    border-radius: 50px;
    width: 100%;
  }

  .newsletter-form button {
    border-radius: 50px;
    width: 100%;
    padding: 14px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Form validation styles */
.form-control.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}