/* ============================================
   LM APPLIANCE SERVICES - MAIN STYLESHEET
   ============================================ */

/* CSS Variables - Original LM Appliance Color Scheme */
:root {
    /* Primary Colors - Dark Navy Blue */
    --primary: #0E2343;
    --primary-dark: #091830;
    --primary-light: #142D4C;
    
    /* Accent Colors */
    --yellow: #FDD21E;
    --yellow-dark: #E6BC1A;
    --yellow-light: #FFF3B0;
    --blue-accent: #37B7FE;
    --button-text: #205591;
    
    /* Neutral Colors */
    --dark: #1D1E20;
    --black: #18181a;
    --gray-dark: #36344d;
    --gray: #727586;
    --gray-border: #dadce0;
    --gray-light: #f2f3f6;
    --white: #ffffff;
    
    /* Status Colors */
    --success: #00b090;
    --danger: #fc5185;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--button-text);
    border-color: var(--yellow);
}

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

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

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
}

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

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

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--dark);
}

.dropdown-menu a:hover {
    background-color: var(--yellow-light);
    color: var(--primary);
}

/* Mobile Menu */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.nav-mobile-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 12px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-border);
}

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

.nav-mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.nav-mobile-dropdown-toggle::after {
    content: '▾';
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.nav-mobile-dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.nav-mobile-dropdown {
    display: none;
    padding-left: 16px;
}

.nav-mobile-dropdown.active {
    display: block;
}

.nav-mobile-dropdown a {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 35, 67, 0.85) 0%, rgba(20, 45, 76, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   SERVICES CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 60px 0;
}

.services-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin: 0 auto;
}

.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.services-grid-4 .service-card h3 {
    text-align: center;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(14, 35, 67, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 24px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--dark);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    margin-bottom: 24px;
    color: var(--dark);
}

.about-content p {
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--yellow-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Stats */
.stats-section {
    padding: 60px 0;
    background-color: var(--primary-light);
    color: var(--white);
}

.stats-section .text-center h2,
.stats-section .text-center p {
    color: var(--yellow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--yellow);
    margin-bottom: 8px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--gray-light);
    padding: 32px;
    border-radius: 16px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--yellow);
    opacity: 0.5;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--gray);
}

.testimonial-stars {
    color: var(--yellow);
    margin-bottom: 12px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--yellow);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yellow);
    display: block;
    margin-bottom: 24px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    padding: 20px 0;
}

.contact-info h3 {
    margin-bottom: 24px;
    color: var(--dark);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    background-color: var(--yellow-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

/* ============================================
   SERVICE AREA SECTION
   ============================================ */
.service-area-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.city-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 35, 67, 0.15);
}

.city-card h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.city-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
}

.city-card a {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--yellow);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: var(--yellow);
    font-weight: 600;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: 10px 0 0;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICE DETAIL SECTION
   ============================================ */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-detail-content h2 {
    margin-bottom: 20px;
    color: var(--dark);
}

.service-detail-content p {
    margin-bottom: 16px;
}

.service-detail-content ul {
    margin-bottom: 24px;
}

.service-detail-content ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray);
}

.service-detail-content ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: 700;
}

.service-detail-sidebar {
    background: var(--yellow-light);
    padding: 32px;
    border-radius: 16px;
    height: fit-content;
}

.service-detail-sidebar h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.service-detail-sidebar ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-border);
    color: var(--gray);
}

.service-detail-sidebar ul li:last-child {
    border-bottom: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav-desktop {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

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

    .services-grid,
    .testimonials-grid,
    .about-grid,
    .contact-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MAP CONTAINER
   ============================================ */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

.map-container iframe {
    display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-yellow { color: var(--yellow); }
.bg-primary { background-color: var(--primary); }
.bg-light { background-color: var(--gray-light); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }
.pt-section { padding-top: 80px; }
.pb-section { padding-bottom: 80px; }