/*
Theme Name: Illuka Constructions
Theme URI: https://illukaconstructons.com.au
Author: Illuka Constructions
Description: Custom WordPress theme for Illuka Constructions – Custom-Built Homes in Terrey Hills, NSW.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: illuka
*/

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --gold:         #b5956a;
  --gold-light:   #c8a97e;
  --gold-dark:    #8a6d45;
  --navy:         #1e2d4a;
  --dark:         #1a1a1a;
  --grey-bg:      #f0efed;
  --grey-light:   #f7f6f4;
  --grey-mid:     #e8e6e1;
  --text-dark:    #2a2a2a;
  --text-grey:    #666;
  --text-light:   #888;
  --white:        #ffffff;

  --font-heading: 'Raleway', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Open Sans', 'Helvetica Neue', sans-serif;

  --transition: 0.25s ease;
  --max-w: 1200px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text-dark); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
p { margin-bottom: 1rem; color: var(--text-grey); font-weight: 400; letter-spacing: 0; text-transform: none; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 5rem 0; }

/* Section heading style — matches screenshot exactly */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
/* Small gold divider — the lightning bolt / arrow style from screenshot */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0.75rem auto 1.25rem;
}
.section-divider::before,
.section-divider::after {
  content: '';
  display: block;
  width: 55px;
  height: 1px;
  background: var(--gold);
}
.section-divider-icon {
  width: 16px; height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.section-heading p {
  font-size: 0.97rem;
  color: var(--text-grey);
  max-width: 860px;
  margin: 0 auto;
}

/* Left-aligned heading variant */
.section-heading.left { text-align: left; }
.section-heading.left .section-divider { justify-content: flex-start; }
.section-heading.left p { margin: 0; }

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.9rem 3rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-gold     { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: #fff; color: var(--dark); }
.btn-outline-dark { background: transparent; color: var(--text-dark); border-color: var(--text-dark); }
.btn-outline-dark:hover { background: var(--text-dark); color: #fff; }

/* =============================================
   Header
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: background var(--transition);
}
#site-header.scrolled {
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  gap: 2rem;
}

/* Logo — small bordered box, top-left */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.7);
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.site-logo:hover { border-color: var(--gold); }
.logo-top {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}
.logo-bottom {
  font-family: var(--font-heading);
  font-size: 0.42rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-nav a {
  display: block;
  padding: 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #fff; }

/* =============================================
   Hero
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: #0a1020; z-index: 0; }
.hero-bg-image {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center 40%;
  filter: brightness(0.65);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(15,25,55,0.25) 0%, rgba(10,18,40,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 900px; padding: 0 2rem; padding-top: 65px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.hero-arrow {
  position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  z-index: 4; color: rgba(255,255,255,0.7); font-size: 1.6rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.hero-arrow:hover { background: rgba(255,255,255,0.2); }

/* =============================================
   Expertise Section
   ============================================= */
#expertise { background: #fff; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
  text-align: center;
  margin-top: 2.5rem;
}

.expertise-card { padding: 0.5rem; }

/* Gold circle with SVG icon — matches screenshot */
.expertise-icon-wrap {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}
.expertise-icon-wrap svg {
  width: 46px; height: 46px;
  fill: none;
  stroke: rgba(255,255,255,0.9);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.expertise-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-grey);
  max-width: 340px;
  margin: 0 auto;
}

/* =============================================
   Why Choose Us
   ============================================= */
#why-choose { background: var(--grey-bg); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 360px;
}

.why-content {
  padding: 4rem 4rem 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.why-content > p {
  font-size: 0.88rem;
  color: var(--text-grey);
  margin-bottom: 2rem;
}

.why-features { display: flex; flex-direction: column; gap: 1.5rem; }

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-feature-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-feature-icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: rgba(255,255,255,0.9);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.why-feature-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.why-feature-text p {
  font-size: 0.84rem;
  color: var(--text-grey);
  line-height: 1.65;
  margin: 0;
}

.why-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.why-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   What's Happening Today
   ============================================= */
#happening {
  background: var(--navy);
  padding: 3rem 0;
}
.happening-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}
.happening-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.happening-heading p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Full-width 5-column photo strip */
.happening-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
}
.happening-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: #0d1830;
}
.happening-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.happening-photo:hover img { transform: scale(1.06); }
.happening-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}
.happening-arrow {
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  background: rgba(0,0,0,0.25);
  border: none;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: all;
}

/* =============================================
   Testimonials
   ============================================= */
#testimonials { background: #fff; }

/* Single centered testimonial style from screenshot */
.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-grey);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.testimonial-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 1.25rem auto;
}
.testimonial-divider::before, .testimonial-divider::after {
  content: ''; display: block; width: 40px; height: 1px; background: var(--gold);
}
.testimonial-divider-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  display: block;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.testimonial-nav button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--grey-mid);
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.testimonial-nav button.active { background: var(--gold); }

/* =============================================
   Gallery
   ============================================= */
#gallery { background: var(--grey-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #ccc;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(20,35,70,0.55);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.55);
  padding: 0.45rem 1.25rem;
}

/* =============================================
   FAQ
   ============================================= */
#faq { background: #fff; }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--grey-mid); padding: 1.2rem 0; }
.faq-question {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  font-size: 0.92rem;
  color: var(--text-grey);
  line-height: 1.8;
  padding-top: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   Contact
   ============================================= */
#contact-us { background: var(--grey-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.contact-details-list { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.contact-detail-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-detail-item strong {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  min-width: 72px;
  display: block;
  padding-top: 2px;
  flex-shrink: 0;
}
.contact-detail-item span { font-size: 0.88rem; color: var(--text-grey); }

.contact-form-wrap { background: #fff; padding: 2.5rem; border: 1px solid var(--grey-mid); }
.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.contact-form-wrap > p { font-size: 0.86rem; color: var(--text-grey); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  font-family: var(--font-body); font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  outline: none; appearance: none; border-radius: 0;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 0.9rem; margin-top: 0.5rem; }
#form-feedback { font-size: 0.86rem; margin-bottom: 1rem; padding: 0.7rem 1rem; display: none; }

/* =============================================
   Footer
   ============================================= */
#site-footer { background: #111; padding: 2.5rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-logo .logo-top { font-size: 1rem; }
.footer-logo .logo-bottom { font-size: 0.38rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-heading);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.22);
}

/* =============================================
   Animations
   ============================================= */
.anim { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim.in { opacity: 1; transform: none; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { min-height: 300px; }
  .why-content { padding: 3rem 0; }
  .happening-strip { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; position: fixed; inset: 0;
    background: rgba(15,20,40,0.98);
    flex-direction: column; align-items: center; justify-content: center;
    z-index: 999;
  }
  .site-nav.open ul { flex-direction: column; align-items: center; gap: 0.25rem; }
  .site-nav.open a { font-size: 1.1rem; padding: 0.7rem 2rem; }
  .nav-toggle { display: flex; }
  .expertise-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .happening-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .container { padding: 0 1.5rem; }
}
