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

:root {
  --color-accent: #c87533;
  --color-bg: #f0eded;
  --color-bg-dark: #e5e1e1;
  --color-footer: #808080;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-black: #111;
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ===== Typography ===== */
h1 { font-size: 2.8rem; font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; font-weight: 400; letter-spacing: -0.01em; }
h3 { font-size: 1.6rem; font-weight: 400; }
h4 { font-size: 1.3rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.container--narrow {
  max-width: 800px;
}

.section {
  padding: 5rem 0;
}

.approach-section {
  background-color: #f9f9f9;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ===== Standout Highlights ===== */
.standout-section {
  background-color: var(--color-white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.highlight-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.highlight-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200, 117, 51, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #eee;
}

.highlight-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(200, 117, 51, 0.15);
}

.highlight-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

@media (max-width: 992px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .highlight-circle {
    width: 140px;
    height: 140px;
  }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.header__logo img {
  height: 56px;
  width: 56px;
}

.nav__list {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
}

.nav__link--active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Dropdown Navigation */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 150px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border-radius: 4px;
  z-index: 105;
}

.nav__item--dropdown:hover .nav__dropdown {
  display: block;
}

.nav__dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

.nav__dropdown-link:hover {
  background: var(--color-bg);
  color: var(--color-accent);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ===== Hero Sections ===== */
.hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero--tall {
  height: 560px;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.hero__content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero__content h2 {
  font-size: 2.5rem;
  font-weight: 300;
}

.hero__content p {
  font-size: 1.1rem;
  margin-top: 2rem; /* Increased from 0.5rem to move text lower */
  opacity: 0.9;
}

/* Hero left-aligned variant */
.hero--left .hero__content {
  text-align: left;
  max-width: var(--max-width);
  width: 100%;
  padding: 0 2rem;
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  overflow: hidden;
}

.service-card__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--color-bg-dark);
  transition: transform 0.3s ease;
}

.service-card__link {
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.service-card__link:hover .service-card__image {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.service-card__price {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--color-accent);
}

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-intro__text h1 {
  margin-bottom: 1.5rem;
}

.about-intro__image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  background: var(--color-bg-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  background: var(--color-bg-dark);
}

.team-member__role {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  font-family: monospace;
  margin-bottom: 0.5rem;
}

.team-member__name {
  margin-bottom: 0.5rem;
}

.team-member__bio {
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.team-values {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
}

.team-values-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.team-values-collage__text {
  grid-area: 1 / 2 / 3 / 3;
  text-align: center;
  font-size: 1.05rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-values-collage__text p {
  margin-bottom: 0;
}

.team-collage-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-bg-dark);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .team-values-collage {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .team-values-collage__text {
    grid-area: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 1.5rem 0;
  }
}

/* ===== Portfolio Grid ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-dark);
  display: block;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.05);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__title {
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 500;
}

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

.blog-card {
  background: var(--color-white);
  overflow: hidden;
}

.blog-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--color-bg-dark);
}

.blog-card__body {
  padding: 1.5rem;
  text-align: center;
}

.blog-card__date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.blog-card__link {
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-text);
  transition: color 0.2s;
}

.blog-card__link:hover {
  color: var(--color-accent);
}

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

.testimonial-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card__quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
  text-align: right;
}

/* ===== FAQ Grid ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.faq-card {
  background: var(--color-bg-dark);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.faq-card__question {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-card__answer {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-hero {
  text-align: center;
}

.contact-hero h1 {
  margin-bottom: 1.5rem;
}

.contact-hero__image {
  width: 100%;
  max-width: 700px;
  height: 350px;
  object-fit: cover;
  margin: 0 auto;
  background: var(--color-bg-dark);
}

.contact-form-section {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-section h2 {
  margin-bottom: 0.75rem;
}

.contact-form-section > p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group label .required {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-accent);
}

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

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

.checkbox-group__label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

.checkbox-option:hover {
  border-color: var(--color-accent);
}

.checkbox-option:has(input:checked) {
  border-color: var(--color-accent);
  background-color: rgba(200, 117, 51, 0.1);
}

.checkbox-option input {
  /* Restoring default visibility */
  margin: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.file-upload-wrapper {
  position: relative;
}

.file-upload {
  border: 2px dashed #ccc;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 0.5rem;
  display: block;
}

.file-upload:hover {
  border-color: var(--color-accent);
}

.file-upload__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.file-upload__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.form-message {
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.form-message--success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message--error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-info-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-info strong {
  font-weight: 600;
}

.contact-map {
  width: 100%;
  height: 300px;
  border: 0;
  background: var(--color-bg-dark);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-footer);
  color: var(--color-white);
  padding: 3rem 0;
}

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

.footer__info p {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-white);
  transition: color 0.2s;
}

.footer__social a:hover {
  color: var(--color-accent);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  .hero { height: 350px; }
  .hero--tall { height: 400px; }
  .hero__content h1 { font-size: 2.2rem; }
  .hero__content h2 { font-size: 1.8rem; }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 105;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .nav__item--dropdown .nav__dropdown {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 1rem;
    background: transparent;
  }

  .nav__item--dropdown:hover .nav__dropdown {
    display: block;
  }

  .nav__link {
    font-size: 1.1rem;
  }

  .hamburger {
    display: block;
  }

  /* Layout adjustments */
  .about-intro {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-info-map {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero__content h1 {
    font-size: 1.8rem;
  }

  .services-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Testimonial Slider ===== */
.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.slider-container {
  flex: 1;
  max-width: 800px;
  overflow: hidden;
  padding: 0;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 0;
}

.testimonial-slide {
  flex: 0 0 100%;
}

.slider-btn {
  background: var(--color-white);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 1.3rem;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(200, 117, 51, 0.3);
}

@media (max-width: 768px) {
  .slider-wrapper {
    gap: 1rem;
  }
  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}
