:root {
  --bg: #f5f5f3;
  --card: #ffffff;
  --accent: #c47a3a;
  --accent-soft: rgba(196, 122, 58, 0.15);
  --text: #2d2d2d;
  --muted: #6b6b6b;
  --radius: 14px;
  --shadow: 0 10px 25px rgba(0,0,0,0.12);
  --max-width: 1100px;
}

/* GLOBAL */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.logo-est {
  font-size: 0.7rem;
  color: var(--muted);
}

/* NAV */

.menu-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav {
  position: fixed;
  inset: 0;
  top: 3.2rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  flex-direction: column;
  padding: 1rem;
}

.nav.open {
  display: flex;
}

.nav a {
  background: #ffffff;
  margin-bottom: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav a.active,
.nav a:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

/* HERO */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text h1 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* BUTTONS */

.btn {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-btn {
  background: var(--accent);
  color: #ffffff;
}

.secondary-btn {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

/* SECTIONS */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.section h2,
.section h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 1.5rem;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.card {
  background: var(--card);
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
}

/* HOVER LIFT */

.hover-lift {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-card {
  background: var(--card);
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* FLOATING CARD + CURSOR GLOW */

.floating-card {
  position: relative;
  overflow: hidden;
}

.floating-card::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 0;
  height: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease;
}

.floating-card:hover::before {
  width: 220px;
  height: 220px;
}

/* FORM */

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

/* LINKS */

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-list li {
  margin-bottom: 0.4rem;
}

.links-list a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

.links-list a:hover {
  color: #8a4f1f;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.gallery-card {
  background: var(--card);
  padding: 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.ba-pair img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ba-pair img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* FOOTER */

.footer {
  text-align: center;
  padding: 1rem;
  background: #ffffff;
  margin-top: 2rem;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: var(--muted);
}

/* FADE-IN */

.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* DESKTOP / TABLET BREAKPOINTS */

@media (min-width: 700px) {
  .hero {
    padding: 3rem 1.5rem 3.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    padding: 0;
    gap: 0.5rem;
  }

  .nav a {
    background: transparent;
    margin: 0;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
  }

  .menu-btn {
    display: none;
  }
}

@media (min-width: 960px) {
  .hero {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
