/* 
 * Bright Hearth Homes - 2026 Dark Modern Theme
 * Colors: #111827, #374151, #3B82F6, #030712, #F9FAFB
 */

:root {
    --bg-dark: #030712;
    --bg-card: #111827;
    --bg-secondary: #374151;
    --primary: #3B82F6;
    --primary-hover: #2563EB;
    --text-light: #F9FAFB;
    --text-muted: #9CA3AF;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-dark); color: var(--text-light); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text-light); line-height: 1.2; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.sub-heading { color: var(--primary); font-weight: 600; letter-spacing: 2px; font-size: 0.875rem; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.text-gradient { background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mb-20 { margin-bottom: 20px; }

/* Layout Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.narrow { max-width: 800px; margin: 0 auto; }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.full-width { width: 100%; }

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(3, 7, 18, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 0; transition: var(--transition); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--text-light); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary); }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: var(--transition); font-size: 0.95rem; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background: var(--text-light); transition: var(--transition); }

/* Hero */
.hero { height: 100vh; min-height: 700px; display: flex; align-items: center; position: relative; background: url('https://i.pinimg.com/736x/58/0e/07/580e0734f2594a90af461c8f59d18411.jpg') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(3,7,18,0.95), rgba(3,7,18,0.7)); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.main-heading { font-size: 4rem; margin-bottom: 24px; }
.hero-desc { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; }
.hero-btns { display: flex; gap: 20px; }

/* Stats */
.stats-section { background: var(--bg-card); padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-card h3 { font-size: 3.5rem; color: var(--primary); margin-bottom: 10px; }
.stat-card p { color: var(--text-muted); font-weight: 500; }

/* Cards (Features, Services, Reviews) */
.feature-card, .service-card, .review-card { background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); }
.hover-lift:hover { transform: translateY(-10px); border-color: var(--primary); }
.icon-box { width: 60px; height: 60px; background: rgba(59, 130, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.5rem; margin-bottom: 20px; }
.service-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.review-card .stars { color: #FBBF24; margin-bottom: 15px; }
.review-card h4 { margin-top: 20px; color: var(--primary); font-size: 0.9rem; }

/* Process Timeline */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.process-step { position: relative; padding-top: 40px; border-top: 2px solid var(--bg-secondary); }
.step-num { position: absolute; top: -20px; left: 0; background: var(--primary); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-head); }
.step-content h3 { margin-bottom: 10px; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; }

/* Forms */
.booking-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; background: var(--bg-card); padding: 60px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.check-list i { color: var(--primary); }
.form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, select, textarea { width: 100%; padding: 16px; background: var(--bg-dark); border: 1px solid var(--bg-secondary); border-radius: 8px; color: var(--text-light); font-family: var(--font-body); font-size: 1rem; transition: var(--transition); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { resize: vertical; margin-bottom: 20px; }

/* FAQ */
.faq-grid { max-width: 900px; margin: 0 auto; display: grid; gap: 15px; }
.faq-item { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.faq-item summary { padding: 20px 30px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 30px 20px; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* Contact */
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.contact-item i { width: 50px; height: 50px; background: rgba(59, 130, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }

/* Footer */
.footer { background: #000; padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h3 { margin-bottom: 25px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.subscribe-form { display: flex; gap: 10px; margin-top: 15px; }
.subscribe-form input { padding: 12px; }
.subscribe-form button { background: var(--primary); border: none; color: white; padding: 0 20px; border-radius: 8px; cursor: pointer; transition: var(--transition); }
.subscribe-form button:hover { background: var(--primary-hover); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: var(--text-muted); text-decoration: none; }
.legal-links a:hover { color: var(--primary); }

/* Legal Pages */
.page-header { padding: 150px 0 80px; background: var(--bg-card); text-align: center; margin-bottom: 60px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 15px; color: var(--primary); }
.legal-content p { color: var(--text-muted); margin-bottom: 15px; }

/* Animations */
.fade-up, .reveal-left, .reveal-right, .zoom-in { opacity: 0; transition: all 0.8s ease-out; }
.fade-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.zoom-in { transform: scale(0.9); }
.active-anim { opacity: 1; transform: translate(0) scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-3, .stats-grid, .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .main-heading { font-size: 3rem; }
    .booking-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu { position: fixed; left: -100%; top: 70px; gap: 0; flex-direction: column; background: var(--bg-card); width: 100%; text-align: center; transition: 0.3s; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 16px 0; }
    .cta-nav { display: none; }
    
    .grid-2, .grid-3, .stats-grid, .process-timeline, .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 600px; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .main-heading { font-size: 2.5rem; }
    .form-group { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}