/*
Theme Name: Skyview Electronics
Theme URI: https://skyviewelectronics.ca
Description: Custom WordPress theme for Skyview Electronics, converted from Next.js.
Author: Google Deepmind Agent
Author URI: https://google.com
Version: 1.0.0
Text Domain: skyview-theme
*/

:root {
    /* Brand Colors - Ported from Tailwind config */
    --skyview-slate: #0f172a;
    --skyview-blue: #2563eb;
    --skyview-teal: #14b8a6;
    --skyview-violet: #8b5cf6;

    /* UI Colors */
    --color-bg: #f8fafc;
    --color-text: #0f172a;
    --color-border: #e2e8f0;

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Utilities equivalent to Tailwind classes used in layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* --- Type & Typography --- */
body {
    color: var(--color-text);
}

a {
    color: var(--skyview-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--skyview-violet);
}

.text-skyview-blue {
    color: var(--skyview-blue);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--skyview-slate);
    color: white;
}

.btn-primary:hover {
    background-color: var(--skyview-blue);
    color: white;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    /* 16 */
}

.logo-link {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--skyview-slate);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #475569;
    /* slate-600 */
    font-weight: 500;
    font-size: 0.875rem;
}

.main-navigation a:hover {
    color: var(--skyview-blue);
}

/* Header CTA */
.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: block;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        /* Hide nav on mobile by default */
    }

    .main-navigation.toggled ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--skyview-slate);
    color: #cbd5e1;
    /* slate-300 */
    padding: 3rem 0;
    margin-top: auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-widgets {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    font-size: 1.5rem;
    color: white;
    margin-top: 0;
}

.footer-column h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: #cbd5e1;
}

.footer-menu a:hover {
    color: var(--skyview-blue);
}

.site-info {
    border-top: 1px solid #1e293b;
    /* slate-800 */
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    /* slate-500 */
}