/* --- LITTLE AUSSIE BATTLERS: GOLD TEXT EDITION --- */

:root {
    --battler-green: #2E4822;      
    --battler-gold: #D4AF37;       
    --text-gold: #E5C15D; /* A slightly brighter gold for reading text */
    
    /* CONTROL CENTER */
    --header-bg: rgba(0, 0, 0, 0.9); /* Darker header for contrast */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    /* CHANGE 1: DEFAULT TEXT IS NOW GOLD */
    color: var(--text-gold);
    line-height: 1.6;
    min-height: 100vh;
    text-shadow: 2px 2px 4px #000000; /* Shadow ensures gold pops on any background */
}

/* BACKGROUNDS */
body.home-bg { background-image: url('images/brick-bg.jpg'); }
body.indiv-bg { background-image: url('images/individuals.jpg'); }
body.business-bg { background-image: url('images/business.jpg'); }
body.specialised-bg { background-image: url('images/specialised.jpg'); }

/* CLUB PAGE BACKGROUND */
body.club-bg { 
    background-color: #051005; 
    background-image: url('images/logo.png'); 
    background-size: 80%; 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(3px) grayscale(50%) brightness(0.4); 
}

/* 1. HEADER */
header {
    background-color: var(--header-bg);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--battler-green);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* Hide mobile controls on laptops */
@media (min-width: 769px) {
    .mobile-controls { display: none; }
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.brand-container img { height: 60px; width: auto; }

.site-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--battler-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

/* NAVIGATION */
nav ul { list-style: none; display: flex; align-items: center; }
nav li { margin-left: 25px; text-align: center; }
nav a {
    text-decoration: none;
    color: #ddd; /* Keep Nav links slightly white/grey for contrast against header */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
    display: block;
    text-shadow: none;
}
nav a:hover { color: var(--battler-gold); }

/* 2. LAYOUT */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 140px 20px 60px 20px; 
    text-align: center;
}

.glass-box {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 20px;
    max-width: 1100px;
    width: 100%;
    margin-bottom: 60px;
}

/* TYPOGRAPHY */
h1 { 
    font-size: 3.5rem; 
    text-transform: uppercase; 
    margin-bottom: 10px; 
    color: var(--battler-gold); /* GOLD HEADINGS */
    text-shadow: 4px 4px 8px #000000; 
}

h2 { 
    font-size: 2.5rem; 
    margin-bottom: 30px; 
    color: var(--battler-gold); 
    text-transform: uppercase;
    text-shadow: 3px 3px 6px #000000;
}

h3 { 
    font-size: 1.3rem; 
    color: var(--battler-gold); /* GOLD SUBHEADINGS */
    margin-bottom: 10px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

p { 
    font-size: 1.2rem; 
    color: var(--text-gold); /* GOLD PARAGRAPHS */
    margin-bottom: 20px; 
    font-weight: 500;
}

/* 3. BUTTONS */
.btn-gold {
    display: inline-block;
    background-color: var(--battler-green); 
    color: var(--battler-gold); 
    border: 2px solid var(--battler-gold);
    padding: 15px 40px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.3s;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
    text-shadow: none;
}
.btn-gold:hover { 
    background-color: var(--battler-gold); 
    color: var(--battler-green); 
    cursor: pointer;
}

/* 4. WORKFLOW CIRCLES */
.workflow-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}
.circle-step {
    width: 200px;
    height: 200px;
    border: 3px solid var(--battler-green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8); /* Keep dark BG for contrast */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: 0.3s;
}
.circle-step:hover { 
    background: var(--battler-green); 
    border-color: var(--battler-gold); 
    transform: scale(1.05); 
}
.circle-step i { font-size: 2.2rem; color: var(--battler-gold); margin-bottom: 10px; }
.circle-step h4 { text-transform: uppercase; font-size: 0.85rem; margin-bottom: 5px; color: var(--text-gold); text-shadow: none; }
.circle-step p { font-size: 0.75rem; line-height: 1.2; margin-bottom: 0; color: #ddd; text-shadow: none; }
.arrow-next { font-size: 2.5rem; color: var(--battler-gold); opacity: 1; text-shadow: 2px 2px 4px black; }

/* 5. SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 30px;
}
.service-card {
    background: rgba(0, 0, 0, 0.85); /* Dark background */
    padding: 40px 25px;
    border-radius: 8px;
    border-top: 3px solid var(--battler-gold);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.service-card:hover { transform: translateY(-5px); border-top-color: var(--battler-green); }
.service-card i { font-size: 2.5rem; color: var(--battler-gold); margin-bottom: 20px; display: block; }
.service-card h3 { text-shadow: none; color: var(--battler-gold); } 
.service-card p { text-shadow: none; color: #ddd; } /* Keep descriptions inside cards slightly lighter for contrast */

.learn-more { color: var(--battler-gold); font-size: 0.9rem; text-transform: uppercase; font-weight: bold; margin-top: 15px; display: inline-block; text-shadow: none;}

/* 6. FEATURE GRID */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    text-align: center;
}
.feature-item {
    background: rgba(0, 0, 0, 0.85); 
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.feature-item i { font-size: 2.5rem; color: var(--battler-gold); margin-bottom: 15px; }
.feature-item h4 { color: var(--battler-gold); text-transform: uppercase; margin-bottom: 10px; font-size: 1.1rem; text-shadow: none; }
.feature-item p { font-size: 0.95rem; color: #ddd; line-height: 1.4; margin-bottom: 0; text-shadow: none; }


/* --- COMPACT FOOTER --- */
footer {
    background-color: #080808;
    color: #ccc;
    /* Changed bottom padding from 30px to 10px */
    padding: 40px 5% 10px 5%; 
    border-top: 4px solid var(--battler-green);
    text-shadow: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px; /* Reduced gap between columns */
    max-width: 1200px;
    /* Reduced bottom margin from 50px to 20px */
    margin: 0 auto 20px auto; 
}

.footer-col h4 { 
    color: var(--battler-gold); 
    margin-bottom: 15px; /* Tighter heading space */
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 0.95rem; } /* Tighter list items */
.footer-col a { color: #ccc; transition: 0.3s; text-decoration: none; } 
.footer-col a:hover { color: var(--battler-gold); }

/* ACKNOWLEDGEMENT TEXT */
.ack-text {
    font-size: 0.85rem; 
    line-height: 1.4; /* Tighter line height */
    color: #999;
    font-style: italic;
    border-left: 2px solid var(--battler-gold);
    padding-left: 10px;
    margin-top: 0;
}

/* FOOTER BOTTOM (Copyright Area) */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 15px; /* Less space above text */
    padding-bottom: 15px; /* Minimal space at very bottom */
    margin-top: 10px; /* Brought closer to the columns */
}

.footer-bottom p {
    font-size: 0.75rem; /* Slightly smaller text */
    color: #555;
    margin-bottom: 3px; /* Tighter spacing between the two lines */
    text-shadow: none;
}

/* SPECIAL BOX FOR BATTLER SPIRIT */
.battler-box {
    background: rgba(0, 0, 0, 0.85); /* Dark background */
    border: 1px solid var(--battler-gold); /* Gold Border */
    padding: 40px; /* Space inside the box */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Drop shadow */
    max-width: 900px;
    margin: 50px auto 0 auto; /* Center it */
    text-align: left; /* Keep the story text easy to read */
}

/* --- TABLET COMPATIBILITY (iPads & Small Screens) --- */
@media (max-width: 1024px) {
    /* Hide arrows on tablets so the circles wrap neatly without pointing at nothing */
    .arrow-next { display: none; }
    
    /* Shrink the circles slightly so they have a better chance of staying in one row */
    .circle-step { 
        width: 170px; 
        height: 170px; 
        padding: 10px;
    }
    
    /* Shrink the circle text slightly to fit the new size */
    .circle-step i { font-size: 1.8rem; margin-bottom: 5px; }
    .circle-step h4 { font-size: 0.75rem; }
    .circle-step p { font-size: 0.65rem; }
}

/* --- APP-STYLE MOBILE PHONE COMPATIBILITY --- */
@media (max-width: 768px) {
    
    /* 1. THE RED WALL BACKGROUND */
    /* Make sure you save your red wall image as 'red-wall.jpg' in your images folder! */
    body {
        background-image: url('images/red-wall.jpg') !important; 
        background-attachment: scroll !important;
        background-position: center top !important;
        background-size: cover !important;
    }

    /* 2. THE APP HEADER */
    header { 
        flex-direction: row; /* Keeps logo on left, menu on right */
        justify-content: space-between;
        padding: 15px; 
        background-color: rgba(0, 0, 0, 0.75) !important; 
    }

    .brand-container { margin-bottom: 0; }
    .brand-container img { height: 45px; } /* Shrink logo to fit */
    .site-name { display: none; } /* Hide the text title on mobile to save space */

    /* 3. MOBILE CONTROLS (Call & Hamburger) */
    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .btn-mobile-call {
        background-color: var(--battler-green);
        color: var(--battler-gold);
        padding: 6px 12px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: bold;
        border: 1px solid var(--battler-gold);
    }

    .hamburger {
        color: var(--battler-gold);
        font-size: 1.8rem;
        cursor: pointer;
    }

    /* 4. THE DROPDOWN MENU */
    nav {
        display: none; /* Hidden until you click the hamburger */
        position: absolute;
        top: 100%; /* Drops exactly beneath the header */
        left: 0;
        width: 100%;
        background-color: #080808;
        border-bottom: 3px solid var(--battler-green);
        padding-bottom: 10px;
    }

    nav.active { display: block; } /* The javascript triggers this to show it */

    nav ul { flex-direction: column; padding: 10px 0; }
    nav li { margin: 15px 0; margin-left: 0; }
    nav a { font-size: 1.1rem; }

    /* 5. STRIP THE FOOTER */
    .footer-col { display: none; } /* Hide all columns */
    .footer-col:last-child { display: block; text-align: center; } /* ONLY show the last one (Acknowledgement) */
    
    /* 6. SPACING & SIZING */
    .hero { padding-top: 140px; } 
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.1rem !important; }
    p { font-size: 1rem !important; }
    .glass-box, .battler-box { padding: 25px 15px; background: rgba(0, 0, 0, 0.0); } 
    .services-grid { grid-template-columns: 1fr; }
}