/*
Theme Name: GUSTIME
Theme URI: https://gustimemusic.com/
Description: A native Gutenberg child theme for GUSTIME, based on Twenty Twenty-Five.
Author: LEVERA.WEB
Template: twentytwentyfive
Version: 1.0.0
Text Domain: gustime
*/

/*
 * GUSTIME visual foundation for WordPress / Gutenberg / Novamira
 * Extracted from the Astro/Tailwind site on 2026-06-23.
 * Framework-free: no Tailwind directives or nesting.
 */

@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");

@font-face {
  font-family: "Malline";
  src: url("assets/fonts/Malline.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Aston Script";
  src: url("../twentytwentyfive/assets/fonts/manrope/Manrope-VariableFont_wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Eurostile Extended";
  src: url("assets/fonts/Raleway-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Eurostile Extended";
  src: url("assets/fonts/Raleway-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Absans";
  src: url("assets/fonts/Raleway-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-Italic-VF.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Williwaw";
  src: url("assets/fonts/Raleway-VF.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-script: "Malline", "Aston Script", cursive;
  --font-display: "Eurostile Extended", Raleway, sans-serif;
  --transition-global: 300ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

img,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
  transition: color var(--transition-global), opacity var(--transition-global);
}

a:hover {
  color: var(--dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-body);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p,
ul,
ol {
  margin: 0 0 var(--space-m);
}

strong {
  color: var(--text-body);
  font-weight: 600;
}

::selection {
  background: var(--secondary);
  color: var(--dark);
}

.alignwide,
.gustime-container {
  margin-inline: auto;
  max-width: 72rem;
  padding-inline: var(--space-s);
  width: 100%;
}

.gustime-container-narrow {
  margin-inline: auto;
  max-width: 56rem;
  padding-inline: var(--space-s);
  width: 100%;
}

.alignfull {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

.gustime-section-surface {
  background: var(--bg-surface);
}

.gustime-section-primary {
  background: var(--primary);
  color: var(--light);
}

.gustime-section-primary h1,
.gustime-section-primary h2,
.gustime-section-primary h3,
.gustime-section-primary a {
  color: var(--light);
}

.gustime-script,
.is-style-gustime-script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1;
}

.gustime-eyebrow {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gustime-divider {
  background: color-mix(in srgb, var(--secondary) 60%, transparent);
  border: 0;
  height: 2px;
  margin: var(--space-s) 0 var(--space-l);
  width: 50%;
}

.gustime-hero,
.wp-block-cover.gustime-hero {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 60vh;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.gustime-hero-home,
.wp-block-cover.gustime-hero-home {
  min-height: 95vh;
}

.gustime-hero::after {
  background: rgb(0 0 0 / 0.25);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.gustime-hero__media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.gustime-hero__content {
  color: var(--light);
  max-width: 70rem;
  padding: var(--space-l);
  position: relative;
  z-index: 1;
}

.gustime-hero__content h1,
.gustime-hero__content p {
  color: var(--light);
}

.gustime-split {
  align-items: center;
}

.gustime-split-reverse > :first-child {
  order: 2;
}

.gustime-media-frame {
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}

.gustime-media-frame img {
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-global);
  width: 100%;
}

.gustime-media-frame:hover img {
  transform: scale(1.05);
}

.gustime-card {
  background: var(--light);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  padding: var(--space-l);
  transition: box-shadow var(--transition-global), transform var(--transition-global);
}

.gustime-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.gustime-gallery,
.wp-block-gallery.gustime-gallery {
  display: grid;
  gap: var(--space-s);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gustime-gallery figure {
  aspect-ratio: 1;
  border-radius: var(--radius-m);
  margin: 0;
  overflow: hidden;
}

.gustime-gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-global);
  width: 100%;
}

.gustime-gallery figure:hover img {
  transform: scale(1.05);
}

.wp-block-button__link,
.gustime-button,
button.gustime-button,
input[type="submit"].gustime-button {
  appearance: none;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 0.375rem;
  color: var(--light);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-m);
  font-weight: 600;
  line-height: 1.2;
  padding: var(--btn-space);
  text-decoration: none;
  transition: background var(--transition-global), color var(--transition-global), transform var(--transition-global);
}

.wp-block-button__link:hover,
.gustime-button:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-2px);
}

.gustime-button-light {
  background: var(--light);
  border-color: var(--light);
  color: var(--primary);
}

.gustime-button-light:hover {
  background: transparent;
  color: var(--light);
}

label {
  color: var(--text-body);
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-s);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input,
select,
textarea {
  background: var(--light);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-s);
  color: var(--text-body);
  font: inherit;
  padding: var(--space-xs) var(--space-s);
  width: 100%;
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-20);
  outline: 0;
}

.gustime-contact-card {
  background: var(--primary);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  color: var(--light);
  padding: var(--space-l);
}

.gustime-contact-card a,
.gustime-contact-card h2,
.gustime-contact-card h3 {
  color: var(--light);
}

.gustime-quote-banner {
  align-items: center;
  background-position: center;
  background-size: cover;
  color: var(--light);
  display: flex;
  justify-content: center;
  min-height: 45vh;
  padding: var(--space-l);
  position: relative;
  text-align: center;
}

.gustime-quote-banner::before {
  background: rgb(0 0 0 / 0.25);
  content: "";
  inset: 0;
  position: absolute;
}

.gustime-quote-banner > * {
  color: var(--light);
  position: relative;
}

.gustime-fade-in {
  animation: gustime-fade-in 700ms ease both;
}

@keyframes gustime-fade-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 782px) {
  .cf-stack-on-m {
    grid-template-columns: 1fr !important;
  }

  .gustime-split-reverse > :first-child {
    order: initial;
  }

  .gustime-gallery,
  .wp-block-gallery.gustime-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gustime-hero,
  .wp-block-cover.gustime-hero {
    min-height: 60svh;
  }

  .gustime-hero-home,
  .wp-block-cover.gustime-hero-home {
    min-height: 85svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress-specific composition */
.wp-site-blocks {
  overflow: clip;
}

.gustime-hero .wp-block-cover__inner-container {
  max-width: 80rem;
}

.gustime-hero-kicker {
  color: var(--secondary);
  font-family: Raleway, sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gustime-hero-title {
  font-size: var(--text-4xl);
  margin-inline: auto;
  max-width: 13ch;
}

.gustime-hero-subtitle {
  font-family: Malline, cursive;
  font-size: var(--text-3xl);
  line-height: 1;
  margin-inline: auto;
}

.gustime-section-title {
  font-size: var(--text-3xl);
}

.gustime-service-card {
  border-top: 3px solid var(--secondary);
  height: 100%;
}

.gustime-service-card img {
  height: 66px;
  object-fit: contain;
  width: 66px;
}

.gustime-testimonial {
  border-left: 3px solid var(--secondary);
}

.gustime-article > * {
  max-width: 48rem;
}

.gustime-article h2,
.gustime-article h3 {
  margin-top: var(--space-l);
}

.gustime-article h2::after,
.gustime-article h3::after {
  background: var(--secondary);
  content: "";
  display: block;
  height: 2px;
  margin-top: var(--space-s);
  width: 5rem;
}

.gustime-faq details {
  background: var(--light);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: var(--space-s) var(--space-m);
}

.gustime-faq summary {
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-l);
}

.gustime-form-shell {
  background: var(--light);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  padding: var(--space-l);
}

.gustime-form-grid {
  display: grid;
  gap: 0 var(--space-s);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gustime-form p {
  margin-bottom: var(--space-s);
}

.gustime-honeypot {
  left: -9999px;
  position: absolute;
}

.gustime-form-notice {
  border-radius: var(--radius-xs);
  margin-bottom: var(--space-s);
  padding: var(--space-s);
}

.gustime-form-notice-success {
  background: var(--success-10);
  color: var(--success);
}

.gustime-form-notice-error {
  background: var(--error-10);
  color: var(--error);
}

.gustime-site-footer {
  border-top: 1px solid var(--border-primary);
}

.gustime-site-footer a {
  text-decoration: none;
}

@media (max-width: 782px) {
  .gustime-form-grid {
    grid-template-columns: 1fr;
  }
}
