/* Variables */
:root {
  --primary-color: #1b365d;
  --secondary-color: #c5b358;
  --light-bg: #f5f5f5;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* Header & Logo */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.logo-text {
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  color: var(--secondary-color);
  text-align: left;
  line-height: 1;
  letter-spacing: 0.5px;
  align-self: flex-end;
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: 600;
}

/* Top Bar */
.top-bar {
  background-color: #f8f9fa;
  padding: 0.3rem 2rem;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-info-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-info {
  display: flex;
  gap: 2rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

/* Navigation */
nav {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.8rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.nav-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  justify-content: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
}

nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Search Bar */
.search-container input {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(27, 54, 93, 0.1);
  border-radius: 20px;
  width: 200px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.search-container input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(27, 54, 93, 0.1);
  background-color: white;
  width: 220px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-logo {
  display: none;
  color: var(--primary-color);
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  margin-left: 1rem;
}

/* Hero Content */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 1rem;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Cinzel", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 4px;
  margin-top: 2rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #d4c16a;
}

/* Estimate Form */
.estimate-form {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.estimate-form h2 {
  color: var(--primary-color);
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(197, 179, 88, 0.1);
  background-color: white;
}

.radio-group {
  display: flex;
  gap: 3rem;
  padding: 0.5rem 0;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}

.radio-group input[type="radio"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.estimate-form button {
  width: 100%;
  padding: 1rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.estimate-form button:hover {
  background-color: #d4c16a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 179, 88, 0.2);
}

/* Form grid layout */
@media (min-width: 768px) {
  .estimate-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .form-group.full-width,
    .form-group:nth-child(3), /* Address */
    .form-group:last-child, /* Button container */
    .estimate-form button {
    grid-column: 1 / -1;
  }
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .estimate-form {
    padding: 2rem;
    margin: 2rem 1rem;
  }

  .estimate-form h2 {
    font-size: 1.8rem;
  }

  .radio-group {
    gap: 2rem;
  }

  /* Hide social links on mobile */
  .social-links {
    display: none;
  }

  .contact-info-left {
    width: 100%;
    justify-content: center;
  }
}

/* Benefits Section */
.benefits {
  padding: 5rem 2rem;
  background: linear-gradient(rgba(27, 54, 93, 0.95), rgba(27, 54, 93, 0.95)),
    url("https://images.unsplash.com/photo-1491438590914-bc09fcaaf77a")
      center/cover;
  color: white;
}

.benefits h2 {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.benefit-content h3 {
  color: var(--secondary-color);
  font-family: "Cinzel", serif;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.benefit-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* FAQ Styles */
.faq-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.faq-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  color: var(--primary-color);
  font-family: "Cinzel", serif;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: #444;
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 3px solid var(--secondary-color);
}

.faq-answer ul {
  list-style-position: inside;
  margin: 0.5rem 0;
}

.faq-intro {
  text-align: center;
  margin: 3rem 0;
}

.faq-intro h1 {
  color: var(--primary-color);
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.faq-intro p {
  color: #666;
  font-size: 1.1rem;
}

.faq-conclusion {
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 2rem;
}

.faq-conclusion p {
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 2rem 1rem;
  margin-top: 0.2rem;
  padding: 5rem 2rem;
  background: linear-gradient(rgba(27, 54, 93, 0.95), rgba(0, 0, 0, 0.95)),
    url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70")
      center/cover;
  color: white;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: var(--secondary-color);
  font-family: "Cinzel", serif;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p {
  color: #fff;
  opacity: 0.8;
  margin-top: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section ul li i {
  color: var(--secondary-color);
  width: 16px;
  flex-shrink: 0;
}

.footer-section ul li a {
  word-break: break-word;
}

.footer-section a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgb(197 179 88 / 84%);
  width: 90%;
  margin: 0 auto;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 1rem;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .search-container {
    display: none;
    width: 100%;
    padding: 1rem;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .search-container.active {
    display: flex;
    justify-content: center;
  }

  .search-container input {
    width: 90%;
  }

  .mobile-logo {
    display: block;
  }

  .top-bar-content {
    justify-content: center;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Hide social links and phone on mobile */
  .social-links,
  .contact-info a[href^="tel"],
  .contact-info-right {
    display: none;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

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

  /* Mobile form layout */
  @media (min-width: 768px) {
    .estimate-form form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem 2rem;
    }

    .estimate-form form .form-group:nth-child(3),
    .estimate-form form button {
      grid-column: 1 / -1;
    }
  }

  /* Mobile FAQ adjustments */
  .faq-container {
    margin: 1rem auto;
  }

  .faq-section {
    padding: 1rem;
  }

  .faq-intro h1 {
    font-size: 2rem;
  }

  footer {
    padding: 3rem 1rem 1rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .footer-section {
    text-align: center;
  }

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

  .footer-section ul li {
    justify-content: center;
  }

  .benefits {
    padding: 3rem 1rem;
  }

  .benefits h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

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

.confirmation-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.confirmation-content {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.confirmation-content i {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.confirmation-content h1 {
  color: #333;
  margin-bottom: 1rem;
}

.confirmation-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.return-home {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.return-home:hover {
  background-color: #0056b3;
}

.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  resize: vertical;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(197, 179, 88, 0.1);
  background-color: white;
}

/* General link styles */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Navigation link styles */
nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Footer link styles */
.footer-section a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

/* Header subtitle styling */
header p {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  color: white;
  margin-top: 0.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0.5rem auto;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.secondary-text {
  font-size: 1.3rem !important;
  color: #666 !important;
  line-height: 1.5 !important;
  font-style: italic !important;
  margin-top: 0.5rem !important;
  opacity: 0.9 !important;
}
