/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
}

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

.site-wrapper {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================
   TYPE
========================= */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: #111;
}

p,
a,
span,
li {
  font-family: 'Reem Kufi Fun', system-ui, sans-serif;
  color: #111;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 182, 193, 0.18) 0,
      rgba(255, 182, 193, 0.18) 1px,
      transparent 1px,
      transparent 120px
    ),
    #f4efec;
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  position: relative;
  z-index: 5;
}

.hero-logo img {
  max-width: 220px;
  display: block;
}

.hero-nav a {
  color: #111;
  font-size: 1.5rem;
  text-decoration: none;
}

.hero-stage {
  position: relative;
  min-height: 900px;
}

.draggable {
  position: absolute;
  cursor: grab;
  user-select: none;
  z-index: 2;
}

.draggable:active {
  cursor: grabbing;
}

.hero-copy {
  position: absolute;
  right: 0;
  bottom: 60px;
  max-width: 520px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  z-index: 4;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.hero-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button-primary,
.button-secondary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  transition: 0.2s ease;
}

.button-primary {
  background: #111;
  color: #fff;
}

.button-primary:hover {
  opacity: 0.9;
}

.button-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-section {
  padding: 72px 0;
  background: #fff;
}

#portfolio h2 {
  margin: 0 0 32px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  text-align: left;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-intro h2 {
  margin: 0 0 16px;
  line-height: 1.05;
}

.section-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.card,
.portfolio-card {
  max-width: 700px;
  margin: 0 auto;
  background: #f3efec;
  border-radius: 18px;
  padding: 20px;
}

.card img,
.portfolio-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin: 0;
}

.card img,
.portfolio-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.card img {
  transition: transform 0.3s ease;
}

.card-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.card-title {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.card:hover img {
  transform: scale(1.015);
}

.card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-meta {
  padding-top: 14px;
}

.portfolio-meta h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.portfolio-meta p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.portfolio-meta span {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.portfolio-section {
  padding: 100px 0;
}
/* =========================
   ABOUT / CONTACT
========================= */

.about-contact {
  padding: 72px 0;
  background: #fff;
}

.about-copy h2 {
  margin: 0 0 16px;
  line-height: 1.05;
}

.about-copy p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-links {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.contact-links a,
.contact-links p {
  margin: 0;
  text-decoration: none;
}

.cta-link {
  color: #d93838 !important;
  font-weight: 700;
}

/* =========================
   FOOTER
========================= */

.tm-footer {
  padding: 28px 0 40px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tm-footer .container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

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

@media (max-width: 900px) {
  .hero-copy {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 420px;
    max-width: 100%;
  }

  .gallery-grid,
  .portfolio-grid {
    max-width: 100%;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .card-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero-stage {
    min-height: 760px;
  }

  .hero-logo img {
    max-width: 170px;
  }

  .portfolio-section,
  .about-contact {
    padding: 48px 0;
  }

  #portfolio h2 {
    text-align: left;
  }

  .card {
    padding: 16px;
  }
}