/* 
   ThemeForest Standard CSS
   Project: The Computer Mechanic
   Author: Tyler Ziegler

   Table of Contents:
   1.  Variables & Reset
   2.  Global Styles
   3.  Typography & Utilities
   4.  Header
   5.  Hero Section
   6.  Services Section
   7.  Why Us Section
   8.  Testimonials Section
   9.  Footer Section
   10. Mobile Menu
   11. Contact Modal
   12. Media Queries
*/

/* 1. Variables & Reset */
:root {
    --primary-color: #0056b3;
    /* Tech Blue */
    --primary-light: #60a5fa;
    /* Accessible Light Blue for dark backgrounds */
    --secondary-color: #0096c7;
    /* Lighter Cyan/Blue for gradients */
    --dark-bg: #0f172a;
    /* Deep tech blue/black */
    --card-bg: rgba(255, 255, 255, 0.05);
    /* Glass effect base */
    --text-color: #e2e8f0;
    --heading-color: #ffffff;
    --accent-color: #f59e0b;
    /* Amber for highlights/stars */
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.6rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.announcement-banner p {
    margin: 0;
}

.banner-cta {
    background: white;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    margin-left: 10px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.banner-cta:hover {
    background: var(--text-color);
    transform: translateY(-1px);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1e293b;
    /* Dark text for light header */
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 600;
    color: #1e293b;
    /* Dark text for light header */
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1e293b;
    /* Dark icon */
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 212, 255, 0.1), transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.hero .highlight {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #004085);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
}

.btn-secondary:hover {
    background: rgba(0, 123, 255, 0.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 212, 255, 0.1));
    position: relative;
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: rotate 20s linear infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #0b1120;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

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

.service-card ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.service-card ul li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    padding: 2px 0;
}

.service-card ul li a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
}

.service-card ul li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Why Us Section */
.why-us {
    padding: 6rem 0;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.feature-item p {
    color: #cbd5e1;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-text {
    color: #e2e8f0;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--heading-color);
}

.review-source {
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.more-reviews {
    text-align: center;
    margin-top: 2rem;
}

/* Footer Section */
.footer-section {
    background: #020617;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-info h3,
.footer-hours h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: #cbd5e1;
}

.contact-item i {
    color: var(--primary-light);
    margin-top: 5px;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: #cbd5e1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.4rem;
}

.hours-list li .closed {
    color: var(--accent-color);
    font-weight: 600;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #1e293b;
    z-index: 2000;
    padding: 2rem;
    transition: 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-close {
    text-align: right;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    cursor: pointer;
    color: var(--heading-color);
}

.mobile-nav-list li {
    margin-bottom: 1.5rem;
}

.mobile-nav-list a {
    font-size: 1.2rem;
    color: var(--text-color);
    display: block;
}

.mobile-nav-list a:hover {
    color: var(--primary-light);
}



/* Contact Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: rgba(30, 41, 59, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 3rem;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #cbd5e1;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.modal-details h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-details h3 i {
    color: var(--primary-light);
}

.modal-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 0.95rem;
}

.modal-hours .closed {
    color: var(--accent-color);
    font-weight: 600;
}

.modal-map .map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-nav-btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-container {
        padding: 2rem 1.5rem;
    }
}

.privacy-link {
    color: #cbd5e1;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--primary-light);
}

/* Designer Credit */
.designer-credit {
    margin-top: 0.5rem;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.designer-credit a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.designer-credit a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}


/* 12. Media Queries */
@media (max-width: 900px) {
    .btn-primary:hover {
        transform: translateY(0);
        box-shadow: none;
    }

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

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}