/* ── VARIABLES ───────────────────────────────── */
:root {
  --bg:           #f4f0eb;
  --dark:         #1c1c1a;
  --green:        #408038;
  --green-hover:  #245120;
  --tan:          #c9ad8e;
  --text:         #2a2a28;
  --muted:        #6e6a63;
  --white:        #fafaf8;
  --border:       #e0dbd3;
  --shadow:       0 4px 24px rgba(28, 28, 26, 0.10);
  --shadow-lg:    0 12px 56px rgba(28, 28, 26, 0.16);
  --radius:       14px;
  --radius-sm:    8px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── BASE ────────────────────────────────────── */
body {
  font-family: 'Nunito Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 68px;
}

h1, h2, h3 {
  color: var(--dark);
  margin-bottom: 10px;
}

/* ── NAVBAR ──────────────────────────────────── */
nav {
  background-color: var(--dark);
  padding: 0 48px;
  height: 68px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  color: rgba(250, 250, 248, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

nav a:hover {
  color: var(--white);
  text-decoration: none;
}

nav li:first-child a {
  color: var(--white);
}

nav li {
  position: relative;
}

nav .nav-dropdown > a::after {
  content: '▾';
  display: inline-block;
  margin-left: 6px;
  font-size: 0.85em;
}

nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(28, 28, 26, 0.98);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: none;
  z-index: 1100;
}

nav .dropdown-menu li {
  width: 100%;
}

nav .dropdown-menu a {
  display: block;
  width: 100%;
  padding: 12px 22px;
  color: rgba(250, 250, 248, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

nav .dropdown-menu a:hover {
  background: rgba(250, 250, 248, 0.08);
  color: var(--white);
}

nav .nav-dropdown:hover .dropdown-menu,
nav .nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: clamp(520px, 72vh, 680px);
  min-height: 520px;
  overflow: hidden;
  user-select: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(28, 28, 26, 0.28) 0%,
    rgba(28, 28, 26, 0.52) 55%,
    rgba(28, 28, 26, 0.78) 100%
  );
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  width: 90%;
  max-width: 860px;
  z-index: 2;
}

.hero-text h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-text h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: rgba(250, 250, 248, 0.82);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-text .button {
  display: inline-block;
  background-color: var(--green);
  color: var(--white);
  padding: 17px 44px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.hero-text .button:hover {
  background-color: transparent;
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ── ABOUT ───────────────────────────────────── */
.about-me {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 88px 64px;
  max-width: 1160px;
  margin: 0 auto;
  background-color: transparent;
  width: 100%;
}

.about-me-image {
  width: 44%;
  max-width: 460px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  padding-top: 0;
}

.about-me-text {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.6;
}

.about-me-text h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.about-me-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 400;
}

/* ── SERVICES GRID ───────────────────────────── */
.section-wrapper {
  background-color: var(--dark);
  padding: 76px 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
  flex-direction: unset;
  align-items: unset;
  text-align: unset;
  color: unset;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 28, 26, 0.88) 0%,
    rgba(28, 28, 26, 0.08) 55%
  );
  transition: background 0.35s var(--ease);
}

.service-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(46, 94, 40, 0.92) 0%,
    rgba(46, 94, 40, 0.28) 60%
  );
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
  border-radius: 0;
  transition: transform 0.55s var(--ease);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 22px 18px;
  margin: 0;
}

/* ── FORM ────────────────────────────────────── */
.form-container {
  max-width: 640px;
  margin: 76px auto;
  padding: 56px 52px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-container h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  color: var(--dark);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #faf8f5;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 94, 40, 0.13);
  background-color: #fff;
}

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

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-group label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0ece5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  color: var(--text);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.checkbox-group label:hover {
  background: #e8e2d8;
  border-color: var(--tan);
}

button {
  width: 100%;
  padding: 16px;
  border: none;
  background: var(--green);
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

button:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 94, 40, 0.28);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background-color: var(--dark);
  text-align: center;
  padding: 30px 48px;
  margin-top: 0;
  color: rgba(250, 250, 248, 0.42);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

footer a {
  color: rgba(250, 250, 248, 0.55);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

footer a:hover {
  color: var(--white);
}

/* ── SHARED / MISC ───────────────────────────── */
.button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--green);
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease);
}

.button:hover {
  background: var(--green-hover);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.responsive-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .about-me {
    gap: 40px;
    padding: 72px 40px;
  }
}

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

  .about-me {
    flex-direction: column;
    padding: 64px 32px;
    gap: 32px;
  }

  .about-me-image {
    width: 100%;
    max-width: 100%;
    height: 320px;
  }

  .about-me-text {
    text-align: center;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 20px;
  }

  nav ul {
    gap: 18px;
  }

  nav a {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  .hero {
    height: 62vh;
    min-height: 360px;
  }

  .hero-image {
    object-position: center 20%;
  }

  .hero-text {
    bottom: 6%;
    width: 100%;
    max-width: 100%;
    padding: 0 18px;
  }

  .hero-text h1 {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
  }

  .hero-text h2 {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
    margin-bottom: 24px;
  }

  .hero-text .button {
    padding: 14px 30px;
  }

  .section-wrapper {
    padding: 52px 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .form-container {
    padding: 36px 24px;
    margin: 48px 16px;
    border-radius: var(--radius);
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* ---- Inner page layout ---- */

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-hero {
    text-align: center;
    padding: 48px 20px 32px;
    background-color: var(--dark);
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.page-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.page-hero p {
    font-size: 1.05rem;
    color: rgba(250, 250, 248, 0.72);
    max-width: 600px;
    margin: 0 auto;
}

.page-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.page-section h2 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.page-section p {
    color: var(--muted);
    line-height: 1.8;
}

/* ---- Portfolio ---- */

.portfolio-category {
    margin-bottom: 40px;
}

.portfolio-category h2 {
    margin-bottom: 16px;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid var(--tan);
    padding-bottom: 6px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.portfolio-card p {
    padding: 12px 14px;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---- Services text section ---- */

.services-text {
    text-align: center;
    margin-bottom: 20px;
}

.services-text img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* ---- Privacy Policy ---- */

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.policy-container h1 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.policy-updated {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.policy-container h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 8px;
    color: var(--dark);
}

.policy-container p,
.policy-container ul {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

.policy-container ul {
    padding-left: 20px;
}

.policy-container ul li {
    margin-bottom: 6px;
}

.policy-container a {
    color: var(--green);
}
