:root {
  --primary-color: #1e3a8a; /* Navy Blue */
  --primary-light: #3b82f6;
  --secondary-color: #f59e0b; /* Amber/Orange for CTAs */
  --text-dark: #1f2937;
  --text-gray: #4b5563;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --bg-dark: #111827;
  --max-width: 1200px;
  --header-height: 70px;
}

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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--primary-color); }
h3 { font-size: 1.5rem; }

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* Buttons */
.btn-primary, .btn-primary-large {
  background-color: var(--secondary-color);
  color: white;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover, .btn-primary-large:hover {
  background-color: #d97706;
}

.btn-secondary-large {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

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

.btn-primary {
  padding: 0.5rem 1rem;
}

.btn-primary-large, .btn-secondary-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0;
}

.desktop-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.desktop-nav button {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
}

.desktop-nav button:hover {
  color: var(--primary-light);
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateY(-150%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav button {
  text-align: left;
  font-size: 1.1rem;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.6)), url('https://images.unsplash.com/photo-1558002038-109177381792?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.features-pill-list {
  display: flex;
  gap: 15px;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

/* Sections General */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
}

.service-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.service-card ul li svg {
  color: var(--secondary-color);
}

/* Gallery Section */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tabs button {
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s;
}

.gallery-tabs button:hover, .gallery-tabs button.active {
  background-color: var(--primary-color);
  color: white;
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  background-color: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s;
  display: flex;
  align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(220, 38, 38, 0.9);
  color: white;
  padding: 8px;
  border-radius: 50%;
  display: none;
}

.gallery-item:hover .delete-btn {
  display: block;
}

.empty-state {
  text-align: center;
  padding: 60px;
  color: #9ca3af;
  background: var(--bg-light);
  border-radius: 8px;
}

/* About Section */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

.about-details {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid #e5e7eb;
}

.detail-row {
  margin-bottom: 10px;
}

.about-image-placeholder {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.abstract-graphic {
  text-align: center;
}

.abstract-graphic h4 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

/* Reviews Section */
.google-rating-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.stars-row {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.review-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}

.review-card-link:hover {
  transform: translateY(-5px);
}

.review-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #f3f4f6;
  height: 100%;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.review-card-link:hover .review-card {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #e5e7eb;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.reviewer-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.review-service-tag {
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

.google-icon-box {
  width: 24px;
  height: 24px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4285F4;
  font-weight: bold;
  font-family: 'Product Sans', sans-serif;
  font-size: 14px;
  flex-shrink: 0;
}

.review-stars {
  margin-bottom: 15px;
  display: flex;
  gap: 2px;
}

.review-text {
  color: var(--text-gray);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: auto;
}

.reviews-cta {
  text-align: center;
  padding: 40px;
  background: var(--bg-light);
  border-radius: 8px;
}

.reviews-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: #333;
  padding: 12px 25px;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn-google:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: #ccc;
}

.google-g {
  font-family: 'Product Sans', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #4285F4;
}

/* Contact Section */
.bg-dark {
  background-color: var(--bg-dark);
}

.text-white {
  color: white;
}

.text-gray-300 {
  color: #d1d5db;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
}

.contact-info-card h3 {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.info-icon {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.info-item label {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 2px;
}

.info-item a, .info-item p {
  color: white;
  font-size: 1.1rem;
}

.map-container {
  margin-top: 25px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.contact-cta {
  background: var(--primary-color);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-cta h3 {
  margin-bottom: 10px;
}

.contact-cta p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.full-width {
  width: 100%;
  max-width: 300px;
}

.service-areas-list {
  margin-top: 40px;
  text-align: left;
  width: 100%;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.service-areas-list h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  background-color: rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-col button, .footer-col a {
  display: block;
  color: #94a3b8;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  font-size: 1rem;
}

.footer-col button:hover, .footer-col a:hover {
  color: white;
}

.admin-link {
  color: var(--primary-light) !important;
  font-size: 0.9rem;
}

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

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.modal-body {
  padding: 20px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-form input {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
}

/* Upload Interface */
.upload-interface {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group select, .form-group input[type="text"] {
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

.file-drop-zone {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-gray);
}

.file-drop-zone:hover {
  border-color: var(--primary-color);
  background-color: #eff6ff;
  color: var(--primary-color);
}

.admin-stats {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-gray);
  text-align: center;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .top-bar-content {
    justify-content: center;
    font-size: 0.8rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }
}