/*
Theme Name: Rapid Computer Services
Theme URI: https://rapidcomputerservices.com
Author: Rapid Computer Services
Author URI: https://rapidcomputerservices.com
Description: Custom WordPress theme for Rapid Computer Services
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://gnu.org
Text Domain: rapid-computer-services
Tags: one-page, business, services
*/

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

/* BASE STYLES */
body {
    font-family: karla, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #445860;
    background-color: #fff;
}

p {
    margin-bottom: 1rem;
}

h1, h2, h3 {
    font-family: montserrat, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 { font-size: 3.50rem; }
h2 { font-size: 3.25rem; }
h3 { font-size: 1.25rem; }

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 600;
}

/* LAYOUT */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

section {
    padding: 80px 0;
}

/* COMPONENTS */
.btn {
    display: inline-block;
    padding: 1rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: .2rem;
}

.btn-primary {
    background-color: #F88208;
    color: white;
}

.btn-primary:hover {
    background-color: #dc5c03;
    color: white;
    font-weight: bold;
}

/* HEADER */
.site-header {
    background-color: #002747;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header .logo,
.site-header .custom-logo-link {
    margin-left: 0rem !important;
    display: block;
}

.site-header .logo img,
.site-header .custom-logo-link img {
    width: 10rem;
    height: auto;
    display: block;
}

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

.nav-list a {
    text-decoration: none;
    color: white;
    font-weight: 400;
}

.nav-list a:not(.btn):hover {
    color: #dc5c03;
    font-weight: bolder;
}

.logo {
    width: 10rem;
    max-width: 100%;
}

/* HERO */
.hero { padding: 0; }

.hero-image {
    background-image: url("/wp-content/uploads/2026/04/Hero_jpg1.png");
    background-color: #ccc;
    height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 50rem;
}

.hero-content h1, .hero-content p { color: #fff; }

/* SERVICES */
.services h2 {
    text-align: center;
    color: #005695;
    width: 100%;
    margin-bottom: 3rem;
}

.title-services {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.title-services h3 { max-width: 12rem; }
.service-icon { height: 4rem; }

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

.services-card {
    flex-direction: column;
    width: 100%;
    flex-wrap: nowrap;
}

.services-card p { padding-top: 1rem; }

/* CHOOSE US */
.choose-us {
    display: flex;
    min-height: 100vh;
}

.left-side { flex: 1; display: flex; }
.left-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.right-side {
    display: flex;
    flex: 1;
    align-items: center;
    background-color: #002747;
}

.right-side .container { max-width: 50rem; }
.choose-us h2 { color: #F88208; }
.choose-us h3, .choose-us p { color: white; }

.choose-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.choose-item { display: flex; gap: 2rem; }
.choose-item img { height: 2rem; }
.choose-text h3 { margin-bottom: .5rem; }

/* CONTACT US */
.contact .container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    max-width: 75rem;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    border-radius: 0.25rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 5px 0;
}

.contact-content {
    display: flex;
    flex-flow: column;
    width: 50%;
    padding: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    margin-bottom: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon img, .contact-icon svg {
    height: 1.25rem; 
    width: auto;
}

.contact-icon a:link {
    text-decoration: none;
    color: #445860;
}

.contact h2 { color: #005695; }

/* FOOTER */
.site-footer {
    background-color: #002747;
    width: 100%;
}

.site-footer section.footer {
    padding: 0;
}

.site-footer .container {
    display: flex;
    flex-direction: column; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem; 
    padding-right: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 2rem; 
    padding-bottom: 1rem;
}

/* FIXED: margin-left set to 0 for alignment with footer-bottom content */
.site-footer .footer-logo, 
.site-footer .custom-logo-link {
    display: inline-block;
    margin-left: 0; 
    padding-left: 0 !important;
}

.site-footer .footer-logo img, 
.site-footer .custom-logo-link img {
    height: 40px; 
    width: auto;
    display: block;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.footer-contact-item img, .footer-contact-item svg {
    height: 1.1rem; 
    width: auto;
}

.footer-contact-list {
    display: flex;
    gap: 2.5rem;
}

hr.footer-divider {
    border: 0;
    border-top: .1rem solid rgba(255, 255, 255, 0.2);
    margin: 0; 
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-copyright p {
    color: white;
    margin-bottom: 0; 
    font-size: 0.9rem;
}

/* CONTACT FLEX BOX GRID */
.contact-container-flex {
    display: flex;
    align-items: stretch; gap: 40px; margin-top: 30px;
}

.contact-column-form { flex: 1.2; display: flex; flex-direction: column; }
.contact-column-image { flex: 1; display: flex; }
.image-wrapper { width: 100%; height: 100%; }

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    .subtitle { font-size: 1.25rem; }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .site-header .container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-image { height: auto; padding: 4rem 0; }

    .choose-us {
        flex-direction: column;
        min-height: auto;
    }
    .left-side, .right-side { width: 100%; }
    .right-side { padding: 4rem 0; }

    .contact .container {
        flex-direction: column;
        padding: 1.5rem;
    }
    .contact-content, .contact-container-flex {
        width: 100%;
        padding: 0;
        flex-direction: column;
    }
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    /* Footer Mobile - Center stacks elements */
    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-contact-list {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .site-footer .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
