/*
Theme Name: Keownology IT Services
Theme URI: http://example.com/keownology
Author: Grant Keown
Author URI: http://example.com
Description: Modern, responsive website for IT consulting services with a neon cyberpunk aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keownology
*/

:root {
    --primary-color: #00FF66;
    --secondary-color: #3E75FF;
    --accent-color: #FF4C4C;
    --dark-bg: #111111;
    --light-color: #EEEEEE;
}

h1, h2, h3, h4, nav .logo { 
    font-family: 'Orbitron', sans-serif; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-color);
    line-height: 1.6;
    padding-top: 70px;;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
header {
    background-color: #000000;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

nav .logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--light-color);
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 75vh;
    text-align: center;
    padding: 20px;
    background: #000;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.hero .btn:hover {
    background-color: #00cc52;
}

/* Services Preview */
.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    padding: 48px 32px;
    align-items: stretch;
}

.service-card {
    background-color: #222;
    padding: 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-card a {
    margin-top: auto;
    font-weight: bold;
    color: var(--primary-color);
}
/* Preview animation i added which looks cool, feel free to remove */
@media (hover:hover) and (pointer:fine) {
    .service-card { transition: transform .2s ease, box-shadow .2s ease; }
    .service-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
}

/* Call to Action */
.cta {
    background-color: #222;
    padding: 40px 32px;
    border-radius: 8px;
    text-align: center;
    margin: 40px auto;
    max-width: 1000px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta p {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: var(--primary-color);
    color: #000000;
    font-weight: bold;
}

/* Make Services Preview & CTA wider */
.services-preview.container,
.cta.container {
    max-width: 1400px;
    width: 96%;
}

/* Main Sections */
section {
    margin: 40px 0;
}

/* Services Page */
.services-list {
    display: grid;
    gap: 20px;
}

.services-list .service {
    background-color: #222;
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
}

.services-list .service h3 {
    color: var(--secondary-color);
}

.services-list .service p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* About Page */
.about-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-photo, .about-text {
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
}

.about-photo {
    flex: 1 1 200px;
    max-width: 300px;
    text-align: center;
}

.about-photo img {
    max-width: 100%;
    border-radius: 50%;
}

.about-text {
    flex: 2 1 400px;
}

.about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text ul {
    list-style-type: disc;
    margin-left: 20px;
}

.about-text ul li {
    margin-bottom: 5px;
}

/* Contact Page */
.contact-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1 1 300px;
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    background-color: #111;
    color: var(--light-color);
    border: 1px solid #444;
    border-radius: 4px;
}

.contact-form textarea {
    height: 100px;
    resize: vertical;
}

.contact-form button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #00cc52;
}

.emergency {
    background-color: var(--accent-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.emergency h4 {
    margin-bottom: 5px;
    color: #000;
}

.emergency a {
    color: #000;
    font-weight: bold;
}

.emergency p {
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #333;
    margin-top: 40px;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: white;
        font-size: 1.5rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 20px 0;
        z-index: 1000;
    }
    
    nav ul.show { display: flex; }

    .contact-section { flex-direction: column; }
    .about-content { flex-direction: column; }

    .cta { padding: 24px 18px; margin: 32px auto; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.05rem; }
}
