/* INF vintage - Static Site Styles
   Matches Squarespace design: aktiv-grotesk font, clean minimal layout */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

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

:root {
  --white: #fafafa;
  --black: #000;
  --dark: #1c1c1c;
  --accent: #dcdcdc;
  --text-secondary: #555;
  --site-max-width: 1500px;
  --site-gutter: 4vw;
  --header-height: 72px;
  --top-bar-color: #e8c4b8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TOP ACCENT BAR ===== */
.top-bar {
  height: 4px;
  background: var(--top-bar-color);
}

/* ===== HEADER / NAV ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 24px var(--site-gutter);
  position: relative;
}

.site-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.site-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.site-nav a:hover {
  opacity: 0.6;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}

/* ===== HERO SECTION (Homepage) ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 60px var(--site-gutter) 80px;
  gap: 60px;
  align-items: start;
}

.hero-text {
  padding-top: 20px;
}

.hero-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 40px;
}

.hero-subtext {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.7;
  margin-bottom: 12px;
}

.hero-contact {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.7;
}

.hero-image {
  width: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== GALLERY GRID (Homepage category cards) ===== */
.gallery-section {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter) 80px;
}

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

.gallery-card {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  pointer-events: none;
}

.gallery-card-overlay span {
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.gallery-card a {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ===== FULL-BLEED HERO BANNER (Gallery pages) ===== */
.page-hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 500px;
  max-height: 700px;
  overflow: visible;
  clip-path: none;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--site-gutter);
  background: rgba(255, 255, 255, 0.35);
}

.page-hero-overlay h1 {
  color: var(--black);
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  max-width: 900px;
  margin-bottom: 24px;
}

.page-hero-overlay p {
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  max-width: 800px;
  line-height: 1.6;
}

/* Section divider shape (zigzag at bottom of hero) */
.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12vw;
  z-index: 5;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
}

.section-divider .divider-fill {
  fill: var(--white);
}

.section-divider .divider-stroke {
  fill: none;
  stroke: var(--white);
  stroke-width: 0;
}

/* Nav overlay on hero pages */
.hero-nav-overlay {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 10;
}

.hero-nav-overlay .site-logo {
  color: var(--black);
}

.hero-nav-overlay .site-nav a {
  color: var(--black);
}

.hero-nav-overlay .hamburger span {
  background: var(--black);
}

/* ===== PREV / NEXT PAGE NAVIGATION ===== */
.page-nav {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 60px var(--site-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e5e5;
}

.page-nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s;
  max-width: 45%;
}

.page-nav a:hover {
  opacity: 0.6;
}

.page-nav .prev-arrow,
.page-nav .next-arrow {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}

.page-nav .prev { text-align: left; }
.page-nav .next { text-align: right; margin-left: auto; }

/* ===== MASONRY IMAGE GALLERY ===== */
.image-gallery {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter) 80px;
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* ===== AUTENTICO PAGE ===== */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px var(--site-gutter) 80px;
}

.content-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.content-block {
  margin-bottom: 48px;
}

.content-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
}

.content-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block .warning {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.7;
}

.content-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.content-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px var(--site-gutter);
  text-align: center;
}

.contact-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.4;
}

.contact-box {
  background: var(--white);
  padding: 40px;
  display: inline-block;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.contact-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
  display: block;
}

.whatsapp-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #25d366;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.whatsapp-btn:hover {
  opacity: 0.85;
}

/* ===== VIDEOS PAGE ===== */
.videos-section {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 60px var(--site-gutter) 80px;
}

.videos-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-card {
  background: #f5f5f5;
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 16px 20px;
}

.video-info .category {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid #e5e5e5;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 32px var(--site-gutter);
  text-align: center;
}

.footer-inner .copyright {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

  .image-gallery {
    columns: 2;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px var(--site-gutter) 60px;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .hamburger {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px var(--site-gutter);
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
  }

  .site-nav.open {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .image-gallery {
    columns: 2;
    column-gap: 8px;
  }

  .gallery-item {
    margin-bottom: 8px;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .page-hero {
    height: 50vh;
    min-height: 320px;
  }

  .page-hero-overlay h1 {
    font-size: 1.5rem;
  }

  .page-nav {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .page-nav a {
    max-width: 100%;
    justify-content: center;
    font-size: 0.95rem;
  }
}
