/*
Theme Name: Acunto Artisan Pizza Ovens
Author: WordPress Telex
Description: A refined landing page theme for Acunto handcrafted Italian pizza ovens, targeting American pizzeria owners. Features a white background with deep red accents, editorial serif typography, and a sophisticated aesthetic that conveys Italian heritage and artisanal craftsmanship.
Version: 0.3.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: acunto-artisan-pizza-ovens
Tags: block-theme, full-site-editing, one-column, custom-colors, custom-menu
*/

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Global border radius */
.wp-block-image img,
.wp-block-image figure,
.wp-block-cover,
.value-card-light,
.product-card-light,
.testimonial-card,
.video-testimonial-placeholder,
.quote-form,
.contact-form-light input,
.contact-form-light select,
.contact-form-light textarea,
.contact-form-light .form-submit-btn,
.cta-outline a.wp-block-button__link,
.cta-outline-dark a.wp-block-button__link,
.cta-filled a.wp-block-button__link,
.step-number {
  border-radius: 8px !important;
}

/* Equal-height card layout */
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.equal-cards .cta-bottom {
  margin-top: auto;
  justify-content: center;
}

.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* Grain overlay on hero */
.hero-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: repeating-conic-gradient(
    rgba(255, 255, 255, 0.08) 0% 25%,
    transparent 0% 50%
  );
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1;
}

/* Provenance decorative lines */
.provenance-line::before,
.provenance-line::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  vertical-align: middle;
  margin: 0 1rem;
}

/* Stat bar styling */
.stat-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  text-align: center;
}

/* Section divider line */
.section-divider {
  width: 60px;
  height: 1px;
  background-color: var(--wp--preset--color--primary);
  margin: 0 auto;
}

/* Section divider light variant for white backgrounds */
.section-divider-light {
  width: 60px;
  height: 1px;
  background-color: var(--wp--preset--color--primary);
  margin: 0 auto;
}

/* Value card hover */
.value-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Light value card (for white backgrounds) */
.value-card-light {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(101, 13, 16, 0.08);
}
.value-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(101, 13, 16, 0.1);
}

/* Process step number */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
}

/* Process step cards rounded borders */
.accent-warm-bg .equal-cards .wp-block-group[style*="border-top"] {
  border-radius: 8px !important;
}

/* Testimonial card */
.testimonial-card {
  border-left: 2px solid var(--wp--preset--color--primary);
  transition: border-color 0.3s ease;
}
.testimonial-card:hover {
  border-left-color: var(--wp--preset--color--primary-light);
}

/* Centered testimonial text */
.testimonial-card .wp-block-group,
.testimonial-card p {
  text-align: center;
}
.testimonial-card {
  border-left: none !important;
  border-top: 2px solid var(--wp--preset--color--primary);
}
.testimonial-card:hover {
  border-top-color: var(--wp--preset--color--primary-light);
}

/* Product card image */
.product-card img {
  transition: transform 0.5s ease;
}
.product-card:hover img {
  transform: scale(1.03);
}

/* Product card light variant */
.product-card-light {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(101, 13, 16, 0.12);
}
.product-card-light img {
  transition: transform 0.5s ease;
}
.product-card-light:hover img {
  transform: scale(1.03);
}

/* CTA button style (for dark backgrounds) */
.cta-outline a.wp-block-button__link {
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: transparent !important;
  color: var(--wp--preset--color--white) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  padding: 1rem 3rem !important;
  transition: background-color 0.4s ease, border-color 0.4s ease !important;
  font-family: 'Lato', 'Helvetica Neue', sans-serif !important;
}
.cta-outline a.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--primary) !important;
  border-color: var(--wp--preset--color--primary) !important;
}

/* CTA button style (for light backgrounds) */
.cta-outline-dark a.wp-block-button__link {
  border: 1px solid var(--wp--preset--color--primary) !important;
  background: transparent !important;
  color: var(--wp--preset--color--primary) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  padding: 1rem 3rem !important;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease !important;
  font-family: 'Lato', 'Helvetica Neue', sans-serif !important;
}
.cta-outline-dark a.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--primary) !important;
  border-color: var(--wp--preset--color--primary) !important;
  color: var(--wp--preset--color--white) !important;
}

/* CTA filled button style */
.cta-filled a.wp-block-button__link {
  background-color: var(--wp--preset--color--primary) !important;
  color: var(--wp--preset--color--white) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  padding: 1rem 3rem !important;
  transition: background-color 0.4s ease !important;
  font-family: 'Lato', 'Helvetica Neue', sans-serif !important;
  border: 1px solid var(--wp--preset--color--primary) !important;
}
.cta-filled a.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--primary-light) !important;
  border-color: var(--wp--preset--color--primary-light) !important;
}

/* Navigation link styling */
.header-navigation .wp-block-navigation-item a {
  font-size: 0.75rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: 'Lato', 'Helvetica Neue', sans-serif !important;
  transition: color 0.3s ease !important;
}
.header-navigation .wp-block-navigation-item a:hover {
  color: var(--wp--preset--color--white) !important;
}

/* Form styling */
.quote-form input,
.quote-form select,
.quote-form textarea {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--wp--preset--color--warm-white) !important;
  padding: 0.9rem 1.2rem !important;
  font-family: 'Lato', 'Helvetica Neue', sans-serif !important;
  font-size: 0.9rem !important;
  transition: border-color 0.3s ease !important;
  width: 100% !important;
  margin-bottom: 1rem !important;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--wp--preset--color--primary) !important;
  outline: none !important;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Contact form on light background */
.contact-form-light input,
.contact-form-light select,
.contact-form-light textarea {
  background: #FFFFFF !important;
  border: 1px solid rgba(101, 13, 16, 0.15) !important;
  color: var(--wp--preset--color--dark) !important;
  padding: 0.95rem 1.2rem !important;
  font-family: 'Lato', 'Helvetica Neue', sans-serif !important;
  font-size: 0.9rem !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form-light input:focus,
.contact-form-light select:focus,
.contact-form-light textarea:focus {
  border-color: var(--wp--preset--color--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(101, 13, 16, 0.08) !important;
}
.contact-form-light input::placeholder,
.contact-form-light textarea::placeholder {
  color: rgba(44, 44, 42, 0.4) !important;
}
.contact-form-light select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23650D10'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.2rem center !important;
  background-size: 10px !important;
  padding-right: 2.5rem !important;
}
.contact-form-light label {
  font-family: 'Lato', 'Helvetica Neue', sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--wp--preset--color--primary) !important;
  font-weight: 400 !important;
  display: block !important;
  margin-bottom: 0.4rem !important;
}
.contact-form-light .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .contact-form-light .form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form-light .form-field {
  margin-bottom: 1.5rem;
}
.contact-form-light .form-submit-btn {
  display: inline-block;
  background-color: var(--wp--preset--color--primary);
  color: #FFFFFF;
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  border: 1px solid var(--wp--preset--color--primary);
  cursor: pointer;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form-light .form-submit-btn:hover {
  background-color: var(--wp--preset--color--primary-light);
  border-color: var(--wp--preset--color--primary-light);
}

/* Scroll fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  animation: fadeInUp 0.8s ease forwards;
}

/* Star rating color */
.star-rating {
  color: #D4A855;
}

/* Subtle accent line at top of page */
.top-accent-line {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--wp--preset--color--primary), transparent);
  z-index: 200;
  pointer-events: none;
}

/* Override WP default link underlines in specific sections */
.no-underline a {
  text-decoration: none !important;
}

/* Video testimonial placeholder */
.video-testimonial-placeholder {
  position: relative;
  background: var(--wp--preset--color--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Italian flag accent bar */
.italian-flag-bar {
  display: flex;
  height: 4px;
  width: 100%;
}
.italian-flag-bar > span:nth-child(1) {
  flex: 1;
  background: #009246;
}
.italian-flag-bar > span:nth-child(2) {
  flex: 1;
  background: #FFFFFF;
}
.italian-flag-bar > span:nth-child(3) {
  flex: 1;
  background: #CE2B37;
}

/* Feature icon circle */
.feature-icon-circle {
  width: 56px;
  height: 56px;
  border: 1px solid var(--wp--preset--color--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 2x2 oven grid */
.oven-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .oven-grid {
    grid-template-columns: 1fr;
  }
}

/* Warm orange-tinted background for accent sections */
.accent-warm-bg {
  background-color: #F5EDE4 !important;
}