@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Righteous&display=swap');
:root {
    --primary-blue: #021b3e; /* Deep corporate blue */
    --accent-orange: #ff5e14; /* CMRepair accent color */
    --accent-hover: #e04b0b;
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #eeeeee;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-blue);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 14px;
    padding: 2px 0;
}
.top-bar .material-symbols-outlined {
    font-size: 16px;
    color: var(--accent-orange);
    vertical-align: middle;
    margin-right: 5px;
}

/* Header */
.app-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 2px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.brand-logo-img {
    height: 60px;
    margin-right: 15px;
    border-radius: 5px;
}
.brand-text {
    font-size: 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .brand-text {
        font-size: 18px;
    }
    .brand-logo-img {
        height: 40px;
        margin-right: 8px;
    }
}
.brand-text span {
    color: var(--accent-orange);
    -webkit-text-fill-color: var(--accent-orange);
}

.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-orange) !important;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-orange);
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    display: inline-block;
}
.btn-primary-custom:hover {
    background-color: var(--primary-blue);
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 140px;
    background-image: url('../images/hero_cmrepair.png');
    background-size: cover;
    background-position: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(2, 27, 62, 0.7); /* Deep blue overlay */
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 60px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-title span {
    color: var(--accent-orange);
}
.hero-subtitle {
    color: #e0e0e0;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Services Feature Boxes (Overlapping Hero) */
.features-overlap {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.feature-box {
    background: var(--white);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--accent-orange);
    transition: transform 0.3s;
    text-align: center;
    height: 100%;
}
.feature-box:hover {
    transform: translateY(-10px);
}
.feature-box .material-symbols-outlined {
    font-size: 50px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.feature-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
}
.feature-box p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 100px 0;
}
.about-img {
    position: relative;
}
.about-img img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.about-content h2 span {
    color: var(--accent-orange);
}
.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.about-list {
    list-style: none;
    padding: 0;
}
.about-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-blue);
}
.about-list li .material-symbols-outlined {
    color: var(--accent-orange);
    vertical-align: middle;
    margin-right: 10px;
}

/* Services Grid */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}
.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}
.section-title-wrap h2 {
    font-size: 36px;
    position: relative;
    padding-bottom: 15px;
}
.section-title-wrap h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
}
.service-card {
    background: var(--white);
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
}
.service-card:hover {
    background: var(--primary-blue);
}
.service-card:hover h4, .service-card:hover h5, .service-card:hover p {
    color: var(--white);
}
.service-card .material-symbols-outlined {
    font-size: 60px;
    color: var(--accent-orange);
    margin-bottom: 25px;
    transition: 0.3s;
}
.service-card:hover .material-symbols-outlined {
    color: var(--white);
}
.service-card h4 {
    margin-bottom: 15px;
    transition: 0.3s;
}

/* Footer */
.footer-section {
    background: #0d1117;
    color: #c9d1d9;
    padding: 70px 0 30px;
}
.footer-widget h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-widget p {
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-widget ul.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.footer-widget ul.contact-info li .material-symbols-outlined {
    margin-right: 12px;
    color: var(--accent-orange);
    font-size: 1.3rem;
    margin-top: 3px;
}
.footer-widget ul.opening-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    font-size: 0.95rem;
}
.footer-widget ul.opening-hours li:last-child {
    border-bottom: none;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 50px;
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.social-links a {
    color: #c9d1d9;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--accent-orange);
}

/* Custom Input for Modal */
.custom-input {
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 4px;
    width: 100%;
}
.custom-input:focus {
    border-color: var(--accent-orange);
    box-shadow: none;
    outline: none;
}
.modal-header h3 {
    color: var(--primary-blue);
}
/* Mobile Quick Actions Bar */
.mobile-quick-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1050;
    display: flex;
}
.quick-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    color: var(--white) !important;
    transition: background 0.3s;
}
.quick-action-btn .material-symbols-outlined {
    font-size: 22px;
    margin-bottom: 2px;
}
.quick-action-btn.call-btn {
    background-color: var(--primary-blue);
}
.quick-action-btn.book-btn {
    background-color: var(--accent-orange);
}
.quick-action-btn:hover {
    filter: brightness(1.1);
}

/* Add padding to body on mobile so content is not hidden behind the nav */
@media (max-width: 991px) {
    body {
        padding-bottom: 70px;
    }
}

/* Floating Action Button (Call Now) */
.fab-call-now {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Vibrant Green */
    color: white !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse-green 2s infinite;
    text-decoration: none;
}
.fab-call-now .material-symbols-outlined {
    font-size: 30px;
    margin: 0;
}
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 991px) {
    .fab-call-now {
        bottom: 85px; /* Above the mobile bottom nav */
    }
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
}

.premium-bg-section {
    position: relative;
    background: url('../images/technician.png') no-repeat center center fixed;
    background-size: cover;
    padding: 80px 0;
}
.premium-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 27, 62, 0.85);
    z-index: 1;
}
.premium-bg-section .service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.premium-bg-section .service-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}
.premium-bg-section .service-card h5 {
    color: #fff !important;
}
.premium-bg-section .service-card .material-symbols-outlined {
    color: #ff6b00 !important; /* Orange accent */
}


/* Differentiation for Mobile vs Laptop Services */
#services.premium-bg-section {
    background-image: url('../images/broken_screen.png');
}
.laptop-bg-section {
    position: relative;
    background: url('../images/technician.png') no-repeat center center fixed;
    background-size: cover;
    padding: 80px 0;
}


@media (max-width: 768px) {
    .service-card {
        padding: 15px 10px !important;
        aspect-ratio: 1 / 1;
        margin-bottom: 0;
    }
    .service-card .material-symbols-outlined {
        font-size: 36px !important;
        margin-bottom: 10px !important;
    }
    .service-card h5 {
        font-size: 0.85rem !important;
    }
}

/* Floating Book Appointment Button (Left Side) */
.fab-book-appointment {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(2, 27, 62, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}
.fab-book-appointment:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(2, 27, 62, 0.4);
    background-color: var(--accent-orange);
}
.fab-book-appointment .material-symbols-outlined {
    font-size: 24px;
    margin: 0;
}
.fab-text {
    font-weight: 600;
    font-size: 15px;
}
@media (max-width: 991px) {
    .fab-book-appointment {
        display: none !important;
    }
}
