/* HomeLivingDream — Modern Corporate Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Great+Vibes&display=swap');

:root {
  --primary: #0F766E;
  --primary-dark: #115E59;
  --primary-darker: #134E4A;
  --accent: #84A98C;
  --accent-light: #CAD2C5;
  --bg-section: #F9FAFB;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-darker); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text-dark); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

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

/* Layout helpers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.section-bg { background: var(--bg-section); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto;
}
.logo {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 400;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
  letter-spacing: 0.5px;
}
.logo:hover { color: var(--primary-darker); }
@media (max-width: 480px) {
  .logo { font-size: 1.9rem; }
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-dark); font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 0; position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.cta {
  background: var(--primary); color: var(--white) !important;
  padding: 0.6rem 1.25rem; border-radius: 6px;
  transition: background 0.2s;
}
.nav-links a.cta:hover { background: var(--primary-dark); }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; padding: 4px;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--text-dark); margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 73px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    padding: 1rem 0; border-bottom: 1px solid var(--border);
    transform: translateY(-150%); transition: transform 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; }
  .nav-links a.cta { margin: 0.5rem 1.5rem; }
  .menu-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #F0FDFA 0%, #E0F2F1 100%);
  position: relative; overflow: hidden;
}
.hero-content { max-width: 800px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--primary); }
.hero p {
  font-size: 1.2rem; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.75rem;
  border-radius: 6px; font-weight: 600; font-size: 1rem;
  transition: all 0.2s; cursor: pointer; border: none;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Section heading */
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-heading .eyebrow {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-heading p { font-size: 1.1rem; }

/* Grids */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.4rem;
}

/* Brand cards */
.brand-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,118,110,0.12); }
.brand-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-section); }
.brand-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.brand-card:hover .brand-card-img img { transform: scale(1.05); }
.brand-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.brand-card-body h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.brand-card-body .btn { align-self: flex-start; margin-top: auto; }

/* Testimonials */
.testimonial { background: var(--white); border-radius: 12px; padding: 1.75rem; border: 1px solid var(--border); }
.testimonial::before { content: '"'; font-size: 4rem; color: var(--primary); line-height: 0.8; font-family: Georgia, serif; }
.testimonial p { color: var(--text-dark); font-size: 0.95rem; margin: 0.5rem 0 1rem; }
.testimonial .author { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* Blog cards */
.blog-card {
  background: var(--white); border-radius: 12px; padding: 1.75rem;
  border: 1px solid var(--border); transition: all 0.2s;
  display: flex; flex-direction: column; height: 100%;
}
.blog-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.blog-card .date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--text-dark); }
.blog-card p { font-size: 0.95rem; flex: 1; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: 1rem; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  color: var(--white); text-align: center; padding: 4rem 1.5rem;
  border-radius: 16px; margin: 0 1.5rem;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-section .btn-primary { background: var(--white); color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--bg-section); }

/* Footer */
.site-footer { background: #0B3B36; color: rgba(255,255,255,0.85); padding: 4rem 0 2rem; margin-top: 0; }
.footer-grid {
  display: grid; gap: 3rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.footer-brand .logo:hover { color: var(--accent-light); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem; padding: 1.5rem 1.5rem 0;
  text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* Page hero (interior pages) */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #F0FDFA 0%, #E0F2F1 100%);
  text-align: center;
}
.page-hero .breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Prose (long-form text pages) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 3rem; margin-bottom: 1rem; font-size: 1.75rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.25rem; color: var(--primary); }
.prose p { color: var(--text-dark); margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; color: var(--text-dark); }
.prose strong { color: var(--text-dark); font-weight: 600; }

/* Forms */
.contact-form { display: grid; gap: 1.25rem; max-width: 600px; margin: 0 auto; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 500;
  margin-bottom: 0.4rem; color: var(--text-dark);
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: 6px; font-family: inherit; font-size: 1rem;
  transition: border-color 0.2s; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Contact info grid */
.contact-info {
  display: grid; gap: 1.5rem; margin-bottom: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.contact-info-item { padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; text-align: center; }
.contact-info-item .icon { color: var(--primary); font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-info-item p { font-size: 0.9rem; margin: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
