/* ============================================================
   VALE & VIREO FLORALS — Stylesheet
   Colors: #1B4332 (green), #FFF8F0 (cream), #C77D8A (rose),
           #B8860B (gold), #2D2D2D (charcoal)
   Fonts: Playfair Display (headings), Lato (body)
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: #2D2D2D;
  background-color: #FFF8F0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-tag {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C77D8A;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  color: #1B4332;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: #1B4332;
  color: #FFF8F0;
  border: 2px solid #1B4332;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: transparent;
  color: #1B4332;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  transition: box-shadow 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1B4332;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2D2D2D;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #C77D8A;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 4px 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1B4332;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    160deg,
    #1B4332 0%,
    #245a3f 25%,
    #2d6b4d 50%,
    #1B4332 75%,
    #143025 100%
  );
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(199, 125, 138, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(184, 134, 11, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 700px;
}

.hero-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(184, 134, 11, 0.7);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #FFF8F0;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 248, 240, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-cta {
  border-color: #B8860B;
  color: #B8860B;
  background-color: transparent;
}

.hero-cta:hover,
.hero-cta:focus {
  background-color: #B8860B;
  color: #FFF8F0;
}

.hero-botanical-left,
.hero-botanical-right {
  position: absolute;
  bottom: 0;
  opacity: 0.6;
  pointer-events: none;
}

.hero-botanical-left {
  left: -40px;
}

.hero-botanical-right {
  right: -40px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background-color: #FFF8F0;
}

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

.service-card {
  background-color: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.06);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.08);
}

.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background-color: #FFF8F0;
  border-radius: 50%;
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1B4332;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   OUR STORY
   ============================================================ */
.story {
  background-color: #f5f0e8;
}

.story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-visual {
  border-radius: 4px;
  overflow: hidden;
  background-color: #f0ebe3;
  border: 1px solid rgba(184, 134, 11, 0.15);
  box-shadow: 0 8px 32px rgba(27, 67, 50, 0.06);
}

.story-content .section-title {
  margin-bottom: 24px;
}

.story-text {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 20px;
}

.story-text strong {
  color: #1B4332;
}

.story-quote {
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(184, 134, 11, 0.25);
  border-bottom: 1px solid rgba(184, 134, 11, 0.25);
}

.story-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #1B4332;
  line-height: 1.7;
  margin-bottom: 12px;
}

.story-quote cite {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #B8860B;
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.process {
  background-color: #FFF8F0;
}

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

.timeline-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  position: relative;
  padding-top: 20px;
}

.timeline-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1B4332;
  color: #FFF8F0;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}

.timeline-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline-title {
  font-size: 1.1rem;
  color: #1B4332;
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

.timeline-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #C77D8A, #B8860B);
  align-self: 52px;
  margin-top: 38px;
  flex-shrink: 0;
  border-radius: 1px;
  opacity: 0.4;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background-color: #f5f0e8;
}

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

.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 0.85;
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1B4332;
  background: linear-gradient(to top, rgba(255, 248, 240, 0.9), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Make some items span 2 cols for visual interest */
.gallery-item:nth-child(1) {
  grid-column: span 2;
}

.gallery-item:nth-child(6) {
  grid-column: span 2;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background-color: #FFF8F0;
}

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

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid rgba(27, 67, 50, 0.06);
  border-radius: 4px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author cite {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  color: #1B4332;
  margin-bottom: 4px;
}

.testimonial-event {
  font-size: 0.82rem;
  color: #999;
  letter-spacing: 0.5px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background-color: #f5f0e8;
}

.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-form .section-title {
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1B4332;
  margin-bottom: 8px;
}

.form-group .required {
  color: #C77D8A;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: 2px;
  background-color: #ffffff;
  color: #2D2D2D;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B4332;
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231B4332' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Contact Sidebar */
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #1B4332;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.contact-detail a {
  font-size: 0.95rem;
  color: #1B4332;
  border-bottom: 1px solid rgba(27, 67, 50, 0.2);
  transition: border-color 0.3s ease;
}

.contact-detail a:hover {
  border-bottom-color: #1B4332;
}

.contact-hours {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.contact-hours h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #1B4332;
  margin-bottom: 12px;
}

.contact-hours ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #555;
}

.contact-hours .closed {
  color: #C77D8A;
  font-weight: 700;
}

.contact-map-placeholder {
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #1B4332;
  color: rgba(255, 248, 240, 0.8);
  padding: 64px 0 32px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  color: #FFF8F0;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.7);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #B8860B;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 4px;
}

.footer-social a {
  color: rgba(255, 248, 240, 0.6);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #B8860B;
  transform: translateY(-2px);
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 248, 240, 0.1);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 248, 240, 0.4);
  margin-bottom: 4px;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .story-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Timeline — start going vertical */
  .timeline {
    flex-wrap: wrap;
    gap: 16px;
  }

  .timeline-step {
    flex: 0 0 calc(50% - 24px);
    max-width: none;
  }

  .timeline-connector {
    display: none;
  }

  .timeline {
    gap: 40px 24px;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background-color: #FFF8F0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 80px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.is-open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    padding: 14px 32px;
  }

  .hero-botanical-left,
  .hero-botanical-right {
    opacity: 0.3;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  /* Story */
  .story-visual {
    max-width: 300px;
  }

  /* Timeline — fully vertical */
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .timeline-step {
    flex: none;
    width: 100%;
    max-width: 320px;
    text-align: center;
    position: relative;
    padding-bottom: 40px;
    padding-top: 0;
  }

  .timeline-step::after {
    content: '';
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 54px);
    background: linear-gradient(to bottom, rgba(199, 125, 138, 0.4), rgba(184, 134, 11, 0.4));
    border-radius: 1px;
  }

  .timeline-step:last-child::after {
    display: none;
  }

  .timeline-connector {
    display: none;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
  }

  /* Contact */
  .contact-container {
    gap: 40px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.82rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
}

/* ============================================================
   FOCUS VISIBLE (Accessibility)
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #C77D8A;
  outline-offset: 3px;
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background-color: rgba(199, 125, 138, 0.2);
  color: #1B4332;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .hamburger,
  .hero-botanical-left,
  .hero-botanical-right {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
    background: #1B4332;
    color: #fff;
  }

  .section {
    padding: 30px 0;
  }
}
