/* ===== Harmony Wallpaper Creations - Main Stylesheet ===== */
/* Ultra-clean modern contractor style | Precision-driven minimalism */

/* --- CSS Variables --- */
:root {
    --color-bg-primary: #FAFCFF;
    --color-bg-secondary: #E8EEF4;
    --color-bg-white: #FFFFFF;
    --color-text: #1F2A37;
    --color-text-light: #4B5563;
    --color-accent: #4A90E2;
    --color-accent-hover: #3B78BE;
    --color-border: #D1D9E0;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-btn: 12px;
    --radius-card: 16px;
    --shadow-sm: 0 2px 8px rgba(31,42,55,0.06);
    --shadow-md: 0 4px 20px rgba(31,42,55,0.08);
    --shadow-lg: 0 8px 40px rgba(31,42,55,0.12);
    --max-width: 1200px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-accent-hover);
}

ul, ol {
    list-style: none;
}

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

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

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

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

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

.header-top {
    background: var(--color-text);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header-top a {
    color: #fff;
    font-weight: 500;
}

.header-top a:hover {
    color: var(--color-accent);
}

.header-main {
    padding: 16px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--color-accent);
}

/* --- Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > a,
.nav-dropdown > a {
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.main-nav > a:hover,
.nav-dropdown > a:hover {
    background: var(--color-bg-secondary);
    color: var(--color-accent);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--transition);
}

.nav-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background var(--transition);
}

.dropdown-menu a:hover {
    background: var(--color-bg-secondary);
    color: var(--color-accent);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 6px 0;
    transition: all var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: var(--color-bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    padding: 80px 24px 24px;
    overflow-y: auto;
    transition: right var(--transition);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--color-text);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
}

.mobile-nav-close:hover {
    background: var(--color-bg-secondary);
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
}

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

.mobile-nav .mobile-dropdown-title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    padding: 20px 16px 8px;
    border-bottom: none;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31,42,55,0.5);
    z-index: 1040;
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    overflow: hidden;
}

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

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-image {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding: 0 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
    box-shadow: 0 4px 16px rgba(74,144,226,0.3);
}

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

.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--color-accent);
}

.btn-white:hover {
    background: var(--color-bg-secondary);
    color: var(--color-accent-hover);
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-secondary);
}

.section-white {
    background: var(--color-bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header p {
    font-size: 1.1rem;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: 32px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.card h3 {
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
}

/* --- Service List --- */
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* --- Process Steps --- */
.process-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.process-steps li {
    counter-increment: step;
    padding: 20px 0 20px 60px;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.process-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 18px;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- Contact Form --- */
.feedback-form-container {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.feedback-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: var(--color-bg-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(74,144,226,0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 16px;
}

.contact-form .form-submit {
    text-align: center;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding: 0 48px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all var(--transition);
}

.submit-btn:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 4px 16px rgba(74,144,226,0.3);
}

#form-success {
    text-align: center;
    padding: 24px;
}

#form-success p {
    font-size: 1.1rem;
    color: #10B981;
    font-weight: 500;
}

/* --- Map --- */
.map-container {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta-block {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    border-radius: var(--radius-card);
    padding: 48px;
    text-align: center;
    margin: 48px 0;
}

.cta-block h2,
.cta-block h3 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-block p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.cta-inline {
    margin: 32px 0;
    padding: 24px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-card);
    text-align: center;
}

.cta-inline p {
    margin-bottom: 16px;
    font-weight: 500;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 24px;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* --- Sticky Quote Button --- */
.sticky-quote-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    height: 58px;
    padding: 0 28px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74,144,226,0.4);
    z-index: 900;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-quote-btn:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 6px 28px rgba(74,144,226,0.5);
    transform: translateY(-2px);
}

/* --- Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31,42,55,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition);
}

.modal-close:hover {
    background: var(--color-bg-secondary);
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--color-text-light);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    color: var(--color-text-light);
    margin: 0 8px;
}

.breadcrumb .current {
    color: var(--color-text);
    font-weight: 500;
}

/* --- Content Sections --- */
.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-bg-secondary);
}

.content-section ul,
.content-section ol {
    padding-left: 0;
    margin-bottom: 20px;
}

.content-section ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--color-text-light);
}

.content-section ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--color-accent);
    font-weight: 700;
}

.content-section ol {
    counter-reset: item;
}

.content-section ol li {
    counter-increment: item;
    padding: 8px 0 8px 32px;
    position: relative;
    color: var(--color-text-light);
}

.content-section ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.two-col-reverse {
    direction: rtl;
}

.two-col-reverse > * {
    direction: ltr;
}

/* --- Areas Grid --- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.areas-grid a {
    display: block;
    padding: 14px 18px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.areas-grid a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

/* --- Neighborhoods --- */
.neighborhoods-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.neighborhoods-list li {
    padding: 8px 12px;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Image Section --- */
.img-rounded {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.img-rounded img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.5rem; }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav {
        display: block;
        right: -50%;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .feedback-form-container {
        padding: 24px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-block {
        padding: 32px 24px;
    }
    
    .sticky-quote-btn {
        bottom: 16px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .sticky-quote-btn:hover {
        transform: translateX(50%) translateY(-2px);
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.85rem; }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 48px 0;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
}
