/*
Theme Name:  EpoxyBudget
Theme URI:   https://epoxybudget.ca
Author:      EpoxyBudget
Author URI:  https://epoxybudget.ca
Description: Premium single-page epoxy flooring website theme for EpoxyBudget Montréal. Bilingual FR/EN with animated gallery, multi-step quote form, and marble-effect design.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: epoxybudget
Tags:        one-page, bilingual, dark, custom-colors, custom-header, full-width-template
*/

/* ── Main theme styles are enqueued via functions.php ── */

  :root {
    --cream: #F5F0E8;
    --gold: #C9A96E;
    --gold-light: #E8D5A8;
    --dark: #0F0E0C;
    --charcoal: #1C1B18;
    --stone: #2E2D29;
    --muted: #8A8780;
    --white: #FEFDFB;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--cream); overflow-x: hidden; }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, rgba(15,14,12,0.95), transparent);
    backdrop-filter: blur(2px);
  }
  .nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; letter-spacing: 0.15em; color: var(--white); text-decoration: none; display:block; }
  .nav-logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { text-decoration: none; color: var(--cream); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; opacity: 0.8; transition: opacity 0.3s, color 0.3s; }
  .nav-links a:hover { opacity: 1; color: var(--gold); }
  .nav-cta { background: var(--gold); color: var(--dark); padding: 0.6rem 1.6rem; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; text-decoration: none; transition: background 0.3s, transform 0.2s; }
  .nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

  #hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.05); animation: heroZoom 12s ease-out forwards; }
  @keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
  .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,14,12,0.95) 0%, rgba(15,14,12,0.5) 40%, rgba(15,14,12,0.15) 70%, transparent 100%); }
  .hero-content { position: relative; z-index: 2; padding: 6rem 4rem 4rem; max-width: 800px; animation: fadeUp 1.2s ease-out 0.3s both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
  
  
  h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; line-height: 1.05; color: var(--white); margin-bottom: 1.5rem; }
  h1 em { font-style: italic; color: var(--gold); }
  .hero-sub { font-size: 1rem; color: rgba(245,240,232,0.7); font-weight: 300; max-width: 520px; line-height: 1.7; margin-bottom: 2.5rem; }
  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary { background: var(--gold); color: var(--dark); padding: 0.9rem 2.4rem; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; text-decoration: none; display: inline-block; transition: background 0.3s, transform 0.2s; }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-secondary { background: transparent; color: var(--cream); padding: 0.9rem 2.4rem; border: 1px solid rgba(245,240,232,0.3); cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; text-decoration: none; display: inline-block; transition: border-color 0.3s, color 0.3s, transform 0.2s; }
  .btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
  
  
  
  

  .marquee-strip { background: var(--gold); padding: 0.8rem 0; overflow: hidden; white-space: nowrap; }
  .marquee-strip.dark-strip { background: var(--charcoal); border-top: 1px solid rgba(201,169,110,0.3); border-bottom: 1px solid rgba(201,169,110,0.3); }
  .marquee-strip.dark-strip .marquee-inner span { color: var(--gold); }
  .marquee-inner { display: inline-block; animation: marqueeScroll 22s linear infinite; }
  .marquee-inner span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dark); font-weight: 500; padding: 0 2.5rem; }
  .marquee-inner span::before { content: '\25C6 '; }
  @keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  section { padding: 7rem 4rem; }
  .section-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 400; }
  .section-label::before { content: '— '; }
  h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; color: var(--white); }
  h2 em { font-style: italic; color: var(--gold); }

  #about { background: var(--charcoal); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .about-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .about-img { aspect-ratio: 3/4; object-fit: cover; object-position: center; width: 100%; display: block; }
  .about-img:first-child { grid-column: 1 / 3; aspect-ratio: 16/9; }
  .about-text p { color: rgba(245,240,232,0.65); line-height: 1.85; font-size: 0.97rem; font-weight: 300; margin-bottom: 1.2rem; }
  .feature-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
  .feature-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; color: var(--cream); font-weight: 400; }
  .feature-list li::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }

  #gallery { background: var(--dark); padding: 7rem 0; }
  .gallery-header { padding: 0 4rem 3.5rem; }
  .masonry { columns: 3; column-gap: 4px; padding: 0; }
  .masonry-item { break-inside: avoid; overflow: hidden; position: relative; cursor: pointer; margin-bottom: 4px; display: block; }
  .masonry-item img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; filter: brightness(0.9) saturate(0.9); }
  .masonry-item:hover img { transform: scale(1.04); filter: brightness(1) saturate(1.1); }
  .masonry-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,14,12,0.7) 0%, transparent 50%); opacity: 0; transition: opacity 0.4s; display: flex; align-items: flex-end; padding: 1.2rem; }
  .masonry-item:hover .masonry-overlay { opacity: 1; }
  .masonry-overlay span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 400; }

  #services { background: var(--stone); display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
  .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(201,169,110,0.15); }
  .service-card { background: var(--stone); padding: 2.2rem; transition: background 0.3s; }
  .service-card:hover { background: var(--charcoal); }
  .service-icon { width: 36px; height: 1px; background: var(--gold); margin-bottom: 1.4rem; transition: width 0.3s; }
  .service-card:hover .service-icon { width: 56px; }
  .service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400; color: var(--white); margin-bottom: 0.7rem; }
  .service-card p { font-size: 0.82rem; color: rgba(245,240,232,0.5); line-height: 1.7; font-weight: 300; }

  #process { background: var(--charcoal); }
  .process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 4rem; border-top: 1px solid rgba(201,169,110,0.2); }
  .step { padding: 2.5rem 2rem; border-right: 1px solid rgba(201,169,110,0.15); }
  .step:last-child { border-right: none; }
  .step-num { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: rgba(201,169,110,0.2); line-height: 1; margin-bottom: 1rem; }
  .step h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--white); margin-bottom: 0.6rem; }
  .step p { font-size: 0.82rem; color: rgba(245,240,232,0.5); line-height: 1.7; font-weight: 300; }

  #quote { background: var(--dark); display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 80vh; align-items: start; }
  .quote-left { background: var(--charcoal); padding: 5rem 4rem 4rem; display: flex; flex-direction: column; justify-content: flex-start; position: relative; overflow: hidden; }
  .quote-left::after { content: ''; position: absolute; bottom: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%); }
  .quote-left h2 { margin-bottom: 1.5rem; }
  .quote-left p { font-size: 0.93rem; color: rgba(245,240,232,0.6); line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
  .trust-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
  .trust-item { display: flex; align-items: center; gap: 1rem; font-size: 0.82rem; color: rgba(245,240,232,0.6); }
  .trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
  .quote-right { padding: 5rem 4rem 4rem; display: flex; flex-direction: column; justify-content: flex-start; }
  .form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; color: var(--white); margin-bottom: 0.4rem; }
  .form-subtitle { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2.5rem; }
  .progress-bar-wrap { display: flex; gap: 0.4rem; margin-bottom: 2.5rem; }
  .progress-seg { flex: 1; height: 2px; background: rgba(245,240,232,0.12); transition: background 0.5s; }
  .progress-seg.active { background: var(--gold); }
  .form-step { display: none; animation: stepIn 0.4s ease-out; }
  .form-step.active { display: block; }
  @keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
  .step-heading { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.8rem; font-weight: 400; }
  .field-group { margin-bottom: 1.3rem; }
  .field-group label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
  .field-group input, .field-group select, .field-group textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(245,240,232,0.12); color: var(--cream); padding: 0.85rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; outline: none; transition: border-color 0.3s, background 0.3s; -webkit-appearance: none; border-radius: 0; }
  .field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: var(--gold); background: rgba(201,169,110,0.06); }
  .field-group select option { background: var(--charcoal); }
  .field-group textarea { resize: vertical; min-height: 80px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .choice { border: 1px solid rgba(245,240,232,0.12); padding: 1rem; cursor: pointer; transition: border-color 0.3s, background 0.3s; position: relative; }
  .choice:hover { border-color: var(--gold); background: rgba(201,169,110,0.05); }
  .choice.selected { border-color: var(--gold); background: rgba(201,169,110,0.1); }
  .choice input { position: absolute; opacity: 0; }
  .choice-label { display: block; font-size: 0.82rem; color: var(--cream); font-weight: 400; margin-bottom: 0.25rem; }
  .choice-sub { font-size: 0.7rem; color: var(--muted); }
  .choice-check { position: absolute; top: 0.6rem; right: 0.6rem; width: 16px; height: 16px; border: 1px solid rgba(245,240,232,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--gold); transition: border-color 0.3s; }
  .choice.selected .choice-check { border-color: var(--gold); background: var(--gold); color: var(--dark); }
  .form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
  .btn-back { background: none; border: none; color: var(--muted); cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; padding: 0; }
  .btn-back:hover { color: var(--cream); }
  .btn-next { background: var(--gold); color: var(--dark); border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; padding: 0.8rem 2rem; transition: background 0.3s, transform 0.2s; }
  .btn-next:hover { background: var(--gold-light); transform: translateY(-1px); }
  .success-msg { display: none; text-align: center; padding: 2rem 0; animation: stepIn 0.5s ease-out; }
  .success-icon { width: 60px; height: 60px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.4rem; color: var(--gold); }
  .success-msg h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--white); margin-bottom: 0.8rem; }
  .success-msg p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

  #testimonials { background: var(--stone); padding: 7rem 4rem; }
  .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
  .testimonial { border: 1px solid rgba(201,169,110,0.15); padding: 2rem; position: relative; }
  .testimonial::before { content: '\201C'; font-family: 'Cormorant Garamond', serif; font-size: 5rem; font-weight: 300; color: rgba(201,169,110,0.2); position: absolute; top: 0.5rem; left: 1.5rem; line-height: 1; }
  .testimonial p { font-size: 0.9rem; color: rgba(245,240,232,0.7); line-height: 1.8; font-weight: 300; margin-bottom: 1.5rem; font-style: italic; }
  .testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
  .author-dot { width: 30px; height: 1px; background: var(--gold); }
  .author-name { font-size: 0.75rem; color: var(--cream); letter-spacing: 0.08em; }
  .author-loc { font-size: 0.68rem; color: var(--muted); }
  .stars { color: var(--gold); font-size: 0.65rem; letter-spacing: 0.1em; margin-bottom: 1rem; }

  footer { background: var(--dark); border-top: 1px solid rgba(201,169,110,0.15); padding: 4rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
  .footer-brand h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--white); letter-spacing: 0.1em; margin-bottom: 1rem; }
  .footer-brand h3 span { color: var(--gold); }
  .footer-brand p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; font-weight: 300; }
  .footer-col h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 400; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.6rem; }
  .footer-col ul li a { text-decoration: none; color: var(--muted); font-size: 0.82rem; transition: color 0.3s; }
  .footer-col ul li a:hover { color: var(--cream); }
  .footer-bottom { border-top: 1px solid rgba(245,240,232,0.06); padding: 1.5rem 4rem; display: flex; justify-content: space-between; align-items: center; }
  .footer-bottom p { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; }

  @media (max-width: 1100px) {
    nav { padding: 1.5rem 2rem; }
    .nav-links { display: none; }
    #about { grid-template-columns: 1fr; gap: 3rem; }
    #services { grid-template-columns: 1fr; }
    #quote { grid-template-columns: 1fr; }
    .quote-left { padding: 4rem 2rem; }
    .quote-right { padding: 3rem 2rem; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr 1fr; }
    .masonry { columns: 2; column-gap: 4px; }
    
    section { padding: 5rem 2rem; }
    .hero-content { padding: 0 2rem 5rem; }
  }
  @media (max-width: 640px) {
    .masonry { columns: 1; column-gap: 0; }
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .choices { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr; }
    h1 { font-size: 2.6rem; }
  }
