/*
Theme Name: Aravena's Upholstery
Theme URI: https://aravenasupholstery.com
Author: MileMark Media
Author URI: https://milemarkmedia.com
Description: Custom WordPress theme for Aravena's Upholstery - A Family Business Since 1968. Union County's Premier Upholstery Service.
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: aravenas
*/

/* ═══════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════ */
:root {
  --cream: #F5F0E8;
  --dark: #1A1612;
  --brown: #6B4C3B;
  --gold: #C8A96E;
  --gold-light: #E8D5A8;
  --warm-gray: #A89B8C;
  --white: #FDFBF7;
  --red: #8B1A1A;
  --red-bright: #B22222;
  --shadow-sm: 0 2px 8px rgba(26,22,18,0.06);
  --shadow-md: 0 8px 24px rgba(26,22,18,0.08);
  --shadow-lg: 0 20px 40px rgba(26,22,18,0.1);
  --transition: 0.3s ease;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:'Source Sans 3','Source Sans Pro',sans-serif;background:var(--cream);color:var(--dark);line-height:1.7;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit;transition:color var(--transition)}
ul{list-style:none}

/* ═══════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════ */
.container{max-width:1200px;margin:0 auto;padding:0 2rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn{display:inline-block;padding:1rem 2.2rem;font-weight:700;font-size:0.85rem;letter-spacing:0.08em;text-transform:uppercase;font-family:'Source Sans 3',sans-serif;border:2px solid transparent;cursor:pointer;transition:all var(--transition)}
.btn-primary{background:var(--red);color:#fff;border-color:var(--red)}
.btn-primary:hover{background:var(--red-bright);border-color:var(--red-bright)}
.btn-gold{background:var(--gold);color:var(--dark);border-color:var(--gold)}
.btn-gold:hover{background:var(--gold-light);border-color:var(--gold-light)}
.btn-outline{background:transparent;color:var(--cream);border-color:rgba(245,240,232,0.35)}
.btn-outline:hover{border-color:var(--cream);color:var(--cream)}
.btn-outline-dark{background:transparent;color:var(--dark);border-color:var(--brown)}
.btn-outline-dark:hover{background:var(--dark);color:var(--cream);border-color:var(--dark)}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(26,22,18,0.97);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(200,169,110,0.15);transition:all 0.4s}
.site-header.scrolled{box-shadow:0 4px 20px rgba(0,0,0,0.3)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:80px;max-width:1300px;margin:0 auto;padding:0 2rem}
.site-logo img{height:60px;width:auto;transition:height 0.4s}
.site-header.scrolled .site-logo img{height:50px}
.nav-menu{display:flex;align-items:center;gap:1.8rem}
.nav-menu a{color:var(--cream);font-size:0.8rem;letter-spacing:0.1em;text-transform:uppercase;font-weight:600;position:relative;padding:0.3rem 0}
.nav-menu a::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--gold);transition:width var(--transition)}
.nav-menu a:hover{color:var(--gold)}
.nav-menu a:hover::after{width:100%}
.nav-cta{background:var(--red)!important;color:#fff!important;padding:0.55rem 1.3rem!important;border-radius:2px;font-weight:700!important;letter-spacing:0.06em!important}
.nav-cta::after{display:none!important}
.nav-cta:hover{background:var(--red-bright)!important;color:#fff!important}
.nav-phone{color:var(--gold)!important;font-weight:700!important;font-size:0.88rem!important;letter-spacing:0.02em!important}
.nav-phone::after{display:none!important}
.nav-email{color:var(--cream)!important;font-weight:600!important;background:rgba(200,169,110,0.15);padding:0.4rem 1rem!important;border-radius:2px;font-size:0.78rem!important;letter-spacing:0.06em!important}
.nav-email::after{display:none!important}
.nav-email:hover{background:rgba(200,169,110,0.3)!important;color:var(--gold)!important}

/* Mobile Toggle */
.mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:0.5rem;z-index:1001}
.mobile-toggle span{display:block;width:26px;height:2px;background:var(--cream);margin:6px 0;transition:all 0.3s;border-radius:1px}
.mobile-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,6px)}
.mobile-toggle.active span:nth-child(2){opacity:0}
.mobile-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-6px)}

/* Mobile Menu */
.mobile-menu{display:none;position:fixed;top:80px;left:0;right:0;bottom:0;background:rgba(26,22,18,0.98);backdrop-filter:blur(20px);padding:2rem;z-index:999;flex-direction:column}
.mobile-menu.active{display:flex}
.mobile-menu a{display:block;color:var(--cream);font-size:1.1rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;padding:1rem 0;border-bottom:1px solid rgba(200,169,110,0.1)}
.mobile-menu a:hover{color:var(--gold)}
.mobile-menu .btn{margin-top:1.5rem;text-align:center}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero{min-height:100vh;background:var(--dark);display:flex;align-items:center;position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0.2;filter:saturate(0.4)}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(26,22,18,0.92) 0%,rgba(26,22,18,0.7) 50%,rgba(26,22,18,0.85) 100%);z-index:1}
.hero-texture{position:absolute;inset:0;opacity:0.5;z-index:1;background-image:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C8A96E' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.hero-content{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:140px 4rem 80px;width:100%}
.hero-badge{display:inline-flex;align-items:center;gap:0.6rem;border:1px solid var(--red);color:var(--gold);padding:0.5rem 1.4rem;font-size:0.72rem;letter-spacing:0.2em;text-transform:uppercase;margin-bottom:2rem;font-weight:600;animation:fadeUp 0.8s ease both}
.hero-badge::before{content:'';width:6px;height:6px;background:var(--red);border-radius:50%}
.hero h1{font-family:'Playfair Display',serif;font-size:clamp(2.6rem,5.5vw,4.2rem);color:var(--cream);line-height:1.12;margin-bottom:1.5rem;max-width:750px;animation:fadeUp 0.8s 0.15s ease both}
.hero h1 em{font-style:italic;color:var(--gold)}
.hero-sub{color:var(--warm-gray);font-size:1.15rem;max-width:580px;margin-bottom:2.5rem;line-height:1.8;animation:fadeUp 0.8s 0.3s ease both}
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap;animation:fadeUp 0.8s 0.45s ease both}
.hero-stats{display:flex;gap:3.5rem;margin-top:4rem;animation:fadeUp 0.8s 0.6s ease both}
.stat-number{font-family:'Playfair Display',serif;font-size:2.5rem;color:var(--gold);font-weight:700;line-height:1}
.stat-label{color:var(--warm-gray);font-size:0.72rem;letter-spacing:0.15em;text-transform:uppercase;margin-top:0.3rem}

/* ═══════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════ */
.trust-bar{background:var(--white);border-top:3px solid var(--red);padding:1.2rem 2rem}
.trust-bar-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:center;align-items:center;gap:2.5rem;flex-wrap:wrap}
.trust-item{display:flex;align-items:center;gap:0.5rem;color:var(--brown);font-size:0.88rem;font-weight:600}
.trust-icon{width:18px;height:18px;color:var(--red);flex-shrink:0}

/* ═══════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════ */
.section{padding:100px 0}
.section-label{font-size:0.72rem;letter-spacing:0.22em;text-transform:uppercase;color:var(--red);font-weight:700;margin-bottom:0.8rem}
.section-title{font-family:'Playfair Display',serif;font-size:clamp(2rem,3.5vw,2.8rem);color:var(--dark);line-height:1.2;margin-bottom:1.2rem}
.section-desc{color:var(--brown);font-size:1.08rem;max-width:620px;line-height:1.8}
.divider-gold{width:60px;height:2px;background:var(--gold);margin:1.2rem 0 2rem}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.about{background:var(--white)}
.about-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:5rem;align-items:center}
.about-logo-frame{background:var(--cream);border:1px solid rgba(200,169,110,0.3);padding:3rem;display:flex;align-items:center;justify-content:center;aspect-ratio:1;position:relative}
.about-logo-frame::before{content:'';position:absolute;inset:12px;border:1px solid rgba(200,169,110,0.2)}
.about-logo-frame img{width:80%;height:auto}
.about-quote{background:var(--dark);color:var(--cream);padding:1.5rem 2rem;margin-top:-1px;font-family:'Playfair Display',serif;font-style:italic;font-size:1rem;line-height:1.6;border-left:3px solid var(--red)}
.timeline{margin-top:2.5rem}
.timeline-item{padding-left:2rem;border-left:2px solid var(--gold-light);margin-bottom:1.8rem;position:relative}
.timeline-item::before{content:'';width:10px;height:10px;background:var(--red);border-radius:50%;position:absolute;left:-6px;top:5px}
.timeline-year{font-family:'Playfair Display',serif;font-weight:700;color:var(--dark);font-size:1.05rem;margin-bottom:0.2rem}
.timeline-text{color:var(--brown);font-size:0.95rem}

/* ═══════════════════════════════════════
   SERVICES OVERVIEW
   ═══════════════════════════════════════ */
.services-overview{background:var(--cream)}
.services-header{margin-bottom:3rem}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.service-card{background:var(--white);padding:2.5rem 2rem;border:1px solid rgba(107,76,59,0.08);transition:all 0.4s;position:relative;overflow:hidden}
.service-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--red);transform:scaleX(0);transition:transform 0.4s;transform-origin:left}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.service-card:hover::before{transform:scaleX(1)}
.service-card-icon{width:48px;height:48px;background:var(--cream);display:flex;align-items:center;justify-content:center;margin-bottom:1.3rem;border-radius:2px}
.service-card-icon svg{width:22px;height:22px;stroke:var(--red);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.service-card h3{font-family:'Playfair Display',serif;font-size:1.2rem;margin-bottom:0.7rem;color:var(--dark)}
.service-card p{color:var(--brown);font-size:0.92rem;line-height:1.7}

/* ═══════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════ */
.gallery-section{background:var(--white);overflow:hidden}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0.5rem;margin-top:2.5rem}
.gallery-item{position:relative;overflow:hidden;aspect-ratio:1;cursor:pointer}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s ease,filter 0.6s ease}
.gallery-item:hover img{transform:scale(1.08);filter:brightness(1.05)}
.gallery-item::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(26,22,18,0.3) 0%,transparent 50%);opacity:0;transition:opacity 0.4s}
.gallery-item:hover::after{opacity:1}
.gallery-item.featured{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}

/* Lightbox */
.lightbox{display:none;position:fixed;inset:0;background:rgba(26,22,18,0.95);z-index:9999;align-items:center;justify-content:center;padding:2rem}
.lightbox.active{display:flex}
.lightbox img{max-width:90vw;max-height:85vh;object-fit:contain;border:3px solid rgba(200,169,110,0.2)}
.lightbox-close{position:absolute;top:1.5rem;right:2rem;background:none;border:none;color:var(--cream);font-size:2rem;cursor:pointer;width:50px;height:50px;display:flex;align-items:center;justify-content:center;transition:color var(--transition)}
.lightbox-close:hover{color:var(--gold)}

/* ═══════════════════════════════════════
   RESIDENTIAL
   ═══════════════════════════════════════ */
.residential{background:var(--cream)}
.res-content{display:grid;grid-template-columns:1.3fr 1fr;gap:3.5rem;align-items:start;margin-top:2.5rem}
.res-text p{color:var(--brown);font-size:1.05rem;margin-bottom:2rem;line-height:1.8}
.res-subtitle{font-family:'Playfair Display',serif;font-size:1.15rem;color:var(--dark);margin-bottom:1rem}
.service-list{display:grid;grid-template-columns:1fr 1fr;gap:0.4rem 2rem}
.service-list li{padding:0.55rem 0;padding-left:1.5rem;position:relative;color:var(--dark);font-size:0.93rem}
.service-list li::before{content:'';width:8px;height:2px;background:var(--red);position:absolute;left:0;top:50%}
.res-sidebar{background:var(--dark);padding:2.5rem;position:relative}
.res-sidebar::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background:var(--red)}
.res-sidebar h3{font-family:'Playfair Display',serif;color:var(--gold);font-size:1.3rem;margin-bottom:0.8rem}
.res-sidebar p{color:var(--warm-gray);font-size:0.93rem;margin-bottom:1.5rem;line-height:1.7}
.res-sidebar .service-list li{color:var(--cream)}
.res-sidebar .service-list li::before{background:var(--gold)}

/* ═══════════════════════════════════════
   COMMERCIAL
   ═══════════════════════════════════════ */
.commercial{background:var(--dark);color:var(--cream)}
.commercial .section-label{color:var(--gold)}
.commercial .section-title{color:var(--cream)}
.commercial .section-desc{color:var(--warm-gray)}
.comm-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2.5rem}
.comm-block{background:rgba(245,240,232,0.03);border:1px solid rgba(200,169,110,0.12);padding:2.5rem;transition:border-color var(--transition)}
.comm-block:hover{border-color:rgba(200,169,110,0.3)}
.comm-block h3{font-family:'Playfair Display',serif;color:var(--gold);font-size:1.25rem;margin-bottom:0.7rem}
.comm-block p{color:var(--warm-gray);font-size:0.93rem;margin-bottom:1.5rem;line-height:1.7}
.comm-block .service-list li{color:rgba(245,240,232,0.85)}
.comm-block .service-list li::before{background:var(--gold)}

/* ═══════════════════════════════════════
   DELIVERY / TRUCK
   ═══════════════════════════════════════ */
.delivery-section{background:var(--cream)}
.delivery-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:4rem;align-items:center;margin-top:2rem}
.delivery-img{border:4px solid var(--white);box-shadow:var(--shadow-lg);overflow:hidden}
.delivery-img img{width:100%;height:auto;display:block}
.delivery-text h3{font-family:'Playfair Display',serif;font-size:1.5rem;color:var(--dark);margin-bottom:1rem}
.delivery-text p{color:var(--brown);font-size:1.05rem;line-height:1.8;margin-bottom:1.5rem}
.delivery-areas{display:grid;grid-template-columns:1fr 1fr;gap:0.3rem 2rem}
.delivery-areas li{padding:0.4rem 0 0.4rem 1.5rem;position:relative;color:var(--dark);font-size:0.95rem;font-weight:600}
.delivery-areas li::before{content:'✓';position:absolute;left:0;color:var(--red);font-weight:700}

/* ═══════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════ */
.reviews-section{background:var(--white);text-align:center}
.reviews-widget{margin-top:2.5rem;max-width:1000px;margin-left:auto;margin-right:auto}

/* ═══════════════════════════════════════
   PROMISES
   ═══════════════════════════════════════ */
.promises{background:var(--cream);text-align:center}
.promises-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;max-width:950px;margin:2.5rem auto 0}
.promise{padding:1.5rem 1rem}
.promise-icon{width:64px;height:64px;border:1.5px solid var(--red);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;transition:all var(--transition)}
.promise:hover .promise-icon{background:var(--red)}
.promise-icon svg{width:24px;height:24px;stroke:var(--red);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:stroke var(--transition)}
.promise:hover .promise-icon svg{stroke:#fff}
.promise h4{font-family:'Playfair Display',serif;font-size:1.02rem;color:var(--dark)}

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.cta-section{background:var(--red);text-align:center;padding:80px 2rem;position:relative;overflow:hidden}
.cta-section::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(200,169,110,0.12),transparent 70%)}
.cta-section *{position:relative;z-index:1}
.cta-section h2{font-family:'Playfair Display',serif;color:#fff;font-size:clamp(1.8rem,3.5vw,2.6rem);margin-bottom:1rem}
.cta-section p{color:rgba(255,255,255,0.8);font-size:1.05rem;margin-bottom:2rem;max-width:520px;margin-left:auto;margin-right:auto}
.cta-section .btn-gold:hover{background:#fff;color:var(--dark);border-color:#fff}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer{background:var(--dark);padding:70px 0 0}
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem;padding-bottom:3rem;border-bottom:1px solid rgba(200,169,110,0.12)}
.footer-brand img{height:70px;width:auto;margin-bottom:1rem}
.footer-brand p{color:var(--warm-gray);font-size:0.9rem;line-height:1.7;max-width:320px}
.footer-col h4{color:var(--cream);font-size:0.78rem;letter-spacing:0.15em;text-transform:uppercase;margin-bottom:1.2rem;font-weight:700}
.footer-col li{margin-bottom:0.6rem}
.footer-col a{color:var(--warm-gray);font-size:0.9rem;transition:color var(--transition)}
.footer-col a:hover{color:var(--gold)}
.footer-bottom{padding:1.5rem 0;margin-top:2rem;display:flex;justify-content:space-between;align-items:center}
.footer-bottom p{color:rgba(168,155,140,0.5);font-size:0.78rem}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.fade-in{opacity:0;transform:translateY(25px);transition:opacity 0.6s ease,transform 0.6s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media(max-width:1024px){
  .about-grid{grid-template-columns:1fr;gap:3rem}
  .about-logo-frame{aspect-ratio:16/10}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .res-content{grid-template-columns:1fr}
  .comm-grid{grid-template-columns:1fr}
  .delivery-grid{grid-template-columns:1fr}
  .hero-content{padding:120px 2.5rem 60px}
  .footer-top{grid-template-columns:1fr 1fr;gap:2rem}
  .gallery-grid{grid-template-columns:repeat(3,1fr)}
  .gallery-item.featured{grid-column:span 2;grid-row:span 2}
}
@media(max-width:768px){
  .nav-menu{display:none}
  .mobile-toggle{display:block}
  .section{padding:70px 0}
  .container{padding:0 1.5rem}
  .hero-content{padding:110px 1.5rem 60px}
  .services-grid{grid-template-columns:1fr}
  .promises-grid{grid-template-columns:1fr 1fr}
  .hero-stats{flex-wrap:wrap;gap:2rem}
  .hero-buttons{flex-direction:column}
  .hero-buttons .btn{text-align:center}
  .trust-bar-inner{gap:1rem;font-size:0.82rem}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:0.5rem;text-align:center}
  .service-list{grid-template-columns:1fr}
  .header-inner{height:70px}
  .site-logo img{height:50px}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .gallery-item.featured{grid-column:span 2;grid-row:span 1;aspect-ratio:16/9}
  .delivery-areas{grid-template-columns:1fr}
}
@media(max-width:480px){
  .hero h1{font-size:2rem}
  .hero-stats{gap:1.5rem}
  .stat-number{font-size:2rem}
  .promises-grid{grid-template-columns:1fr;max-width:280px}
  .trust-bar-inner{flex-direction:column;gap:0.6rem}
  .gallery-grid{grid-template-columns:1fr 1fr;gap:0.3rem}
}

/* WordPress */
.wp-block-image img{height:auto}
.alignleft{float:left;margin-right:1.5rem}
.alignright{float:right;margin-left:1.5rem}
.aligncenter{display:block;margin:0 auto}
