/* AlphaGraphics Dallas - Main Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-red: #E31E24;
    --dark-red: #B71C1C;
    --primary-black: #1a1a1a;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    --accent-yellow: #FFC107;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--primary-black);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar a:hover { color: var(--primary-red); }
.top-bar i { margin-right: 5px; color: var(--primary-red); }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 28px; height: 28px;
    background: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.social-icons a:hover { background: var(--primary-red); transform: translateY(-2px); }

/* ============ HEADER ============ */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo img { max-height: 70px; width: auto; }

.main-nav ul {
    display: flex;
    gap: 5px;
    align-items: center;
}
.main-nav a {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-gray);
    border-radius: 4px;
    position: relative;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary-red);
}
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-top: 3px solid var(--primary-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}
.main-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
}
.main-nav .dropdown a:hover {
    background: var(--light-gray);
    padding-left: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-red);
    color: var(--white) !important;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--primary-red);
    cursor: pointer;
    text-align: center;
}
.btn:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227,30,36,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary-red) !important;
}
.btn-outline:hover { background: var(--primary-red); color: var(--white) !important; }
.btn-white {
    background: var(--white);
    color: var(--primary-red) !important;
    border-color: var(--white);
}
.btn-white:hover { background: var(--light-gray); border-color: var(--light-gray); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-black);
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(227,30,36,0.6)),
                url('https://images.unsplash.com/photo-1601225612720-2c61f3a9b8e5?w=1920') center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
}
.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 35px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ PAGE HEADER ============ */
.page-header {
    background: linear-gradient(135deg, var(--primary-black), var(--primary-red));
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
}
.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ SECTIONS ============ */
section { padding: 70px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    color: var(--primary-black);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-red);
}
.section-title p {
    color: var(--medium-gray);
    font-size: 16px;
    max-width: 700px;
    margin: 20px auto 0;
}

/* ============ SERVICES GRID ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--primary-red);
}
.service-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.1); }
.service-card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    margin: -35px auto 0;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
}
.service-card-content {
    padding: 20px 25px 30px;
    text-align: center;
}
.service-card-content h3 {
    font-size: 20px;
    color: var(--primary-black);
    margin-bottom: 12px;
}
.service-card-content p {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 18px;
}
.service-link {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
}
.service-link:hover { letter-spacing: 1px; }
.service-link i { margin-left: 5px; }

/* ============ ABOUT/INFO SECTIONS ============ */
.bg-light { background: var(--light-gray); }
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.two-column h2 {
    font-size: 34px;
    color: var(--primary-black);
    margin-bottom: 20px;
}
.two-column h2 span { color: var(--primary-red); }
.two-column p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    font-size: 15px;
}
.two-column img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.feature-list {
    margin-top: 20px;
}
.feature-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--dark-gray);
}
.feature-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--primary-red);
}

/* ============ STATS ============ */
.stats {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}
.stat-item p {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ WHY CHOOSE US ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.why-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}
.why-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.why-item i {
    font-size: 50px;
    color: var(--primary-red);
    margin-bottom: 18px;
}
.why-item h4 {
    font-size: 19px;
    color: var(--primary-black);
    margin-bottom: 12px;
}
.why-item p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
                url('https://images.unsplash.com/photo-1586953208448-b95a79798f07?w=1920') center/cover fixed;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
}
.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    border-left: 4px solid var(--primary-red);
}
.testimonial:before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary-red);
    position: absolute;
    top: 5px;
    right: 25px;
    line-height: 1;
    opacity: 0.3;
}
.testimonial p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 18px;
}
.testimonial .stars { color: var(--accent-yellow); margin-bottom: 10px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .name {
    font-weight: 700;
    color: var(--primary-black);
}
.testimonial-author .role {
    font-size: 13px;
    color: var(--medium-gray);
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info {
    background: var(--primary-black);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}
.contact-info h3 {
    font-size: 26px;
    margin-bottom: 25px;
    color: var(--white);
}
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.contact-item i {
    font-size: 22px;
    color: var(--primary-red);
    margin-top: 4px;
    min-width: 30px;
}
.contact-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 16px;
}
.contact-item p, .contact-item a {
    color: #cccccc;
    font-size: 14px;
}
.contact-item a:hover { color: var(--primary-red); }

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.contact-form h3 {
    font-size: 26px;
    margin-bottom: 25px;
    color: var(--primary-black);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.map-container {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.map-container iframe { width: 100%; display: block; }

/* ============ SERVICE PAGE CONTENT ============ */
.service-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}
.service-content h2 {
    font-size: 30px;
    color: var(--primary-black);
    margin: 30px 0 18px;
}
.service-content h3 {
    font-size: 22px;
    color: var(--primary-red);
    margin: 25px 0 15px;
}
.service-content p {
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-size: 15px;
}
.service-content ul {
    margin: 15px 0 20px 20px;
}
.service-content ul li {
    list-style: disc;
    padding: 5px 0;
    color: var(--dark-gray);
}
.service-content img {
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.sidebar {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 110px;
}
.sidebar h3 {
    font-size: 20px;
    color: var(--primary-black);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-red);
}
.sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
}
.sidebar ul li a {
    color: var(--dark-gray);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar ul li a:hover { color: var(--primary-red); padding-left: 5px; }
.sidebar ul li a i { color: var(--primary-red); }

.sidebar-cta {
    background: var(--primary-red);
    color: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin-top: 25px;
}
.sidebar-cta h4 {
    font-size: 20px;
    margin-bottom: 10px;
}
.sidebar-cta p { font-size: 14px; margin-bottom: 15px; }
.sidebar-cta .btn-white { display: block; }

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-black);
    color: #cccccc;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col img.footer-logo {
    background: var(--white);
    padding: 10px;
    border-radius: 4px;
    max-height: 70px;
    width: auto;
    margin-bottom: 15px;
}
.footer-col ul li {
    padding: 7px 0;
    font-size: 14px;
}
.footer-col ul li a:hover { color: var(--primary-red); padding-left: 5px; }
.footer-col ul li i { color: var(--primary-red); margin-right: 8px; }

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    align-items: flex-start;
}
.footer-contact-item i {
    color: var(--primary-red);
    margin-top: 4px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}
.footer-social a:hover { background: var(--primary-red); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}
.footer-bottom a { color: var(--primary-red); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a { padding: 12px 15px; border-bottom: 1px solid var(--border-gray); }
    .main-nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        border-top: none;
    }
    .hero h1 { font-size: 38px; }
    .hero p { font-size: 16px; }
    .two-column { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hero { padding: 70px 0; }
    .hero h1 { font-size: 30px; }
    .section-title h2 { font-size: 28px; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar .container { justify-content: center; text-align: center; }
    .top-bar-left, .top-bar-right { justify-content: center; font-size: 12px; }
    .stat-item h3 { font-size: 38px; }
    .page-header h1 { font-size: 30px; }
}
