/* ═══════════════════════════════════════════════
   Karam Painting & Property Services
   Main Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2e45;
  --gold: #c9913a;
  --gold-light: #e8b460;
  --sand: #f5ede0;
  --sand-dark: #ecdcc8;
  --white: #fdfaf6;
  --text: #2a2118;
  --text-muted: #6b5f52;
  --accent: #2e6b94;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

/* ── UTILS ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--sand { background: var(--sand); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

.btn { display: inline-block; padding: .85rem 2rem; border-radius: 3px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-decoration: none; transition: all .25s; cursor: pointer; border: none; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,145,58,.35); }
.btn--outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sand); }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(13,27,42,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201,145,58,.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 2rem; max-width: 1180px; margin: 0 auto; }
.nav-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.nav-logo span:first-child { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); }
.nav-logo span:last-child { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 500; letter-spacing: .03em; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone { color: var(--gold-light); font-weight: 600; font-size: .9rem; text-decoration: none; display: flex; align-items: center; gap: .4rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: all .3s; }

/* ── MOBILE MENU ── */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: var(--navy); padding: 2rem; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Playfair Display', serif; font-size: 2rem; color: #fff; text-decoration: none; transition: color .2s; }
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* ── HERO (homepage) ── */
#home-hero { min-height: 100vh; background: linear-gradient(to bottom right, rgba(13,27,42,.88) 0%, rgba(13,27,42,.6) 60%, rgba(201,145,58,.15) 100%), url('../images/hero-bg.jpg') center/cover no-repeat; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg-accent { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: linear-gradient(135deg, transparent 0%, rgba(201,145,58,.08) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-top: 72px; max-width: 780px; }
.hero-eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; opacity: 0; animation: fadeUp .8s .2s forwards; }
.hero-eyebrow-line { width: 40px; height: 2px; background: var(--gold); }
.hero-eyebrow span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.hero-h1 { font-size: clamp(2.8rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1.05; opacity: 0; animation: fadeUp .8s .4s forwards; }
.hero-h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub { margin-top: 1.5rem; font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 560px; line-height: 1.7; opacity: 0; animation: fadeUp .8s .6s forwards; }
.hero-actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s .8s forwards; }
.hero-badges { margin-top: 3.5rem; display: flex; gap: 2rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s 1s forwards; }
.hero-badge { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.75); font-size: .85rem; }
.hero-badge-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(201,145,58,.2); border: 1px solid rgba(201,145,58,.4); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; animation: bounce 2s infinite; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(201,145,58,.6), transparent); }

/* ── STRIP ── */
.strip { background: var(--gold); padding: 1.2rem 0; overflow: hidden; }
.strip-inner { display: flex; gap: 4rem; align-items: center; white-space: nowrap; animation: scroll-strip 20s linear infinite; }
.strip-item { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .05em; }

/* ── SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.service-card { background: var(--white); border: 1px solid var(--sand-dark); border-radius: 8px; padding: 2.5rem 2rem; transition: all .3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(13,27,42,.12); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .75rem; color: var(--navy); }
.service-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(to right, var(--navy) 0%, var(--navy-mid) 100%); padding: 9rem 0 5rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(201,145,58,.15) 0%, transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; max-width: 700px; }
.page-hero .breadcrumb { color: rgba(255,255,255,.5); font-size: .82rem; margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--gold-light); text-decoration: none; }

/* ── CONTENT SECTIONS ── */
.content-section { padding: 5rem 0; }
.content-section + .content-section { padding-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col img, .two-col .img-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.img-placeholder { background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); }
.content-block h2 { font-size: 1.9rem; margin-bottom: 1rem; color: var(--navy); }
.content-block h3 { font-size: 1.3rem; margin-bottom: .75rem; color: var(--navy-mid); margin-top: 2rem; }
.content-block p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.content-block ul { list-style: none; }
.content-block ul li { padding: .5rem 0; border-bottom: 1px solid var(--sand-dark); display: flex; align-items: center; gap: .6rem; color: var(--text-muted); font-size: .9rem; }
.content-block ul li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ── SERVICES LIST ── */
.services-list { margin-top: 3rem; }
.service-item { background: var(--white); border-left: 4px solid var(--gold); padding: 1.5rem 2rem; margin-bottom: 1.5rem; border-radius: 0 8px 8px 0; box-shadow: 0 2px 12px rgba(13,27,42,.06); }
.service-item h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .5rem; }
.service-item p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; margin-top: 3rem; }
.gallery-item { border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; background: var(--sand-dark); display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,42,.7) 0%, transparent 60%); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 1.2rem; }
.gallery-item:hover .overlay { opacity: 1; }
.overlay span { color: #fff; font-size: .85rem; font-weight: 600; }
.gallery-placeholder { font-size: 2.5rem; color: var(--gold); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.gallery-placeholder small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.about-photo-frame { width: 100%; aspect-ratio: 3/4; border-radius: 8px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--gold); position: relative; }
.about-photo-frame::after { content: ''; position: absolute; bottom: -1.5rem; right: -1.5rem; width: 80%; height: 80%; border: 3px solid var(--gold); border-radius: 8px; z-index: -1; }
.license-badge { margin-top: 1.5rem; background: var(--navy); color: var(--white); padding: 1.2rem 1.5rem; border-radius: 8px; text-align: center; }
.license-badge .num { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold-light); }
.license-badge small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: .25rem; }
.about-content h1 { font-size: 2.5rem; color: var(--navy); margin-bottom: 1.5rem; }
.about-content h3 { font-size: 1.2rem; color: var(--navy); margin: 2rem 0 .75rem; }
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.2rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.stat-box { text-align: center; padding: 1.5rem 1rem; background: var(--sand); border-radius: 8px; }
.stat-box .num { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.stat-box small { font-size: .78rem; color: var(--text-muted); display: block; margin-top: .3rem; }
.suburbs-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.suburb-tag { background: var(--sand); color: var(--text-muted); padding: .3rem .85rem; border-radius: 20px; font-size: .78rem; font-weight: 500; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info h2 { font-size: 2rem; color: var(--navy); margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: flex-start; }
.contact-detail-icon { width: 44px; height: 44px; background: var(--sand); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-detail h4 { font-family: 'DM Sans', sans-serif; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.contact-detail a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1rem; }
.contact-detail a:hover { color: var(--gold); }
.contact-detail p { color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
.contact-form { background: var(--white); border: 1px solid var(--sand-dark); border-radius: 12px; padding: 2.5rem; box-shadow: 0 4px 24px rgba(13,27,42,.07); }
.contact-form h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; letter-spacing: .03em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--sand-dark); border-radius: 6px; background: var(--sand); font-family: 'DM Sans', sans-serif; font-size: .9rem; color: var(--text); transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.map-embed { border-radius: 12px; overflow: hidden; border: 1px solid var(--sand-dark); }
.map-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: rgba(255,255,255,.6); font-size: .85rem; }
.map-icon { font-size: 2rem; }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, rgba(201,145,58,.15) 100%); padding: 6rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -10%; width: 60%; height: 200%; background: radial-gradient(ellipse, rgba(201,145,58,.08) 0%, transparent 60%); }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; margin-bottom: 1rem; position:relative;z-index:1; }
.cta-section p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7; position:relative;z-index:1; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position:relative;z-index:1; }

/* ── FOOTER ── */
footer { background: #080f18; color: rgba(255,255,255,.6); padding: 3rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; }
.footer-brand .logo-sub { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.footer-brand p { margin-top: 1rem; font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--gold); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: .78rem; }
.lic-badge { background: rgba(201,145,58,.15); border: 1px solid rgba(201,145,58,.3); border-radius: 4px; padding: .3rem .7rem; color: var(--gold-light); font-size: .72rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes scroll-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .two-col, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-badges { flex-direction: column; gap: 1rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ── SUBURB PAGES ── */
.suburb-hero { min-height: 60vh; background: linear-gradient(to bottom right, rgba(13,27,42,.92) 0%, rgba(13,27,42,.7) 60%, rgba(201,145,58,.18) 100%), var(--navy); display: flex; align-items: flex-end; padding-bottom: 4rem; padding-top: 9rem; }
@media(max-width:768px) {
  .suburb-hero { min-height: 50vh; }
  .suburb-hero h1 { font-size: 2rem !important; }
}
