/* ============================================================
   EZ Designs – Main Stylesheet
   Child Theme CSS
============================================================ */

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

:root {
  --black:    #111111;
  --dark:     #2a2a2a;
  --mid:      #555555;
  --light:    #999999;
  --pale:     #e8e8e8;
  --offwhite: #f5f5f5;
  --white:    #ffffff;
  --border:   #d8d8d8;
  --teal:     #085041;
  --teal-mid: #1D9E75;
  --teal-lt:  #E1F5EE;
  --gold:     #C4973A;
  --gold-lt:  #fdf3df;
}

/* ── PAGE RESET for homepage template ── */
.ezd-page body { font-family: 'DM Sans', sans-serif; font-size: 18px; line-height: 1.65; color: var(--dark); background: var(--white); }
.ezd-page .site-header,
.ezd-page .site-footer,
.ezd-page #masthead { display: none !important; }
.ezd-page .site-main,
.ezd-page .page-content,
.ezd-page .entry-content,
.ezd-page #content,
.ezd-page #primary { padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; }
.ezd-page .elementor-section-wrap,
.ezd-page .elementor-container { max-width: 100% !important; padding: 0 !important; }

/* ── NAV ── */
.ezd-nav { background: #fff; border-bottom: 1px solid var(--border); padding: 0 32px; width: 100%; }
.ezd-nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.ezd-nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.ezd-nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.ezd-nav-links li { white-space: nowrap; }
.ezd-nav-links a { font-size: 17px; font-weight: 400; color: var(--mid); text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s; }
.ezd-nav-links a:hover { color: var(--black); }
.ezd-nav-phone { font-size: 17px; font-weight: 500; color: var(--black); text-decoration: none; background: var(--offwhite); white-space: nowrap; padding: 10px 20px; border-radius: 8px; border: 1px solid var(--border); transition: background 0.2s; flex-shrink: 0; }
.ezd-nav-phone:hover { background: var(--pale); color: var(--black); }
@media (max-width: 700px) { .ezd-nav-links { display: none; } }

/* ── HERO ── */
.ezd-hero { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--black); width: 100%; }
.ezd-hero-bg { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.62) 100%), url('https://ezdesigns.us/wp-content/uploads/2024/11/66d1425061d985c6ce16325a.webp') center/cover no-repeat; }
.ezd-hero-content { position: relative; z-index: 1; padding: 90px 24px; }
.ezd-hero-eyebrow { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 20px; background: rgba(255,255,255,0.12); padding: 7px 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.25); }
.ezd-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(52px,7vw,80px); font-weight: 300; color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 18px; }
.ezd-hero-subtitle { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px,2.5vw,26px); font-weight: 300; font-style: italic; color: rgba(255,255,255,0.72); max-width: 420px; margin: 0 auto 36px; }
.ezd-hero-cta { display: inline-block; background: #fff; color: #111; text-decoration: none; padding: 16px 38px; border-radius: 10px; font-size: 17px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: background 0.2s, transform 0.15s; }
.ezd-hero-cta:hover { background: var(--offwhite); transform: translateY(-2px); color: #111; }
.ezd-hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1; }
.ezd-hero-scroll-line { width: 1px; height: 36px; margin: 0 auto; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: ezdScroll 1.8s ease-in-out infinite; }
@keyframes ezdScroll { 0%,100%{opacity:.4} 50%{opacity:.9} }

/* ── SHARED ── */
.ezd-section { padding: 88px 24px; width: 100%; }
.ezd-bg-white { background: var(--white); }
.ezd-bg-off   { background: var(--offwhite); }
.ezd-section-inner { max-width: 980px; margin: 0 auto; }
.ezd-eyebrow { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light); margin-bottom: 14px; }
.ezd-section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px,4.5vw,52px); font-weight: 300; color: var(--black); line-height: 1.1; margin-bottom: 16px; }
.ezd-section-title em { font-style: italic; color: var(--mid); }
.ezd-divider-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px auto 0; max-width: 180px; }
.ezd-divider-row span { height: 1px; flex: 1; background: var(--border); }
.ezd-divider-row i { width: 6px; height: 6px; background: var(--mid); border-radius: 50%; }

/* ── EVENTS ── */
.ezd-events-header { text-align: center; margin-bottom: 60px; }
.ezd-events-subtitle { font-size: 19px; font-weight: 300; color: var(--mid); max-width: 520px; margin: 0 auto; }
.ezd-events-grid { display: flex; flex-direction: column; gap: 28px; }

.ezd-event-card { border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 360px 1fr; box-shadow: 0 2px 16px rgba(0,0,0,0.08); transition: box-shadow 0.25s, transform 0.25s; border: 1px solid var(--border); background: var(--white); text-decoration: none; color: inherit; }
.ezd-event-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,0.14); transform: translateY(-2px); }
.ezd-event-card-left { position: relative; flex-shrink: 0; }
.ezd-event-card-img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }
.ezd-event-card-bar { position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 1; }
.ezd-bar-teal { background: linear-gradient(90deg, var(--teal), var(--teal-mid)); }
.ezd-bar-gold { background: linear-gradient(90deg, var(--gold), #e8b85a); }
.ezd-event-card-body { padding: 32px 36px 36px; display: flex; flex-direction: column; border-left: 1px solid var(--border); }

.ezd-ev-tag { display: inline-flex; align-items: center; gap: 7px; width: fit-content; font-size: 12px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; border-radius: 20px; padding: 5px 14px; margin-bottom: 14px; }
.ezd-ev-tag.ezd-teal { color: var(--teal-mid); background: var(--teal-lt); }
.ezd-ev-tag.ezd-gold { color: #7a5008; background: var(--gold-lt); }
.ezd-ev-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.ezd-event-card-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; color: var(--black); line-height: 1.2; margin: 0 0 12px; }
.ezd-event-card-desc { font-size: 17px; font-weight: 300; color: var(--mid); line-height: 1.7; flex: 1; margin-bottom: 22px; }

.ezd-ev-meta { border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.ezd-ev-meta-row { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.ezd-ev-meta-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--light); }
.ezd-ev-meta-label { font-weight: 500; color: var(--black); min-width: 56px; }
.ezd-ev-meta-val { color: var(--mid); font-weight: 300; line-height: 1.55; }
.ezd-ev-dates { display: flex; flex-direction: column; gap: 5px; }
.ezd-ev-date-pill { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--mid); }
.ezd-ev-date-pill::before { content: ''; width: 4px; height: 4px; background: var(--light); border-radius: 50%; flex-shrink: 0; }
.ezd-ev-pricing { display: flex; gap: 10px; margin-bottom: 24px; }
.ezd-price-chip { flex: 1; border-radius: 12px; padding: 10px 16px; text-align: center; }
.ezd-price-chip.ezd-teal { background: var(--teal-lt); }
.ezd-price-chip.ezd-gold { background: var(--gold-lt); }
.ezd-price-chip-label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 3px; }
.ezd-price-chip-amount { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; display: block; }
.ezd-price-chip.ezd-teal .ezd-price-chip-amount { color: var(--teal); }
.ezd-price-chip.ezd-gold .ezd-price-chip-amount { color: #7a5008; }
.ezd-ev-cta { display: block; text-align: center; padding: 15px 22px; border-radius: 10px; font-size: 17px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.ezd-ev-cta-teal { background: var(--teal); color: #fff; box-shadow: 0 4px 16px rgba(8,80,65,0.22); }
.ezd-ev-cta-teal:hover { background: #0b6b54; transform: translateY(-1px); color: #fff; }
.ezd-ev-cta-gold { background: linear-gradient(135deg, var(--gold), #e8b85a); color: #3d2800; box-shadow: 0 4px 16px rgba(196,151,58,0.28); }
.ezd-ev-cta-gold:hover { box-shadow: 0 6px 22px rgba(196,151,58,0.4); transform: translateY(-1px); color: #3d2800; }
.ezd-events-footer { text-align: center; margin-top: 48px; font-size: 17px; font-weight: 300; color: var(--mid); }
.ezd-events-footer a { color: var(--black); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--border); }

/* ── CLUB ── */
.ezd-club-tag { display: inline-flex; align-items: center; gap: 7px; width: fit-content; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); background: var(--pale); border-radius: 20px; padding: 5px 14px; margin-bottom: 18px; }
.ezd-club-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px,4vw,46px); font-weight: 300; color: var(--black); line-height: 1.12; margin-bottom: 10px; }
.ezd-club-tagline { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-style: italic; color: var(--mid); margin-bottom: 22px; }
.ezd-club-body { font-size: 17px; font-weight: 300; color: var(--mid); line-height: 1.8; }
.ezd-club-body p { margin-bottom: 14px; }
.ezd-club-join-btn { display: inline-block; margin-top: 28px; background: var(--black); color: #fff; text-decoration: none; padding: 15px 32px; border-radius: 10px; font-size: 17px; font-weight: 500; box-shadow: 0 4px 16px rgba(0,0,0,0.18); transition: background 0.2s, transform 0.15s; }
.ezd-club-join-btn:hover { background: var(--dark); transform: translateY(-1px); color: #fff; }
.ezd-cal-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--black); margin-bottom: 28px; margin-top: 40px; }
.ezd-cal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px 40px; }
.ezd-cal-month-name { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--light); margin-bottom: 8px; }
.ezd-cal-dates { display: flex; flex-direction: column; gap: 4px; }
.ezd-cal-date { font-size: 16px; font-weight: 300; color: var(--mid); line-height: 1.6; }

/* ── ABOUT ── */
.ezd-about-inner { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.ezd-about-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px,4vw,46px); font-weight: 300; color: var(--black); line-height: 1.18; margin-bottom: 8px; }
.ezd-about-tagline { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-style: italic; color: var(--mid); margin-bottom: 24px; }
.ezd-about-body { font-size: 17px; font-weight: 300; color: var(--mid); line-height: 1.85; }
.ezd-about-body p { margin-bottom: 16px; }
.ezd-about-photo-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: 16px; display: block; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.ezd-about-photo-caption { margin-top: 14px; font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; color: var(--light); text-align: center; }

/* ── TESTIMONIALS ── */
.ezd-testimonials-header { text-align: center; margin-bottom: 56px; }
.ezd-testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ezd-testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 36px; }
.ezd-testimonial-quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 80px; font-weight: 300; color: var(--pale); line-height: 0.7; margin-bottom: 14px; display: block; }
.ezd-testimonial-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; font-weight: 300; color: var(--mid); line-height: 1.75; margin-bottom: 20px; }
.ezd-testimonial-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ezd-testimonial-author { font-size: 15px; font-weight: 500; color: var(--black); letter-spacing: 0.06em; text-transform: uppercase; }
.ezd-testimonial-stars { display: flex; gap: 4px; }
.ezd-star { width: 18px; height: 18px; color: #c8a035; }

/* ── GALLERY ── */
.ezd-gallery-header { text-align: center; margin-bottom: 44px; }
.ezd-gallery-grid { columns: 5; column-gap: 10px; }
.ezd-gallery-item { break-inside: avoid; margin-bottom: 10px; border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; display: block; }
.ezd-gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.4s, filter 0.3s; }
.ezd-gallery-item:hover img { transform: scale(1.04); filter: brightness(1.06); }

/* ── FOOTER ── */
.ezd-footer { background: var(--black); color: rgba(255,255,255,0.85); padding: 56px 24px; text-align: center; width: 100%; display: block; }
.ezd-footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; font-weight: 300; color: rgba(255,255,255,0.45); margin-bottom: 28px; }
.ezd-footer-divider { width: 48px; height: 1px; background: rgba(255,255,255,0.15); margin: 0 auto 28px; }
.ezd-footer-contact { font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.ezd-footer-contact a { color: rgba(255,255,255,0.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
.ezd-footer-contact a:hover { color: white; border-color: white; }
.ezd-footer-copy { margin-top: 28px; font-size: 15px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }

/* ── LIGHTBOX ── */
.ezd-lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 99999; align-items: center; justify-content: center; }
.ezd-lightbox-overlay.ezd-active { display: flex; }
.ezd-lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; display: block; }
.ezd-lb-close { position: fixed; top: 20px; right: 28px; color: rgba(255,255,255,0.8); font-size: 36px; cursor: pointer; background: none; border: none; line-height: 1; z-index: 100000; }
.ezd-lb-prev, .ezd-lb-next { position: fixed; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.7); font-size: 48px; cursor: pointer; background: none; border: none; line-height: 1; z-index: 100000; padding: 0 20px; transition: color 0.2s; }
.ezd-lb-prev { left: 8px; } .ezd-lb-next { right: 8px; }
.ezd-lb-prev:hover, .ezd-lb-next:hover, .ezd-lb-close:hover { color: white; }
.ezd-lb-counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.55); font-size: 15px; z-index: 100000; letter-spacing: 0.08em; }

/* ── FADE IN ── */
.ezd-fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ezd-fade-up.ezd-visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 780px) {
  .ezd-event-card { grid-template-columns: 1fr; }
  .ezd-event-card-img { min-height: 220px; height: 220px; }
  .ezd-about-inner { grid-template-columns: 1fr; }
  .ezd-about-photo { order: -1; max-width: 260px; margin: 0 auto; }
  .ezd-testimonials-grid { grid-template-columns: 1fr; }
  .ezd-cal-grid { grid-template-columns: 1fr 1fr; }
  .ezd-gallery-grid { columns: 3; }
}
@media (max-width: 480px) {
  .ezd-cal-grid { grid-template-columns: 1fr; }
  .ezd-gallery-grid { columns: 2; }
}
