/* ===== CSS Variables ===== */
:root {
  --navy: #1a1f2e;
  --charcoal: #2a2f3e;
  --gold: #EDC968;
  --gold-dark: #d4b255;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gold-dark);
}

h1, h2, h3, h4 {
  line-height: 1.3;
  margin-bottom: 0.5em;
}

ul {
  list-style: none;
}

/* ===== Layout Utilities ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

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

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ===== Header ===== */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

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

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

.nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
}

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

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

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

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-dark);
  color: var(--navy) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

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

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

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

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 100px;
  background: linear-gradient(rgba(26,31,46,0.1), rgba(26,31,46,0.15)),
              url('../images/hero.png') center/cover no-repeat;
}

.hero--small {
  min-height: 40vh;
  background: linear-gradient(rgba(26,31,46,0.6), rgba(26,31,46,0.7)),
              url('../images/hero.png') center/cover no-repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

.hero-text h1 .gold {
  color: var(--gold);
}

.hero-text p {
  color: rgba(255,255,255,0.95);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.hero-text .tagline {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

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

/* ===== Logo image ===== */
.logo-img {
  height: 50px;
  width: auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

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

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

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

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

/* ===== Hero Form ===== */
.hero-form {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-form h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(237,201,104,0.2);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 5px;
}

.form-submit:hover {
  background: var(--gold-dark);
}

.form-message {
  text-align: center;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
}

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

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Features / How We Work ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}

.feature-item h4 {
  font-size: 1.05rem;
  color: var(--navy);
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
}

.stars {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* ===== Two-Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== Service List ===== */
.service-list {
  columns: 2;
  column-gap: 30px;
}

.service-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  break-inside: avoid;
}

.service-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  margin-right: 8px;
}

/* ===== Contact Info Box ===== */
.contact-info-box {
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-radius: 8px;
}

.contact-info-box h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

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

.contact-info-box .info-icon {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-box a {
  color: var(--white);
}

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

/* ===== Map ===== */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* ===== Blog Cards ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card-body {
  padding: 20px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.blog-card h3 a {
  color: var(--navy);
}

.blog-card h3 a:hover {
  color: var(--gold);
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Blog Post ===== */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post h1 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.blog-post h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.blog-post h3 {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-post p {
  margin-bottom: 1rem;
  color: var(--text);
}

.blog-post ul, .blog-post ol {
  margin-bottom: 1rem;
  padding-left: 20px;
}

.blog-post ul {
  list-style: disc;
}

.blog-post ol {
  list-style: decimal;
}

.blog-post li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.blog-post strong {
  color: var(--navy);
}

.blog-cta {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
}

.blog-cta h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.blog-cta p {
  margin-bottom: 1rem;
}

.faq-section {
  margin-top: 2rem;
}

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

.faq-item h4 {
  color: var(--navy);
  font-size: 1.05rem;
}

.faq-item p {
  color: var(--text-light);
}

/* ===== Privacy Policy ===== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

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

.footer-contact .info-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-contact .info-icon {
  color: var(--gold);
}

.footer-contact a {
  color: rgba(255,255,255,0.8);
}

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

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

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .two-col {
    grid-template-columns: 1fr;
  }

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

  .service-list {
    columns: 1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  }

  .nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 60vh;
  }

  .hero--small {
    min-height: 30vh;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

  .blog-post h1 {
    font-size: 1.7rem;
  }
}
