/* ============================================
   BRN Construction & Windows - Main Stylesheet
   Mobile-First Responsive Design
   ============================================ */

/* CSS Variables */
:root {
  --primary: #1b2a4a;
  --primary-dark: #111d36;
  --primary-light: #2c4170;
  --secondary: #f28c28;
  --secondary-dark: #d97716;
  --dark: #1a1a2e;
  --gray-900: #2d2d44;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #ccc;
  --gray-200: #e8e8e8;
  --gray-100: #f4f6f8;
  --white: #ffffff;
  --success: #27ae60;
  --danger: #e74c3c;
  --warning: #f39c12;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 80px 0; }
.section-gray { background: var(--gray-100); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.section-title p {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 15px auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  line-height: 1.5;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26,82,118,0.3);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 35px; font-size: 1.1rem; }

/* ====== HEADER / NAVIGATION ====== */
.top-bar {
  background: var(--dark);
  color: var(--gray-300);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-left a,
.top-bar-right a {
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-bar-left a:hover,
.top-bar-right a:hover { color: var(--secondary); }
.top-bar-right {
  display: flex;
  gap: 12px;
}
.top-bar-right a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.top-bar-right a:hover {
  background: var(--secondary);
  color: var(--white);
}

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  max-height: 55px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-menu li { position: relative; }
.nav-menu a {
  display: block;
  padding: 10px 15px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--gray-100);
}
.nav-menu .has-dropdown > a::after {
  content: '▾';
  margin-left: 5px;
  font-size: 0.7rem;
}
.nav-menu .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  padding: 8px 0;
}
.nav-menu .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .dropdown a {
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 0;
}
.nav-menu .dropdown a:hover {
  background: var(--gray-100);
  color: var(--primary);
}
.nav-menu .btn-cta {
  background: var(--secondary);
  color: var(--white) !important;
  border-radius: 25px;
  padding: 10px 22px;
}
.nav-menu .btn-cta:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  padding: 5px;
}

/* ====== HERO ====== */
.hero {
  background: linear-gradient(135deg, rgba(27,42,74,0.92), rgba(17,29,54,0.95)),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 30px;
  opacity: 0.9;
}
.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.hero-feature {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 25px 15px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-feature i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
.hero-feature h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 5px;
}
.hero-feature p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

/* ====== SERVICE CARDS ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-img .placeholder-icon {
  font-size: 3rem;
  color: var(--gray-300);
}
.service-card-body {
  padding: 25px;
}
.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-card-body h3 a {
  color: var(--dark);
}
.service-card-body h3 a:hover { color: var(--primary); }
.service-card-body p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.service-card-body .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-card-body .read-more:hover {
  color: var(--secondary);
  gap: 10px;
}

/* ====== SERVICE DETAIL ====== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 50px 0 40px;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0.9;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.6; }

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  padding: 60px 0;
}
.service-main img {
  border-radius: var(--radius-lg);
  margin-bottom: 25px;
  width: 100%;
}
.service-main h2 { color: var(--primary); margin-top: 25px; }
.service-main h3 { color: var(--primary-dark); margin-top: 20px; }
.service-main p { font-size: 1.05rem; }
.service-main ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}
.service-main ul li {
  list-style: disc;
  margin-bottom: 5px;
}

.service-sidebar .sidebar-widget {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 25px;
}
.sidebar-widget h3 {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.sidebar-service-list a {
  display: block;
  padding: 10px 15px;
  color: var(--gray-700);
  border-radius: var(--radius);
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.sidebar-service-list a:hover,
.sidebar-service-list a.active {
  background: var(--primary);
  color: var(--white);
}
.sidebar-cta {
  background: var(--primary) !important;
  color: var(--white);
  text-align: center;
}
.sidebar-cta h3 { color: var(--white); border-color: var(--secondary); }
.sidebar-cta p { color: rgba(255,255,255,0.9); }
.sidebar-cta .btn { margin-top: 10px; }

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,82,118,0);
  transition: var(--transition);
}
.gallery-item:hover::after {
  background: rgba(26,82,118,0.3);
}
.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.service-gallery img {
  border-radius: var(--radius);
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition);
}
.service-gallery img:hover {
  opacity: 0.8;
}

/* ====== WHY CHOOSE US ====== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-us-card {
  text-align: center;
  padding: 35px 25px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.why-us-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-us-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}
.why-us-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-us-card p { color: var(--gray-500); font-size: 0.95rem; margin: 0; }

/* ====== CTA SECTION ====== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto 25px; }

/* ====== CONTACT / QUOTE FORMS ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
}
.contact-info-card i {
  font-size: 1.5rem;
  color: var(--primary);
  min-width: 40px;
  height: 40px;
  background: rgba(26,82,118,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 3px; }
.contact-info-card p { margin: 0; color: var(--gray-500); font-size: 0.95rem; }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 20px;
  height: 250px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: var(--transition);
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Alerts */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ====== BLOG ====== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--gray-200);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body { padding: 20px; }
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  display: flex;
  gap: 15px;
}
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card-body h3 a { color: var(--dark); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.blog-detail-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  padding: 60px 0;
}
.blog-main .post-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 25px;
}
.blog-main .post-content { font-size: 1.05rem; }
.blog-main .post-content img {
  border-radius: var(--radius);
  margin: 20px 0;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 60px 0 0;
  border-top: 3px solid var(--secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary);
}
.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--gray-700);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer-contact i {
  color: var(--secondary);
  min-width: 20px;
  margin-top: 3px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}
.footer-social a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  background: var(--primary);
  color: var(--white);
}

/* ====== WHATSAPP BUTTON ====== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
}

/* ====== SCROLL TO TOP ====== */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 998;
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ====== LIGHTBOX ====== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-size: 0.9rem;
}
.pagination a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-content,
  .blog-detail-content { grid-template-columns: 1fr; }
  .service-sidebar { order: -1; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header .container { padding-top: 8px; padding-bottom: 8px; }
  .logo img { max-height: 42px; }
  .mobile-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }
  .nav-menu.active { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { padding: 12px 15px; }
  .nav-menu .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 15px;
    display: none;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin: 5px 0;
  }
  .nav-menu .has-dropdown.open .dropdown { display: block; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-feature { padding: 15px 10px; }
  .section { padding: 50px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-gallery { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.8rem; }
  .why-us-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-features { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Page Content Styles */
.page-content h2 { color: var(--primary); margin-top: 30px; }
.page-content h3 { color: var(--primary-dark); margin-top: 20px; }
.page-content p { font-size: 1.05rem; }
.page-content img {
  border-radius: var(--radius);
  margin: 15px 0;
}
.page-content ul, .page-content ol {
  padding-left: 25px;
  margin-bottom: 15px;
}
.page-content ul li { list-style: disc; margin-bottom: 5px; }
.page-content ol li { list-style: decimal; margin-bottom: 5px; }

/* Loading State */
.loading {
  display: flex;
  justify-content: center;
  padding: 40px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }