:root {
  --dark: #2b1f17;
  --dark-2: #3a2a1f;
  --light: #f6f3f1;
  --accent: #f2c452;
  --text: #2a2a2a;
  --muted: #7a6f6a;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #f2efec;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn--light {
  background: #fff;
  color: var(--dark);
}

.btn--light:hover {
  background: var(--accent);
  color: var(--dark);
}

.btn--primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.btn--primary:hover {
  background: #f0b735;
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark:hover {
  background: var(--dark-2);
}

.main-header {
  background: #f7f2ed;
  padding: 16px 0 19px;
}

.main-header__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 227px;
  height: auto;
}

.header-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--dark);
}

.header-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 61%;
  justify-self: end;
  left: 0;
  transform: translateX(-120px) !important;
}

.header-banner__image {
  height: 81px;
  background: linear-gradient(120deg, #efe1d3, #d6c3b1);
}

.header-banner__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 22px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.header-banner__text strong {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.main-nav {
  background: var(--dark);
}

.main-nav__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #d9d1cc;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.nav-link__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  color: inherit;
}

.nav-link__icon svg {
  width: 100%;
  height: 100%;
}

.nav-link__icon--home {
  width: 22px;
  height: 22px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .is-active {
  background: #fff;
  color: var(--dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 6px;
}

.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(43, 42, 40, 0.85), rgba(91, 75, 60, 0.85)),
    url("../img/background.png") center/cover no-repeat;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero__content {
  position: relative;
  max-width: 520px;
  padding: 80px 0;
  z-index: 1;
  left: -198px;
}

.hero__label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: #f2d49d;
  margin-bottom: 12px;
}

.hero__cta {
  gap: 10px;
}

.hero__cta-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.hero__cta-icon svg {
  width: 100%;
  height: 100%;
}


.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.hero p {
  margin-bottom: 24px;
  color: #f1ede9;
}

.about {
  background: #f4f1ee;
  padding: 56px 0;
}

.about__content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.about__highlight {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.services {
  background: #f6f4f2;
  padding: 70px 0 90px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px 22px 46px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.service-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f8f2ea;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(43, 31, 23, 0.08);
}

.service-item__icon svg {
  width: 22px;
  height: 22px;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(242, 196, 82, 0.18);
}

.service-item__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-item h3 {
  font-size: 1.1rem;
}

.service-item p {
  color: var(--muted);
}

.portfolio {
  background: #efe9e4;
  padding: 56px 0;
}

.portfolio__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.portfolio__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.portfolio-carousel {
  position: relative;
  --carousel-width: 76.3%;
}

.portfolio-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #fff;
  max-width: var(--carousel-width);
  margin: 0 auto;
}

.portfolio-carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.portfolio-carousel__slide {
  flex: 0 0 100%;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f2ece6;
}

.portfolio-carousel__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(1.15);
  opacity: 0.45;
  transform: scale(1.1);
  z-index: 0;
}

.portfolio-carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 236, 225, 0.5), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(219, 196, 178, 0.35), transparent 60%);
  opacity: 0.6;
  z-index: 1;
}

.portfolio-carousel__slide img {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-button--prev {
  left: calc((100% - var(--carousel-width)) / 2 - 6px);
}

.carousel-button--next {
  right: calc((100% - var(--carousel-width)) / 2 - 6px);
}

.carousel-button:hover {
  background: var(--dark-2);
  transform: translateY(calc(-50% - 2px));
}

.footer {
  background: var(--dark);
  color: #f3ede8;
  padding: 42px 0 0;
}

.footer-logo {
  width: 140px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 32px;
}

.footer h4 {
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
  color: #d2c5bf;
}

.footer-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d2c5bf;
  margin-bottom: 6px;
}

.footer-address__icon {
  width: 26px;
  height: 26px;
  color: #d7c7b8;
  flex-shrink: 0;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-phone__icon {
  width: 24px;
  height: 24px;
  color: #d7c7b8;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-email__icon {
  width: 24px;
  height: 24px;
  color: #d7c7b8;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  background: #231810;
  text-align: center;
  padding: 14px 0;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__bottom a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .main-header__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo {
    justify-content: center;
  }

  .header-social {
    justify-content: center;
  }

  .header-banner__image {
    height: 140px;
  }

  .header-banner {
    width: 100%;
    justify-self: stretch;
    transform: none !important;
  }

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

  .services-list {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .main-nav__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    padding-top: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: fit-content;
  }

  .hero {
    min-height: 520px;
  }

  .hero__content {
    left: 0;
  }

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

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

  .portfolio-carousel {
    padding: 0;
    gap: 8px;
    --carousel-width: 100%;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    transform: none;
  }

  .carousel-button:hover {
    transform: translateY(-1px);
  }

  .portfolio-carousel__slide {
    padding: 10px;
    min-height: 300px;
  }

  .portfolio-carousel__slide img {
    max-height: 100%;
  }

  .carousel-button--prev {
    left: 3px;
  }

  .carousel-button--next {
    right: 3px;
  }

}
