/* Austin Bloom Gardens - Modern, High-Performance Stylesheet */
:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --primary-light: #52b788;
  --accent: #d8f3dc;
  --accent-gold: #d4a373;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --bg-main: #fcfdfc;
  --bg-card: #ffffff;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 36px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

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

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1.05rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-dark);
}

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

.logo-icon {
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
}

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

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.85) 0%, rgba(45, 106, 79, 0.75) 100%),
              url('https://images.unsplash.com/photo-1558904541-efa843a96f0f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 4rem 0;
}

.hero-content {
  max-width: 760px;
}

.hero .badge {
  display: inline-block;
  background: rgba(216, 243, 220, 0.2);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(216, 243, 220, 0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Features Highlight / Trust Bar */
.trust-bar {
  background: var(--white);
  padding: 2.5rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid #f0f0f0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-item {
  padding: 1rem;
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.trust-item h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Section Shared */
.section {
  padding: 5.5rem 0;
}

.section-bg {
  background-color: #f4f8f5;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-header .sub-title {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Cards & Grids */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

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

.card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 0.75rem;
}

.card-body p {
  flex: 1;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
}

.card-link:hover {
  color: var(--primary-dark);
  gap: 0.6rem;
}

/* About Split Section */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.stat-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact & Info Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  font-family: var(--font-body);
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.info-text span, .info-text a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.form-box {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid #f0f0f0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.12);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Toast Message */
.toast-msg {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  margin-top: 1rem;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: #0d2818;
  color: #9ca3af;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

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

/* Gallery Filter */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid #e5e7eb;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 67, 50, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .split-layout, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    gap: 1.25rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

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

  .hero {
    min-height: 70vh;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .stat-group {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
