/* CCG Technology - Shared Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --dark-gold: #B8941F;
    --navy: #1a2332;
    --slate: #2d3748;
    --light: #f7fafc;
    --white: #ffffff;
    --gray: #718096;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--slate);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: var(--navy);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--white);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
    color: var(--white);
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
}

.tagline {
    font-style: italic;
    color: var(--gold);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

/* Page Header (for non-home pages) */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
    color: var(--white);
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.solution-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-section h3 {
    color: var(--slate);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.5rem;
}

.content-section p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-section li {
    color: var(--gray);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    background: var(--gold);
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '📸 Your photo here';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    background: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: var(--navy);
    font-weight: 600;
    border: 2px solid var(--gold);
    font-size: 0.9rem;
}

/* Service Area */
.service-area {
    background: var(--navy);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
}

.service-area h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-area p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.portfolio-image {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 3rem;
}

/* Portfolio image with actual photos */
.portfolio-image-photo {
    background: var(--light);
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-image-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-image-photo img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.portfolio-tag {
    display: inline-block;
    background: var(--light);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* PC Builds Gallery */
.build-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.build-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.build-image {
    background: var(--light);
    height: 300px;
    overflow: hidden;
}

.build-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.build-card:hover .build-image img {
    transform: scale(1.05);
}

.build-info {
    padding: 2rem;
}

.build-info h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.build-info p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.build-specs {
    padding-top: 1rem;
    border-top: 2px solid var(--light);
    margin-top: 1rem;
}

.build-specs p {
    color: var(--slate);
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-details p {
    color: var(--gray);
    font-size: 1.05rem;
}

.contact-details a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--dark-gold);
}

.hours-list {
    list-style: none;
    margin-top: 0.5rem;
}

.hours-list li {
    padding: 0.3rem 0;
    color: var(--gray);
}

.contact-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

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

.submit-btn {
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

footer p {
    color: rgba(255,255,255,0.7);
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--navy);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 5rem 2rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
