* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #101719;
  color: #f4f1ea;
}

/* HEADER */
.site-header {
  width: 100%;
  height: 95px;
  padding: 0 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #182025;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LEFT SIDE: ICON + NAME */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
}

.brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

/* RIGHT SIDE: NAVIGATION */
.nav-links {
  display: flex;
  gap: 48px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: #b8eadb;
}

/* ARTWORK SLIDESHOW */
.artwork-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 95px);
  min-height: 720px;
  overflow: hidden;
  background-color: #182025;
}

.art-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.art-slide.active {
  opacity: 1;
}

.art-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  padding: 20px 0;
  z-index: 5;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.marquee-group span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

/* ABOUT / HERO SECTION */
.hero {
  padding: 120px 8%;
  max-width: 100%;
  background: linear-gradient(135deg, #101719, #12332a);
  color: #f4f1ea;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  color: #d6d0c7;
}

.social-buttons {
  display: flex;
  gap: 18px;
  margin-top: 32px;
}

.social-button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #b8eadb;
  border: 2px solid #b8eadb;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.social-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social-button:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
  border-color: #ffffff;
}

/* PORTFOLIO SECTION */
.portfolio-section {
  padding: 100px 8%;
  background: linear-gradient(135deg, #101719, #12332a);
  color: #f4f1ea;
}

.portfolio-heading {
  max-width: 800px;
  margin-bottom: 40px;
}

.portfolio-heading h1 {
  font-size: 4rem;
  margin: 0 0 16px;
}

.portfolio-heading p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d6d0c7;
}

/* FILTER BUTTONS */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.filter-button {
  padding: 14px 22px;
  border: 2px solid #b8eadb;
  border-radius: 999px;
  background-color: transparent;
  color: #b8eadb;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
  background-color: #b8eadb;
  color: #101719;
  transform: translateY(-4px);
}

/* PROJECT GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background-color: #182025;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.portfolio-card-text {
  padding: 22px;
}

.portfolio-card-text h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.portfolio-card-text p {
  margin: 0;
  color: #d6d0c7;
  line-height: 1.5;
}

/* HIDDEN FILTERED CARDS */
.portfolio-card.hide {
  display: none;
}

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

@media (max-width: 650px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-heading h1 {
    font-size: 3rem;
  }
}

/* PROJECT LIGHTBOX */
.portfolio-card {
  cursor: pointer;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
}

.project-lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: min(1000px, 95%);
  max-height: 90vh;
  overflow-y: auto;
  background-color: #182025;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  display: block;
}

.lightbox-text {
  padding: 28px;
  color: #f4f1ea;
}

.lightbox-text h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.lightbox-text p {
  margin: 0;
  color: #d6d0c7;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background-color: #b8eadb;
  color: #101719;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.lightbox-close:hover {
  background-color: #ffffff;
}

.project-details {
  display: none;
}

.project-detail-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 24px auto;
}

.project-detail-images img {
  width: min(100%, 600px);
  border-radius: 18px;
  display: block;
  object-fit: cover;
}

.lightbox-details {
  margin-top: 28px;
}

.lightbox-details h3 {
  margin: 24px 0 10px;
  color: #b8eadb;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lightbox-details p {
  color: #d6d0c7;
  line-height: 1.7;
  margin: 0 0 12px;
}

/* CONTACT SECTION */
.contact-section {
  padding: 110px 8%;
  background: linear-gradient(135deg, #101719, #12332a);
  color: #f4f1ea;
}

.contact-heading {
  max-width: 850px;
  margin-bottom: 45px;
}

.contact-label {
  color: #b8eadb;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-heading h1 {
  font-size: 4rem;
  margin: 0 0 20px;
  line-height: 1.1;
}

.contact-heading p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d6d0c7;
  max-width: 800px;
}

.contact-form {
  max-width: 850px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  color: #f4f1ea;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid rgba(184, 234, 219, 0.35);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #f4f1ea;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(244, 241, 234, 0.45);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #b8eadb;
  background-color: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-button {
  padding: 16px 36px;
  border: 2px solid #b8eadb;
  border-radius: 999px;
  background-color: #b8eadb;
  color: #101719;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-4px);
  background-color: transparent;
  color: #b8eadb;
}

.contact-backup {
  margin-top: 28px;
  color: #d6d0c7;
  font-size: 1rem;
}

.contact-backup a {
  color: #b8eadb;
  font-weight: 700;
  text-decoration: none;
}

.contact-backup a:hover {
  text-decoration: underline;
}

.email-button {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  background-color: #b8eadb;
  color: #101719;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.email-button:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
}

/* CONTACT RESPONSIVE */
@media (max-width: 700px) {
  .contact-section {
    padding: 80px 6%;
  }

  .contact-heading h1 {
    font-size: 3rem;
  }
}

/* FOOTER */
.site-footer {
  padding: 32px 8%;
  background-color: #101719;
  color: #d6d0c7;
  text-align: center;
  border-top: 1px solid rgba(184, 234, 219, 0.2);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

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

/* LAPTOPS / SMALL DESKTOPS */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artwork-slider {
    min-height: 620px;
  }
}

/* TABLETS */
@media (max-width: 900px) {
  .site-header {
    height: auto;
    padding: 22px 6%;
    flex-direction: column;
    gap: 18px;
  }

  .brand {
    font-size: 1.7rem;
  }

  .brand-icon {
    width: 50px;
    height: 50px;
  }

  .nav-links {
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .artwork-slider {
    height: 75vh;
    min-height: 520px;
  }

  .hero,
  .portfolio-section,
  .contact-section {
    padding: 85px 6%;
  }

  .hero h1,
  .portfolio-heading h1,
  .contact-heading h1 {
    font-size: 3.3rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-content {
    width: 95%;
  }
}

/* PHONES */
@media (max-width: 650px) {
  .site-header {
    padding: 18px 5%;
  }

  .brand {
    font-size: 1.4rem;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .artwork-slider {
    height: 65vh;
    min-height: 420px;
  }

  .slider-text {
    padding: 14px 0;
  }

  .marquee-group span {
    font-size: 0.85rem;
  }

  .hero,
  .portfolio-section,
  .contact-section {
    padding: 70px 5%;
  }

  .hero h1,
  .portfolio-heading h1,
  .contact-heading h1 {
    font-size: 2.7rem;
  }

  .hero p,
  .portfolio-heading p,
  .contact-heading p {
    font-size: 1rem;
  }

  .social-buttons {
    gap: 14px;
  }

  .social-button {
    width: 52px;
    height: 52px;
  }

  .portfolio-filters {
    gap: 10px;
  }

  .filter-button {
    padding: 12px 16px;
    font-size: 0.8rem;
  }

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

  .portfolio-card img {
    height: 240px;
  }

  .project-lightbox {
    padding: 20px;
  }

  .lightbox-content {
    width: 100%;
    border-radius: 20px;
  }

  .lightbox-image {
    max-height: 420px;
  }

  .lightbox-text {
    padding: 22px;
  }

  .lightbox-text h2 {
    font-size: 1.6rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 16px;
  }

  .site-footer {
    padding: 26px 5%;
  }
}

/* VERY SMALL PHONES */
@media (max-width: 420px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .hero h1,
  .portfolio-heading h1,
  .contact-heading h1 {
    font-size: 2.3rem;
  }

  .artwork-slider {
    height: 58vh;
    min-height: 360px;
  }

  .portfolio-card img {
    height: 210px;
  }
}

@media (max-width: 650px) {
  .project-detail-images {
    grid-template-columns: 1fr;
  }
}
