/* ========================================
   ARQSPG.COM — Arq. Silvia Pacheco Guier
   Shared Styles — Matching Original
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  word-wrap: break-word;
}

body {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background-color: #f4f0ea;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

ul, ol, li {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

.container {
  max-width: 1186px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation (Desktop) --- */
.nav-wrapper {
  width: 100%;
  background-color: #1e110f;
  min-height: 105px;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1186px;
  margin: 0 auto;
  width: 100%;
  padding: 23px 20px;
}

.nav-logo-text {
  font-family: 'Raleway', sans-serif;
  color: #fff;
  font-size: 25px;
  font-weight: normal;
  line-height: 1;
}

.nav-logo-text:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li:not(:last-child)::after {
  content: '';
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.25);
  margin: 0 2px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 16px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active {
  font-weight: 600;
}

/* --- Mobile Header --- */
.mobile-header {
  display: none;
  width: 100%;
  background-color: #1e110f;
  position: relative;
  z-index: 1000;
}

.mobile-header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 20px;
  position: relative;
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  display: none;
  background: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu a {
  display: block;
  padding: 0 20px;
  color: #1e110f;
  font-family: 'Merriweather', serif;
  font-size: 16px;
  line-height: 3;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a.current {
  font-weight: bold;
}

.mobile-menu a:hover {
  background: #f9f9f9;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 598px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 840px;
  padding: 20px;
}

.hero-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #777c7d;
  margin-bottom: 30px;
}

.hero-content h1 {
  font-family: 'Merriweather', serif;
  font-size: 38px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.3;
}

/* Button style matching One.com button1 class */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 30px;
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-dark {
  border-color: rgba(51,51,51,0.5);
  color: #333;
}

.btn-dark:hover {
  background: rgba(51,51,51,0.08);
  border-color: #333;
}

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-family: 'Merriweather', serif;
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 10px;
  color: #333;
  letter-spacing: 0.1em;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: #e0e0e0;
  margin: 0 auto 40px;
}

/* --- Our Styles (Home) --- */
.styles-section {
  background-color: #fff;
  padding: 60px 0 86px;
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 370px);
  gap: 32px;
  max-width: 1186px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.style-card {
  background: #d3d6d6;
  border: 1px solid rgba(120,69,60,0.1);
  text-align: center;
  overflow: hidden;
}

.style-card img {
  width: 368px;
  height: 210px;
  object-fit: cover;
  margin: 0 auto;
}

.style-card-info {
  padding: 37px 59px 40px;
}

.style-card-label {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.3em;
  color: #333;
  margin-bottom: 8px;
}

.style-card-divider {
  width: 54px;
  height: 1px;
  background: #979797;
  margin: 0 auto 8px;
}

.style-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.8;
}

.style-card .btn-dark {
  font-size: 12px;
  padding: 10px 22px;
}

/* --- Numbers Section --- */
.numbers-section {
  background-color: #d3d6d6;
  padding: 53px 0 28px;
  text-align: center;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 62px 20px 0;
}

.number-item h2 {
  font-family: 'Merriweather', serif;
  font-size: 40px;
  font-weight: bold;
  color: #629daa;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.number-item p {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #629daa;
  line-height: 1.8;
}

.numbers-cta {
  margin-top: 43px;
}

/* --- Disciplines Section --- */
.disciplines-section {
  background-color: #9cbbc5;
  padding: 53px 0 100px;
}

.disciplines-section .section-title {
  color: #fff;
}

.disciplines-intro {
  text-align: center;
  max-width: 1040px;
  margin: 63px auto 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  padding: 0 20px;
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 370px);
  gap: 35px;
  max-width: 1186px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.discipline-card {
  background: rgba(51,51,51,0.1);
  padding: 10px 15px;
  text-align: center;
  border-radius: 0;
  min-height: 230px;
  position: relative;
}

.discipline-icon {
  width: 84px;
  height: 80px;
  border-radius: 8px;
  margin: 0 auto 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.discipline-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.discipline-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 4px;
}

.discipline-card p {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #fff;
  line-height: 1.5;
}

.discipline-card .person {
  font-size: 18px;
  font-weight: normal;
  color: #fff;
  margin-top: 12px;
  line-height: 1;
}

/* --- Footer --- */
.footer-main {
  background-color: #333;
  padding: 35px 0 8px;
}

.footer-content {
  display: grid;
  grid-template-columns: 343px 1fr;
  max-width: 1186px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-info,
.footer-links-col {
  padding: 0 3px;
}

.footer-links-col {
  text-align: right;
  padding-right: 0;
}

.footer h3 {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: normal;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}

.footer p,
.footer a {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 1);
}

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

.footer-bottom {
  background: #000;
  padding: 21px 0;
}

.footer-bottom p {
  max-width: 1186px;
  margin: 0 auto;
  padding: 0 23px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 1);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  background-color: #fff;
  padding: 50px 0;
  text-align: center;
}

.page-header h2 {
  font-family: 'Merriweather', serif;
  font-size: 24px;
  color: #333;
  letter-spacing: 0.1em;
  font-weight: normal;
}

/* --- Gallery Grid --- */
.gallery-section {
  padding: 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 1186px;
  margin: 0 auto;
  padding: 20px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 300;
  z-index: 10000;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 10px 20px;
  user-select: none;
  z-index: 10000;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* --- Projects Page --- */
.projects-section {
  padding: 0 0 60px;
  background: #fff;
}

.project-block {
  max-width: 1186px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 50px;
}

.project-image-col {
  width: 500px;
}

.project-image-col img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-info-col {
  padding-top: 10px;
}

.project-label {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.project-label a {
  color: #333;
  transition: color 0.3s;
}

.project-label a:hover {
  color: #629daa;
}

.project-location {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.8;
}

.project-description {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.project-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 auto 50px;
  max-width: 1186px;
}

/* --- About Page --- */
.about-section {
  padding: 40px 0 60px;
  background: #fff;
}

.about-block {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.about-block h3 {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
  font-weight: bold;
}

.about-block p {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* --- Contact Page --- */
.contact-section {
  padding: 40px 0 60px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.contact-item h3 {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: normal;
}

.contact-item p,
.contact-item a {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.contact-item a:hover {
  color: #629daa;
}

.contact-map {
  margin-top: 50px;
  text-align: center;
}

.contact-map img {
  max-width: 700px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .styles-grid,
  .disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-block {
    grid-template-columns: 1fr;
  }

  .project-image-col {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links-col {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .styles-grid,
  .numbers-grid,
  .disciplines-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 400px;
  }

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

  .hero-tagline {
    font-size: 14px;
  }

  .number-item h2 {
    font-size: 32px;
  }

  .style-card img {
    width: 100%;
  }
}

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

  .gallery-item img {
    height: auto;
  }
}
