/*
Theme Name: Vinas Template
Theme URI: https://example.com/
Author: Codex
Author URI: https://example.com/
Description: Tema base personalizado para el proyecto La Vina BBQ.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: vinas-template
*/

/*
 * Main theme styles are loaded from assets/css/library.css.
 */

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
}

.site-main.vinas-page {
  padding-bottom: 0 !important;
}

.vinas-index-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: visible;
  background: transparent;
  z-index: 2;
  margin-bottom: clamp(12rem, 17vw, 15rem);
}

.vinas-index-hero-media,
.vinas-index-hero-video,
.vinas-index-hero-overlay {
  position: absolute;
  inset: 0;
}

.vinas-index-hero-media {
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  transform-origin: top left;
  will-change: transform, width, height, border-radius;
}

.vinas-index-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinas-index-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.42) 30%, rgba(0, 0, 0, 0.72) 100%),
    rgba(0, 0, 0, 0.28);
}

.vinas-index-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
  padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  pointer-events: none;
}

.vinas-index-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: #fff;
  will-change: transform, opacity;
  pointer-events: auto;
}

.vinas-index-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffb000;
}

body.vinas-loading .vinas-index-eyebrow,
body.vinas-loading .vinas-index-title-line,
body.vinas-loading .vinas-index-actions .vinas-button {
  opacity: 0;
  visibility: hidden;
}

.vinas-index-title {
  margin: 0;
  font-size: clamp(2.2rem, 4.35vw, 4.8rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.vinas-index-title-mask {
  display: block;
  overflow: hidden;
}

.vinas-index-title-line {
  display: block;
  white-space: nowrap;
  will-change: transform, opacity;
}

.vinas-index-title-mask + .vinas-index-title-mask {
  margin-top: 0.24em;
}

.vinas-index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .vinas-index-hero {
    display: block;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
  }

  .vinas-index-hero-media {
    height: 100vh;
  }

  .vinas-index-hero-inner {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 3rem;
  }

  .vinas-index-title {
    font-size: clamp(2rem, 9vw, 3.6rem);
    line-height: 1.2;
  }

  .vinas-index-title-line {
    white-space: normal;
  }

  .vinas-index-actions {
    gap: 0.75rem;
    padding-bottom: 1rem;
  }
}
