* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #111;
  background-color: #f5f0ed;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* === HEADER / NAVIGATION === */

.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 200;
  padding: 18px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  width: 58px;
  height: auto;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 64px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  font-size: 1rem;
  padding: 6px 4px;
}

.nav-link.active {
  color: #000;
  font-weight: 700;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #333;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.active span:first-child {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5f0ed;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav ul li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
  }
}

/* === MAIN CONTENT AREA === */

main#main-content {
  min-height: 100vh;
  padding: 0;
}

body.page-home main#main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/homepage-background.jpeg') no-repeat center center;
  background-size: cover;
}

body.page-standard {
  background-color: #F3EFEE;
}

body.page-standard main#main-content {
  padding-top: 100px;
}

/* === HOMEPAGE HERO (from home.html) === */

.hero-home {
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-title {
  margin: 0;
  font-family: "Lucida Bright", "Lucida", "EB Garamond", serif;
  font-size: 7rem;
  font-weight: 400;
  color: #080808;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 12px;
}

.brand-design {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: #111;
  letter-spacing: 20px;
  text-transform: uppercase;
  margin-left: 15px;
  margin-bottom: 26px;
}

.brand-sub {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #333;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 6px;
  text-transform: uppercase;
}

/* === FOOTER === */

.site-footer {
  background: #f1f1f1;
  color: #555;
  padding: 22px 0;
  text-align: center;
}


/* === ABOUT PAGE STYLES === */

.page-about {
  width: 100%;
  min-height: calc(100vh - 166px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 600px 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
}

.about-media {
  display: flex;
  justify-content: center;
}

.avatar-image {
  width: 600px;
  height: 600px;
  background: url('../images/avatar.png') no-repeat center center;
  background-size: contain;
}

/* Page Title Typography */
.page-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: #080808;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 24px 0;
}

/* ACCENT COLOR CLASS (Brand Red) */
.text-accent {
  color: #E70000 !important; /* !important ensures it overrides any other color rules */
  display: inline-block;
}

.page-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  max-width: 650px;
  margin-bottom: 40px;
}

.about-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  margin-bottom: 32px;
}

/* =============================================
   OOCSS BUTTON SYSTEM - Structure & Skin Pattern
   ============================================= */

/* .btn - BASE STRUCTURE (Layout, Spacing, Typography) */
.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 14px 32px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* .btn-primary - SKIN (Colors, Visual Styling) */
.btn-primary {
  color: #FCFCFC;
  background-color: #080808;
  border-color: #080808;
}

.btn-primary:hover {
  background-color: #333;
  border-color: #333;
}

/* .btn-outline - SKIN VARIANT (Outline Style) */
.btn-outline {
  color: #080808;
  background-color: transparent;
  border-color: #080808;
}

.btn-outline:hover {
  background-color: #080808;
  color: #FCFCFC;
}

/* .primary-button - Standalone button style (pre-OOCSS) */
.primary-button {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #FCFCFC;
  background-color: #080808;
  border: 2px solid #080808;
  padding: 14px 32px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
}

/* CTA Link - Structure & Skin */
.cta-link {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  text-decoration: none;
  color: #080808;
  border: 2px solid #080808;
  padding: 12px 28px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* === CONTACT PAGE STYLES === */

.page-contact {
  width: 100%;
  min-height: calc(100vh - 166px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
}

.contact-inner .page-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  margin-bottom: 32px;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-form label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border: 1px solid #ddd;
  background-color: #FCFCFC;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 150px;
}

/* =============================================
   OOCSS CARD SYSTEM - Structure & Skin Pattern
   ============================================= */

/* .card - BASE STRUCTURE (Layout, Spacing) */
.card {
  text-align: left;
  text-decoration: none;
  display: block;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* .card-project - SKIN (Colors, Borders, Visual Styling) */
.card-project {
  background-color: #FCFCFC;
  border: 1px solid #eee;
}

/* .project-card - Standalone card style (pre-OOCSS) */
.project-card {
  background-color: #FCFCFC;
  border: 1px solid #eee;
  text-align: left;
  text-decoration: none;
}

.project-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* === PORTFOLIO PAGE STYLES === */

.page-portfolio {
  width: 100%;
  min-height: calc(100vh - 166px);
  padding: 60px 0;
}

.portfolio-inner {
  max-width: 1100px;
  text-align: center;
}


.portfolio-inner .page-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-thumb {
  height: 300px;
  background-color: #e0e0e0;
  background-size: cover;
  background-position: center;
}

.project-thumb.placeholder {
  background-color: #f0f0f0;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-family: "Lucida Bright", "Lucida", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #080808;
  margin: 0 0 8px 0;
}

.project-info p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
  margin: 0;
}

@media (max-width: 767px) {
  .container {
    width: 90%;
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .brand-title {
    font-size: 4rem;
  }

  .brand-design {
    font-size: 1rem;
    letter-spacing: 10px;
    margin-left: 8px;
    margin-bottom: 16px;
  }

  .brand-sub {
    font-size: 0.7rem;
    letter-spacing: 4px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .avatar-image {
    width: 300px;
    height: 300px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .brand-title {
    font-size: 5rem;
  }

  .about-inner {
    gap: 60px;
  }

  .avatar-image {
    width: 450px;
    height: 450px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .brand-title {
    font-size: 6rem;
  }
}

/* === PROJECT PAGE STYLES === */

.project-detail {
  max-width: 900px;
  padding: 60px 0 100px;
}

.project-detail .back {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: #333;
  display: inline-block;
  margin-bottom: 24px;
}

.project-title {
  font-family: "Lucida Bright", "Lucida", "EB Garamond", serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #080808;
  letter-spacing: 2px;
  margin: 0;
  text-align: center;
}

.project-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 24px;
  text-align: center;
}

.project-meta-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #333;
}

.project-meta-list li {
  margin-bottom: 8px;
}

.project-video-wrapper {
  width: 100%;
  margin-bottom: 40px;
  background-color: #000;
}

.project-video-wrapper video {
  display: block;
  width: 100%;
}

.project-detail .project-info {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: left;
}

.project-detail .project-info h3 {
  font-family: "Lucida Bright", "Lucida", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #080808;
  margin: 0 0 16px 0;
}

.project-detail .project-info p {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.project-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
}

/* === PROJECT CREDITS STYLES === */

.project-credits {
  max-width: 700px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid #eee;
  text-align: left;
}

.project-credits h3 {
  font-family: "Lucida Bright", "Lucida", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #080808;
  margin: 0 0 16px 0;
}

.project-credits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-credits li {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

/* === PROJECT 2 STYLES (COHERENT) === */

.project-hero-image {
  width: 100%;
  margin-bottom: 40px;
  background-color: #000;
  border: 1px solid #eee;
}

.project-hero-image img {
  width: 100%;
  display: block;
}

.project-gallery.project-gallery-2col {
  grid-template-columns: repeat(2, 1fr);
}

.project-team-section {
  max-width: 700px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid #eee;
  text-align: left;
}

.project-team-section h3 {
  font-family: "Lucida Bright", "Lucida", "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #080808;
  margin: 0 0 16px 0;
}

.project-team-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.project-team-list li {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

/* === LIGHTBOX2 PLUGIN OVERRIDES === */
/* These styles ensure Lightbox2 matches your site design */

.gallery-item {
  cursor: pointer;
  display: block;
}

.gallery-item img {
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  opacity: 0.85;
}
