/* 5G Internet Australia - Minimalist Tech Style CSS */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B00;
    --dark-grey: #2D2D2D;
    --medium-grey: #6B6B6B;
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-grey);
    text-decoration: none;
}

.logo span {
    color: var(--primary-orange);
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: var(--dark-grey);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: var(--primary-orange);
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
    padding: 60px 0;
}

section {
    margin-bottom: 60px;
}

h1 {
    font-size: 42px;
    color: var(--dark-grey);
    margin-bottom: 30px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    color: var(--dark-grey);
    margin-bottom: 25px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    color: var(--dark-grey);
    margin-bottom: 20px;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    line-height: 1.8;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Content Blocks */
.content-block {
    background-color: var(--light-grey);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.content-block.light {
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #E55E00;
}

.btn.secondary {
    background-color: var(--dark-grey);
}

.btn.secondary:hover {
    background-color: #1A1A1A;
}

/* Icons */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.icon-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.icon-item svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    fill: var(--primary-orange);
}

.icon-item h4 {
    font-size: 18px;
    color: var(--dark-grey);
    margin-bottom: 10px;
    font-weight: 600;
}

.icon-item p {
    font-size: 14px;
    color: var(--medium-grey);
}

/* FAQ Section */
.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
}

.faq-question:hover {
    background-color: var(--light-grey);
}

.faq-answer {
    padding: 20px;
    display: none;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    background-color: var(--light-grey);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-grey);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    padding: 25px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-item h4 {
    font-size: 18px;
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item p {
    margin-bottom: 10px;
    color: var(--dark-grey);
}

/* Disclaimer */
.disclaimer {
    background-color: #FFF3E0;
    border-left: 4px solid var(--primary-orange);
    padding: 20px 25px;
    margin: 30px 0;
    font-size: 14px;
    color: var(--medium-grey);
}

.disclaimer strong {
    color: var(--dark-grey);
}

/* Footer */
footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* Coverage Map */
.coverage-map-container {
    width: 100%;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.coverage-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.legend-color.urban {
    background-color: var(--primary-orange);
}

.legend-color.regional {
    background-color: #FFB84D;
}

.legend-color.limited {
    background-color: #E0E0E0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    nav {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav a {
        text-align: center;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .content-block {
        padding: 25px;
    }
    
    .icon-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    main {
        padding: 30px 0;
    }
}

/* Print Styles */
@media print {
    nav,
    footer,
    .disclaimer {
        display: none;
    }
    
    body {
        background-color: var(--white);
        color: #000;
    }
    
    .content-block {
        page-break-inside: avoid;
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    border: 4px solid var(--light-grey);
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}