/* ===== VARIABLES ===== */
:root {
  --color-burgundy: #944A3A;
  --color-burgundy-dark: #7A3A2C;
  --color-sand: #D67A4E;
  --color-sand-light: #EBECF0;
  --color-charcoal: #455953;
  --color-charcoal-light: #90A9A0;
  --color-white: #FFFFFF;
  --color-off-white: #EBECF0;

  /* aliases for shorthand usage in this file */
  --charcoal: #455953;
  --sand: #D67A4E;
  --sand-light: #EBECF0;
  --burgundy: #944A3A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;

  --max-width: 1200px;
  --nav-height: 80px;
  --section-pad: 5rem 0;
  --radius: 6px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Offset anchor links for sticky nav */
#hero, #about, #services, #testimonials, #contact {
  scroll-margin-top: var(--nav-height);
}

/* ===== BASE ===== */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  background: var(--color-white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
}

h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p  { margin-bottom: 1rem; color: var(--color-charcoal-light); }

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

/* ===== SECTION LABEL ===== */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  margin-bottom: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn--primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  border: 2px solid var(--color-burgundy);
}
.btn--primary:hover {
  background: var(--color-burgundy-dark);
  border-color: var(--color-burgundy-dark);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
}

.btn--full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--charcoal);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.nav--scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.nav__links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--sand); }

.nav__cta { white-space: nowrap; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo { height: 48px; width: auto; margin-bottom: 1rem; }

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

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

.footer__social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  cursor: default;
}

.footer__nav h4,
.footer__contact h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 1rem;
}

.footer__nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--color-white); }

.footer__phone {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer__phone:hover { color: var(--color-sand); }

.footer__contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.footer__areas { font-size: 0.85rem !important; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.active { opacity: 1; }

.hero__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s;
  cursor: pointer;
}

.hero__dot.active { background: #fff; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 1.5rem;
  color: var(--color-white);
}

.hero__logo {
  height: 120px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  color: var(--color-white);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__phone {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.hero__phone a {
  color: inherit;
  font-weight: 700;
  transition: color 0.2s;
}
.hero__phone a:hover { color: var(--color-white); }

/* ===== ABOUT ===== */
.about {
  padding: var(--section-pad);
  background: var(--color-off-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.about__photo-placeholder {
  width: 100%;
  height: 480px;
  background: var(--sand-light);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__photo-placeholder i {
  font-size: 8rem;
  color: var(--sand);
}

.about__content h2 { color: var(--color-charcoal); }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.about__stat { text-align: center; }

.about__stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-burgundy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about__stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal-light);
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-pad);
  background: var(--color-white);
}

.services__banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-sand-light);
  color: var(--color-burgundy);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  border: 1px solid rgba(148,74,58,0.15);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.services__card {
  background: var(--color-sand-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 3px solid transparent;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.services__card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.13);
  transform: translateY(-10px);
  border-top-color: var(--color-burgundy);
}

.services__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-white);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.services__card:hover .services__icon {
  transform: scale(1.15);
}

[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

.services__card h3 { color: var(--color-charcoal); }

.services__card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.services__card li {
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
  padding-left: 1rem;
  position: relative;
}

.services__card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-burgundy);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-pad);
  background: var(--color-sand-light);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.testimonials__card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonials__stars {
  color: var(--color-sand);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.testimonials__card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-charcoal-light);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.testimonials__initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-burgundy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonials__city {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.testimonials__more {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.testimonials__more a {
  color: var(--color-burgundy);
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.testimonials__more a:hover { opacity: 0.75; }

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-pad);
  background: var(--color-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1rem;
}

.contact__invite {
  font-size: 1rem;
  color: var(--color-charcoal-light);
  margin-bottom: 0.75rem;
}

.contact__phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-burgundy);
  margin-bottom: 2rem;
  transition: opacity 0.2s;
}
.contact__phone:hover { opacity: 0.8; }

.contact__areas-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.contact__areas ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__areas li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-charcoal-light);
}

.contact__areas li i { color: var(--color-burgundy); font-size: 0.8rem; }

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color 0.2s;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-burgundy);
}

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

.form__success {
  background: #eaf7ea;
  color: #2d6a2d;
  padding: 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
}

.form__error {
  color: var(--color-burgundy);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */

.gallery-page {
  padding: var(--section-pad);
  background: var(--color-off-white);
}

.gallery-page__header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-page__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.gallery-page__sub {
  color: var(--color-charcoal-light);
  font-size: 1.1rem;
}

/* Filter tabs */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.gallery__filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--burgundy);
  background: transparent;
  color: var(--burgundy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gallery__filter-btn:hover,
.gallery__filter-btn.active {
  background: var(--burgundy);
  color: #fff;
}

/* Masonry grid */
.gallery__grid {
  columns: 3;
  column-gap: 1rem;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.gallery__item a {
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(148, 74, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-overlay span {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
}

/* Gallery CTA */
.gallery__cta {
  text-align: center;
  padding: 3rem 0 0;
}

.gallery__cta p {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

/* ============================================================
   GALLERY RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .gallery__grid {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    columns: 1;
  }

  .gallery__filters {
    gap: 0.375rem;
  }

  .gallery__filter-btn {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
}

/* ============================================================
   HOMEPAGE RESPONSIVE
   ============================================================ */

/* --- Tablet: 1024px and below --- */
@media (max-width: 1024px) {
  /* Nav */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    z-index: 999;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
  }

  .nav__links a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--sand);
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image {
    max-width: 420px;
    margin: 0 auto;
  }

  /* Services */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__info {
    text-align: center;
  }

  .contact__phone {
    justify-content: center;
  }

  .contact__areas {
    justify-content: center;
  }
}

/* --- Mobile: 768px and below --- */
@media (max-width: 768px) {
  /* Hero */
  .hero__logo { height: 140px; }

  .hero__title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero__sub {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .about__stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer__nav ul {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__areas {
    justify-content: center;
  }
}

/* --- Small mobile: 480px and below --- */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .section-label {
    font-size: 0.7rem;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .services__card {
    padding: 1.25rem;
  }

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

  .contact__phone-number {
    font-size: 2rem;
  }
}
