/* ============================================
   NEXT WALL SOLUTIONS — Premium Stylesheet
   Color Palette: #1a1a2e, #16213e, #0f3460, #e94560, #f5f5f5
   Fonts: Manrope (headings), Inter (body)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d2d2d;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a2e;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Header --- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header-top { background: #1a1a2e; padding: 0.5rem 0; }
.header-contact { display: flex; align-items: center; gap: 1.5rem; justify-content: flex-end; }
.header-phone, .header-email {
    color: #f5f5f5;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
}
.header-phone:hover, .header-email:hover { color: #e94560; }
.header-phone svg, .header-email svg { flex-shrink: 0; }

/* --- Navigation --- */
.main-nav { padding: 0.75rem 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu > li > a {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a2e;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}
.nav-menu > li > a:hover { background: #f0f0f5; color: #0f3460; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    color: #333;
    transition: background 0.2s, color 0.2s;
}
.dropdown li a:hover { background: #f5f5f5; color: #e94560; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-toggle span { display: block; width: 24px; height: 2.5px; background: #1a1a2e; border-radius: 2px; transition: 0.3s; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #1a1a2e;
    z-index: 2000;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active { right: 0; }
.mobile-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-nav { margin-top: 3rem; }
.mobile-nav > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav > li > a {
    display: block;
    padding: 1rem 0;
    color: #f5f5f5;
    font-size: 1.1rem;
    font-weight: 500;
}
.mobile-dropdown ul { padding-left: 1rem; display: none; }
.mobile-dropdown.open ul { display: block; }
.mobile-dropdown ul li a { display: block; padding: 0.6rem 0; color: #aaa; font-size: 0.95rem; }
.mobile-dropdown ul li a:hover { color: #e94560; }

/* --- Hero Sections --- */
.hero,
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(15,52,96,0.7) 100%);
}
.hero .container,
.hero-content,
.page-hero .container { position: relative; z-index: 2; }
.hero h1,
.page-hero h1 { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero p,
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-top: 0.75rem; max-width: 600px; }

/* Home Hero (larger) */
.hero { min-height: 520px; padding: 3.5rem 0; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; width: 100%; }
.hero-text { color: #fff; }
.hero-text h1 { color: #fff; }
.hero-form { position: relative; z-index: 3; }
.hero-home { min-height: 520px; }
.hero-home .hero-content { max-width: 650px; }
.hero-home h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); margin-bottom: 1rem; }
.hero-home p { font-size: 1.2rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Sections --- */
.section { padding: 4.5rem 0; }
.section-light { background: #fff; }
.section-dark { background: #f8f9fb; }
.section-intro { font-size: 1.1rem; color: #555; max-width: 800px; margin-bottom: 2.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}
.btn-primary { background: #e94560; color: #fff; border-color: #e94560; }
.btn-primary:hover { background: #d63d56; border-color: #d63d56; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,0.3); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline { background: transparent; color: #0f3460; border-color: #0f3460; }
.btn-outline:hover { background: #0f3460; color: #fff; }
.section-cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Content Section (text + image side by side) --- */
.content-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.content-text h2 { margin-bottom: 1rem; }
.content-text ul, .content-text ol { margin: 1rem 0 1.5rem 1.5rem; }
.content-text li { margin-bottom: 0.5rem; list-style: disc; }
.content-text ol li { list-style: decimal; }
.content-image img { border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

/* --- Services Grid --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.services-grid-lg { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card h3 { padding: 1.25rem 1.25rem 0; }
.service-card p { padding: 0.5rem 1.25rem; color: #555; font-size: 0.92rem; flex: 1; }
.service-card .btn { margin: 0.75rem 1.25rem 1.25rem; align-self: flex-start; }

/* --- Areas List --- */
.areas-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.area-link {
    padding: 0.6rem 1.25rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f3460;
    transition: all 0.3s;
}
.area-link:hover { background: #0f3460; color: #fff; border-color: #0f3460; }

/* --- Process List --- */
.process-list { counter-reset: process; margin: 2rem 0; padding: 0; }
.process-list li {
    counter-increment: process;
    padding: 1rem 0 1rem 3.5rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.process-list li::before {
    content: counter(process);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2.2rem;
    height: 2.2rem;
    background: #e94560;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* --- Two Column List --- */
.two-col-list { columns: 2; gap: 2rem; margin: 1.5rem 0; padding-left: 1.5rem; }
.two-col-list li { margin-bottom: 0.6rem; list-style: disc; break-inside: avoid; }

/* --- FAQ --- */
.faq-list { margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 1.25rem 0; }
.faq-item h3 { font-size: 1.05rem; color: #1a1a2e; cursor: pointer; position: relative; padding-right: 2rem; }
.faq-item p { margin-top: 0.75rem; color: #555; font-size: 0.95rem; }

/* --- Services List Links --- */
.services-list-links { margin: 1.5rem 0; padding: 0; }
.services-list-links li { padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.95rem; }
.services-list-links li a { color: #e94560; font-weight: 600; }
.services-list-links li a:hover { text-decoration: underline; }

/* --- Contact Form --- */
.contact-form { max-width: 700px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: #0f3460;
    box-shadow: 0 0 0 3px rgba(15,52,96,0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { margin-top: 0.5rem; }
.submit-btn {
    background: #e94560;
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.submit-btn:hover { background: #d63d56; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,0.3); }

/* --- Map --- */
.map-container { margin-top: 2rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.map-container iframe { width: 100%; height: 400px; border: none; }

/* --- Stats / Trust Bar --- */
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number { font-family: 'Manrope', sans-serif; font-size: 2.5rem; font-weight: 800; color: #e94560; }
.stat-label { font-size: 0.9rem; color: #555; margin-top: 0.25rem; }

/* --- Footer --- */
.site-footer { background: #1a1a2e; color: #ccc; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #aaa; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #e94560; }
.footer-address { color: #888; font-size: 0.85rem; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding: 1.5rem 0; text-align: center; }
.footer-bottom p { color: #777; font-size: 0.85rem; margin: 0; }

/* --- Sticky Quote Button --- */
.sticky-quote-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #e94560;
    color: #fff;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 25px rgba(233,69,96,0.4);
    z-index: 900;
    transition: all 0.3s;
    animation: pulse-btn 2s infinite;
}
.sticky-quote-btn:hover { background: #d63d56; transform: translateY(-3px); box-shadow: 0 10px 35px rgba(233,69,96,0.5); }
@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 6px 25px rgba(233,69,96,0.4); }
    50% { box-shadow: 0 6px 35px rgba(233,69,96,0.6); }
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}
.modal-close:hover { color: #e94560; }
.feedback-form-container h3 { margin-bottom: 1.5rem; text-align: center; }
.modal-form-success { text-align: center; padding: 2rem 0; }
.modal-form-success p { color: #555; font-size: 1rem; }

/* --- About Page Specifics --- */
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.value-card { padding: 1.5rem; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); border-left: 4px solid #e94560; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.92rem; color: #555; margin: 0; }

/* --- Gallery Grid --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery-grid img { border-radius: 8px; width: 100%; height: 220px; object-fit: cover; transition: transform 0.3s; }
.gallery-grid img:hover { transform: scale(1.02); }

/* --- Breadcrumbs --- */
.breadcrumbs { padding: 0.75rem 0; font-size: 0.85rem; color: #777; }
.breadcrumbs a { color: #0f3460; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .content-section { grid-template-columns: 1fr; gap: 2rem; }
    .content-image { order: -1; }
    .two-col-list { columns: 1; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: flex; }
    .header-contact { justify-content: center; }
    .header-email { display: none; }
    .hero-home { min-height: 420px; }
    .hero { min-height: auto; }
    .hero-content { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 3rem 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .page-hero { min-height: 280px; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .section-cta { flex-direction: column; }
    .section-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; }
    .modal-content { padding: 1.5rem; }
    .container { padding: 0 1rem; }
}
