/* Upstate Soirée — Visual Upgrade Styles */
/* Brand: Cream #FAF8F5, Rose Gold #C4956A, Sage #A3B5A6, Lavender #C4B5D0, Chocolate #2D2420 */

/* ============================================
   CORE VISUAL UPGRADES
   ============================================ */

/* Smooth everything */
* {
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* Body — cream background */
body {
  background-color: #FAF8F5;
  color: #2D2420;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY UPGRADES
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
}

p {
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Decorative accent line */
.accent-line {
  width: 60px;
  height: 3px;
  background: #C4956A;
  border-radius: 2px;
  margin: 1rem 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.wp-block-button__link,
.wp-element-button,
button[type="submit"],
input[type="submit"] {
  background: #C4956A !important;
  color: #FAF8F5 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.8rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  box-shadow: 0 2px 8px rgba(196, 149, 106, 0.25) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #B8935A !important;
  box-shadow: 0 4px 16px rgba(196, 149, 106, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* Secondary button style */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #C4956A !important;
  border: 2px solid #C4956A !important;
  box-shadow: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #C4956A !important;
  color: #FAF8F5 !important;
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */

/* Card styling for group/column blocks */
.wp-block-group.has-background {
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(45, 36, 32, 0.06);
  overflow: hidden;
}

/* Image cards */
.wp-block-image img,
.wp-block-media-text__media img {
  border-radius: 10px;
}

/* ============================================
   FORMS
   ============================================ */

input:not([type="submit"]),
textarea,
select {
  border-radius: 8px !important;
  border: 1.5px solid #D4C5A9 !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  background: #fff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #C4956A !important;
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.15) !important;
}

/* ============================================
   NAVIGATION
   ============================================ */

.wp-block-navigation {
  font-weight: 500;
}

.wp-block-navigation .wp-block-navigation-item a:hover {
  color: #C4956A !important;
}

/* Site header polish */
.wp-block-template-part header,
.site-header,
header.wp-block-template-part {
  background: #FAF8F5 !important;
  border-bottom: 1px solid rgba(196, 149, 106, 0.15);
  backdrop-filter: blur(10px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* Hero overlay for cover blocks */
.wp-block-cover {
  border-radius: 12px;
  overflow: hidden;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

/* Gradient overlay for better text readability */
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,36,32,0.3) 0%, rgba(45,36,32,0.05) 100%);
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */

footer.wp-block-template-part,
.site-footer {
  background: #2D2420 !important;
  color: #E8E0D5 !important;
  padding: 3rem 0 !important;
}

footer a {
  color: #C4956A !important;
}

footer a:hover {
  color: #D4C5A9 !important;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #C4956A, #A3B5A6);
  margin: 2rem auto;
  border-radius: 1px;
}

/* ============================================
   TESTIMONIAL / QUOTE STYLING
   ============================================ */

blockquote {
  border-left: 3px solid #C4956A !important;
  padding: 1.5rem 2rem !important;
  background: rgba(196, 149, 106, 0.06) !important;
  border-radius: 0 8px 8px 0 !important;
  font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade in on scroll (native CSS — no JS needed) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .wp-block-group.has-background {
    border-radius: 8px !important;
  }
  
  h1 { font-size: clamp(2rem, 6vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  
  .wp-block-button__link {
    padding: 0.7rem 1.5rem !important;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus visible */
:focus-visible {
  outline: 2px solid #C4956A !important;
  outline-offset: 2px !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
