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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f6f5f1;
  color: #606e64;
  line-height: 1.5;
}


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

#wrapper {
  width: 100%;
}

#content {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 30, 13, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.2px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: opacity 0.18s ease, background-color 0.18s ease,
    transform 0.18s ease;
}

nav a:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

nav a:active {
  transform: translateY(0px);
}


#hero {
  position: relative;
  min-height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;

  
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("../images/laptop-mockup-minimalistic-villa-backdrop_36897-3100.avif");
  background-size: cover;
  background-position: center;

  border-radius: 18px;
  overflow: hidden;

  margin: 26px auto 10px;
  max-width: 1200px;
}


.hero-logo {
  position: absolute;
  top: -20px;
  left: 20px;
  margin: -30px;

  display: flex;
  justify-content: center;
  align-items: center;
    
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
}

.hero-logo img {
    border-radius: 100%;
    height: 300px;
  }


.hero-content {
  text-align: center;
  padding: 28px 34px;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(7px);

  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;

  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}

.hero-content h1 {
  margin: 0;
  font-size: 46px;
  font-family:'Playfair Display', serif;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  margin: 10px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;

  background: rgba(235, 228, 228, 0.9);
  color: #1f2a13;

  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;

  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
}

.hero-btn:active {
  transform: translateY(0px);
}


.home-grid {
  max-width: 1200px;
  margin: 34px auto 70px;
  padding: 0 18px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#projects-preview {
    width: 90%;
    margin: 70px auto;
    text-align: center;
    font-family:'Cormorant Garamond', serif;
}

#projects-preview h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #5e6b57;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-size: 1rem;
    color: #6b5f58;
}

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

.project-card {
    background-color: #f6f0e9;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    
}

.project-card h3 {
    color: #5e6b57;
    margin-bottom: 12px;
}

.project-card p {
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #5a514b;
}

.project-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #5e6b57;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s ease;
}

.project-btn:hover {
    background-color: #7a8872;
}

#featured-work {
    width: 90%;
    margin: 70px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.featured-text {
    background-color: #fff;
    padding: 30px;
    border-radius: 18px;
    font-family:'Playfair', serif;
}

.featured-text h2 {
    color: #5e6b57;
    margin-bottom: 15px;
}

.featured-text p {
    line-height: 1.7;
    color: #5a514b;
    font-family:'Cormorant Garamond', serif;
}

.featured-box {
    background-color: #e9dfd2;
    padding: 30px;
    border-radius: 18px;
}

.featured-box h3 {
    color: #5e6b57;
    margin-bottom: 15px;
    font-family:'Playfair', serif;
}

.featured-box ul {
    padding-left: 20px;
    line-height: 1.9;
    color: #5a514b;
    font-family:'Cormorant Garamond', serif;
}


.card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card h3 {
  margin: 14px 16px 18px;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.card p {
  margin: 0 16px 18px;
  color: rgba(31, 42, 19, 0.75);
}


.card:hover img {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

.card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 0;
  border: 0;
}


footer {
  background: rgba(20, 30, 13, 0.92);
  color: rgba(255, 255, 255, 0.9);
  padding: 22px 18px;
}

footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .social {
  display: flex;
  gap: 12px;
  align-items: center;
}

footer .social img {
  width: 28px;
  height: 28px;
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

footer .social img:hover {
  transform: translateY(-2px);
  opacity: 1;
}


@media screen and (max-width: 1000px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #hero {
    min-height: 460px;
    margin: 20px 12px 10px;
  }

  .hero-content h1 {
    font-size: 40px;
  }
}

@media screen and (max-width: 650px) {
  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 12px;
  }

  nav a {
    padding: 9px 10px;
  }

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

  #hero {
    min-height: 420px;
    border-radius: 14px;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .hero-content {
    padding: 22px 18px;
    margin: 0 14px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

