/* Solar Pixel 2026 Redesign */
/* Modern, clean, mobile-first design */

:root {
    --primary-blue: #0066cc;
    --primary-dark: #003366;
    --accent-blue: #0089ff;
    --text-dark: #1a1a1a;
    --text-medium: #444444;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-blue);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-soft);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.header-contact {
    text-align: right;
    font-size: 0.95rem;
}

.header-contact a {
    color: var(--text-dark);
    font-weight: 500;
}

.header-contact .phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 5px;
}

.main-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    display: block;
    padding: 15px 25px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    transition: left var(--transition);
    padding: 20px 0;
    overflow-y: auto;
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-medium);
}

.mobile-nav ul {
    list-style: none;
    margin-top: 50px;
}

.mobile-nav a {
    display: block;
    padding: 15px 25px;
    color: var(--text-dark);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #001a33 100%);
    color: var(--bg-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../graphics/marketingback.png') no-repeat right center;
    background-size: cover;
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--bg-white);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition);
}

.hero-cta:hover {
    background: #0077ee;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 255, 0.4);
}

/* Main Content */
.main-content {
    background: var(--bg-white);
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.content-main h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.content-main h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.content-main p {
    color: var(--text-medium);
    margin-bottom: 15px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.sidebar-card img {
    width: 100%;
    display: block;
}

.services-list {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--bg-white);
    border-radius: 10px;
}

.services-list h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.services-list ul {
    list-style: none;
}

.services-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
}

.services-list li:last-child {
    border-bottom: none;
}

.contact-card {
    padding: 25px;
    background: linear-gradient(135deg, #0f4375 0%, #5a8ec0 100%);
    color: var(--bg-white);
    text-align: center;
    border-radius: 10px;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card a {
    color: var(--bg-white);
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card .phone {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Services Section */
.services-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
}

.about-image {
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-contact a {
    color: #ccc;
}

.footer-contact a:hover {
    color: var(--bg-white);
}

.footer-links {
    font-size: 0.8rem;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-links a {
    color: #777;
    margin: 0 8px;
}

.footer-links a:hover {
    color: #aaa;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #001a33 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    opacity: 0.25;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Page-specific hero backgrounds */
.page-header.services-header::before {
    background-image: url('/graphics/marketingservices.jpg');
}

.page-header.about-header::before {
    background-image: url('/graphics/marketingaboutus.png');
}

.page-header.portfolio-header::before {
    background-image: url('/graphics/marketingportfolio.jpg');
}

.page-header.pricing-header::before {
    background-image: url('/graphics/marketingpricing.jpg');
}

.page-header.hosting-header::before {
    background-image: url('/graphics/marketinghosting.jpg');
}

/* Results/Testimonials Section */
.results-section {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.results-section h2 {
    color: var(--primary-dark);
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.result-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.result-stat {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.result-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.testimonials {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: var(--bg-white);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Featured/Hot service badge */
.service-card.featured {
    border: 2px solid var(--accent-blue);
    position: relative;
}

.service-card.featured::before {
    content: 'Hot';
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--accent-blue);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0 0 6px 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar > * {
        flex: 1 1 280px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .header .container {
        flex-wrap: wrap;
    }

    .logo img {
        height: 50px;
    }

    .header-contact {
        display: none;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .main-content,
    .services-section,
    .about-section {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        flex-direction: column;
    }

    .sidebar > * {
        flex: 1 1 100%;
    }
}
