/* 5G Australia - Informational Website Styles */

/* Color Variables */
:root {
    --midnight-grey: #1a1a2e;
    --deep-red: #8b0000;
    --soft-silver: #c0c0c0;
    --light-grey: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
}

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

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

/* Header Styles */
header {
    background-color: var(--midnight-grey);
    color: var(--white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
}

.logo span {
    color: var(--deep-red);
}

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

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
    border-radius: 4px;
}

nav a:hover {
    background-color: var(--deep-red);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-height: calc(100vh - 300px);
}

.content-section {
    padding: 2rem;
}

/* Typography */
h1 {
    color: var(--midnight-grey);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--deep-red);
    padding-bottom: 0.5rem;
}

h2 {
    color: var(--midnight-grey);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    color: var(--deep-red);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Disclaimers */
.disclaimer {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

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

.disclaimer-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--deep-red);
    border-radius: 4px;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: var(--midnight-grey);
    color: var(--white);
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-question {
    font-weight: bold;
    color: var(--midnight-grey);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--midnight-grey);
    font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--deep-red);
}

button[type="submit"] {
    background-color: var(--midnight-grey);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
    font-size: 1rem;
    opacity: 0.6;
}

button[type="submit"]:disabled {
    cursor: not-allowed;
}

/* Info Box */
.info-box {
    background-color: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: var(--midnight-grey);
    color: var(--white);
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h4 {
    color: var(--soft-silver);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--deep-red);
}

.footer-disclaimer {
    background-color: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.footer-disclaimer p {
    color: var(--soft-silver);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--soft-silver);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav a {
        display: block;
        text-align: center;
    }
}