@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --dark: #1f1f1f;
  --light: #f7f3ee;
  --white: #ffffff;
  --accent: #b46b45;
  --gray: #666;
  --border: #e0dbd4;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: var(--light);
  color: var(--dark);
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

h1 {
  color: #111;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

header h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}

nav a {
  color: #222;
  text-decoration: none;
  margin-left: 28px;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Sections container ── */
main {
  padding: 0 40px;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 80px;
  min-height: 88vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.hero h1 {
  font-size: 58px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #444;
}

.hero-content {
  max-width: 560px;
}

.button {
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.25s ease;
}

.button:hover,
button:hover {
  background-color: var(--dark);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ── Portfolio ── */
.portfolio {
  max-width: 1100px;
  margin: 100px auto 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  display: block;
}

.portfolio-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-card p {
  font-weight: 600;
  font-size: 14px;
  padding: 14px 16px;
  margin: 0;
  color: #444;
}

.featured {
  grid-row: span 2;
}

.featured .portfolio-item {
  height: 100%;
  aspect-ratio: auto;
}

/* ── Services ── */
.services {
  max-width: 1100px;
  margin: 100px auto 0;
}

.service-list {
  display: flex;
  gap: 24px;
}

.service-card {
  background-color: var(--white);
  padding: 32px;
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.service-card p {
  color: var(--gray);
  line-height: 1.6;
}

.service-card ul {
  padding-left: 20px;
  margin: 20px 0;
  line-height: 1.8;
  color: #555;
}

.service-card strong {
  margin-top: auto;
  font-size: 22px;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.service-card .text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1.5px solid var(--dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.service-card .text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── About ── */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 60px;
  margin: 100px auto 0;
  max-width: 1100px;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  max-width: 380px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-content {
  max-width: 520px;
}

.about h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about p {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
}

.about ul {
  list-style: none;
  padding-left: 0;
  margin: 24px 0 0;
  line-height: 2;
}

.about li {
  color: var(--gray);
  padding-left: 20px;
  position: relative;
}

.about li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Contact ── */
.contact {
  max-width: 1100px;
  margin: 100px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
}

.contact-text {
  max-width: 460px;
}

.contact-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.response-time {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray);
}

.contact-form {
  background-color: var(--white);
  padding: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 480px;
  flex-shrink: 0;
}

.contact h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

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

label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
  display: block;
}

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

input,
textarea {
  padding: 12px 14px;
  font-size: 15px;
  font-family: 'Inter', Arial, sans-serif;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--light);
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 107, 69, 0.12);
}

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

button[type="submit"] {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease;
  margin-top: 4px;
}

button[type="submit"]:hover {
  background-color: var(--dark);
}

/* ── Footer ── */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 100px 0 0;
  padding: 30px 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--gray);
}

footer p {
  margin: 0;
}

footer a {
  color: #444;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Shared ── */
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
}

.hero-actions .text-link:hover {
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-size: 26px;
  font-family: 'Playfair Display', serif;
}

.hero-stats span {
  color: var(--gray);
  font-size: 14px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 38px;
  margin: 10px 0 14px;
}

.section-heading p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured {
    grid-row: span 1;
  }

  .featured .portfolio-item {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  main {
    padding: 0 20px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  nav a {
    margin-left: 0;
    margin-right: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: flex-start;
    min-height: auto;
    padding: 40px 0 60px;
  }

  .hero-image {
    order: -1;
  }

  .hero h1 {
    font-size: 38px;
  }

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

  .service-list {
    flex-direction: column;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    width: 100%;
    max-width: none;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    max-width: none;
    width: 100%;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }

  footer a {
    margin-left: 0;
    margin-right: 16px;
  }
}
