/* --- Variables & Setup --- */
:root {
    --color-primary: #7CC653; /* Lime Green from Logo */
    --color-primary-hover: #69a844;
    --color-dark: #363333; /* Dark Grey from Logo */
    --color-dark-hover: #1a1919;
    --color-light: #f4f6f8;
    --color-white: #ffffff;
    --color-text: #4a4a4a;
    
    --font-main: 'Outfit', sans-serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(124, 198, 83, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--color-dark);
    font-weight: 800;
    line-height: 1.2;
}

p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Accessibility helper: hide content visually but keep it available to screen readers/crawlers */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; /* added line to prevent wrapping */
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }
.bg-light { background-color: var(--color-light); }
.bg-dark { background-color: var(--color-dark); color: var(--color-white); }
.text-center { text-align: center; }
.text-green { color: var(--color-primary); }

.subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-3px);
}

/* Header phone button */
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    border: 2px solid transparent;
}
.btn-phone i { font-size: 0.95rem; }
.btn-phone:hover { background: var(--color-primary-hover); transform: translateY(-2px); }

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

nav.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    border-radius: var(--border-radius-sm);
}

.text-logo {
    font-size: 1.5rem;
    font-weight: 800;
}
.text-logo .f { color: var(--color-dark); }
.text-logo .j { color: var(--color-primary); }

/* hero H1 brand letters matching text logo */
.hero-content h1 .f { color: var(--color-dark); }
.hero-content h1 .j { color: var(--color-primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-dark);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.btn-outline-nav {
    border: 2px solid var(--color-dark);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-lg);
}

.btn-outline-nav:hover {
    background-color: var(--color-dark);
    color: var(--color-white) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(26, 25, 25, 0.75), rgba(26, 25, 25, 0.35));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Large banner line under the H1 for strong visual impact */
.hero-banner {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0.5rem 0 1.5rem 0;
    line-height: 1.15;
}

@media (min-width: 900px) {
    .hero-banner { font-size: 2rem; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--color-primary);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-content h3 i {
    color: var(--color-primary);
}

/* --- Areas Served --- */
.suburbs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.suburb-tag {
    background: var(--color-light);
    color: var(--color-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.suburb-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateX(10px);
}

.btn-contact .icon {
    background: var(--color-primary);
    color: var(--color-white);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.btn-contact .text {
    display: flex;
    flex-direction: column;
}

.btn-contact .text span {
    font-size: 0.9rem;
    color: #aaa;
}

.btn-contact .text strong {
    font-size: 1.2rem;
    color: var(--color-white);
}

.contact-map {
    height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

/* Grayscale Map Filter */
.map-iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* --- Footer --- */
.footer {
    background: #1a1919;
    color: #fff;
    padding: 4rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #aaa;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--color-primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active { right: 0; }
    
    .nav-links a { color: var(--color-white); font-size: 1.5rem; }
    
    .btn-outline-nav { border-color: var(--color-white); }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================
   FAQ Card - Rounded Toggle
   ========================== */
.faq-list { max-width: 900px; margin: 1.5rem auto 0 auto; }
.faq-item {
    margin-bottom: 1rem;
}
details.faq-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(16,16,16,0.06);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
details.faq-item:hover { transform: translateY(-6px); }

details.faq-item summary { list-style: none; cursor: pointer; padding: 0; }
.faq-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding: 1rem 1.25rem; }
.faq-header .q-text { font-weight: 800; color: var(--color-dark); }

.faq-toggle { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:999px; background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(124,198,83,0.18); transition: transform 0.28s cubic-bezier(.2,.9,.2,1), background 0.2s ease; flex-shrink:0; }
.faq-toggle i { font-size: 0.95rem; }
details.faq-item[open] .faq-toggle { transform: rotate(180deg); background: var(--color-dark); }

.faq-body { padding: 0 1.25rem 1rem 1.25rem; color:#333; line-height:1.6; max-height:0; overflow:hidden; transition: max-height 0.42s cubic-bezier(.2,.9,.2,1), opacity 0.32s ease; opacity:0; }
details.faq-item[open] .faq-body { max-height:420px; opacity:1; }

@media (max-width:700px) {
    .faq-header { padding: 0.8rem 1rem; }
    .faq-toggle { width:40px; height:40px; }
}

/* Permalink style inside heading */
.anchor-link { color: rgba(0,0,0,0.35); margin-left: 0.6rem; font-size: 0.95rem; }
.anchor-link:hover { color: var(--color-primary); }
