/* 
   ServiceOne365 - Professional TV Repair Landing Page 
   Theme: Technical, Clean, Trust-Oriented
   Font: Inter (Google Fonts)
*/

:root {
    --primary-color: #0056D2; /* TRUST BLUE */
    --secondary-color: #002D62; /* DEEP NAVY */
    --accent-color: #F8F9FA; /* LIGHT GREY BG */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --call-blue: #0056D2;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --container-width: 1200px;
}

/* --- Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px; /* Space for mobile sticky bar */
    overflow-x: hidden;
    width: 100%;
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none; /* Default for UI elements */
}

/* Special class for restoring list styles in text content */
.page-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: flex; } /* Flex for flex containers */
}

/* --- Header --- */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.header-trust {
    text-align: center;
}

.trust-primary {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.trust-secondary {
    font-size: 0.75rem;
    color: var(--text-light);
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
    gap: 8px;
}

.btn-header-call {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-header-call:hover {
    background-color: var(--secondary-color);
}

.btn-header-wa {
    background-color: var(--whatsapp-green);
    color: var(--white);
}

.btn-header-wa:hover {
    filter: brightness(0.95);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
}

.btn-outline:hover {
    background-color: #ecfdf5;
}

/* --- Mobile Header Icons --- */
.mobile-header-actions {
    gap: 15px;
}

.icon-btn svg {
    width: 28px;
    height: 28px;
}

.wa-color { color: var(--whatsapp-green); }
.call-color { color: var(--primary-color); }


/* --- Hero Section --- */
.hero-section {
    padding: 60px 0;
    background-color: #eff6ff; /* Very light blue tint */
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.hero-heading {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-heading span {
    color: var(--primary-color);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 20px;
}

.hero-trust-line {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
    background: #dbeafe;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Block (List) */
.hero-trust-block {
    margin-top: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 800px;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.check-icon {
    color: var(--whatsapp-green);
    width: 18px;
    height: 18px;
}


/* --- Services Section --- */
.section {
    padding: 60px 0;
}

.section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.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-color);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #bfdbfe;
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
    background: #eff6ff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* --- Form Section --- */
.form-section {
    background-color: var(--secondary-color);
    color: var(--white);
}

.form-wrapper {
    max-width: 700px;
}

.form-section .section-heading {
    color: var(--white);
    margin-bottom: 10px;
}

.form-sub-text {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.clean-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px #bfdbfe;
}

.btn-submit {
    margin-top: 10px;
    width: 100%;
}

.form-microcopy {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}


/* --- Footer --- */
.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 40px 0 20px;
}

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

.footer-block h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-block p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #9ca3af;
}

.footer-legal {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-legal a:hover {
    color: var(--white);
}


/* --- Mobile Sticky Bar --- */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    display: flex;
    border-top: 1px solid var(--border-color);
}

/* We use .mobile-only class for display logic primarily, but ensure flex here */
@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
    }
}

.sticky-btn {
    flex: 1;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-sticky-call {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-sticky-wa {
    background-color: var(--whatsapp-green);
    color: var(--white);
}


/* --- Success Message --- */
.success-message {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    color: var(--text-dark);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}


/* --- Legal & Content Pages --- */
.page-header {
    background: #f3f4f6;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    min-height: 50vh;
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-content h3 {
    font-size: 1.25rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 8px;
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero-heading {
        font-size: 1.75rem; /* Reduced further for small screens */
        word-break: break-word;
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .trust-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trust-list li {
        width: 100%;
    }

    /* Prevent Horizontal Scroll */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Header adjustments */
    .brand-name {
        font-size: 1.25rem;
    }
    .brand-sub {
        font-size: 0.7rem;
        display: none; /* Hide sub-text on very small screens if needed, or keep small */
    }
    
    /* Ensure no flex parent overflow */
    .header-brand {
        flex-shrink: 1;
        min-width: 0;
    }
}
