/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f7dce5 url("../img/static.jpg") center/cover no-repeat fixed;
  color: #181818;
  min-height: 100vh;
}

h1, h2, h3 {
  font-weight: 700;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* === NAVIGATION === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
}

nav h1 a {
  font-size: 1.1rem;
  letter-spacing: 1px;
  font-weight: 800;
  color: #181818;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  font-size: 0.89rem;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

nav ul li a.current,
nav ul li a:hover {
  color: #dea3bd;
  background: #f7dce5;
}

/* === CONTAINER === */
.container {
  max-width: 900px;
  margin: 3rem auto 3rem auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(180, 60, 100, 0.07), 0 2px 8px rgba(0,0,0,0.06);
  padding: 2.5rem 2rem;
}

section {
  margin-bottom: 3rem;
}

@media (max-width: 700px) {
  .container {
    padding: 1rem 0.5rem;
  }
  section {
    margin-bottom: 2rem;
  }
}

/* === HERO BLOCKY IMAGE === */
.hero-block {
  margin-bottom: 1.1rem;
}

.hero-img {
  width: 100%;
  height: 420px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
  background: #e9e9e9;
  display: block;
  margin-bottom: 1.1rem;
}

/* --- Make the description tighter to the hero image --- */
.hero-description {
  margin-top: 0.1rem;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 700;
  margin-bottom: 0.32rem;
  margin-top: 0;   /* Remove any default gap */
  color: #181818;
  letter-spacing: -0.5px;
  line-height: 1.09;
  text-align: left;
}

.hero-description p {
  font-size: 1.17rem;
  color: #222;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  line-height: 1.35;
  text-align: left;
}

.hero-description a {
  color: #1a73e8;
  font-size: 1.12rem;
  text-decoration: underline;
  font-weight: 500;
  text-align: left;
}

.hero-description a:hover {
  color: #dea3bd;
  text-decoration: underline;
}

/* === PORTFOLIO BLOCKS === */
.creative-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.creative-block img:not(.hero-img) {
  width: 100%;
  max-width: 650px;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  background: #e9e9e9;
}

.description {
  width: 100%;
  max-width: 600px;
  text-align: left;
}

.description h2 {
  margin-bottom: 0.3rem;
  font-size: 1.45rem;
  color: #181818;
}

.description p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.description a {
  color: #0366d6;
  font-size: 1rem;
  text-decoration: underline;
  font-weight: 500;
}

.description a:hover {
  color: #dea3bd;
  text-decoration: underline;
}

/* === CAROUSEL === */
.carousel-wrapper {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  padding: 1.2rem 1.2rem 2rem 1.2rem;
  margin: 1.2rem auto 0 auto;
  max-width: 730px;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.59,.19,.11,1.02);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  background: #e9e9e9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #B92D6E;
  z-index: 5;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  border-radius: 5px;
  padding: 0.3rem 0.8rem;
  transition: background 0.18s;
}

.carousel-btn.prev {
  left: -0.6rem;
}

.carousel-btn.next {
  right: -0.6rem;
}

.carousel-btn:hover {
  background: #f7dce5;
  color: #91215c;
}

/* === Responsive Carousel === */
@media (max-width: 900px) {
  .carousel-wrapper {
    max-width: 100%;
    padding: 1rem 0.2rem 2rem 0.2rem;
  }
  .carousel-slide img {
    max-height: 320px;
  }
}

/* === END === */
