/* ==========================================================================
   Times Group - Full Width Responsive Layout
   Matches React / Production Layout Exactly
   ========================================================================== */

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

:root {
  --primary-color: #1d3c28;
  --primary-hover: #152e1e;
  --primary-glow: rgba(29, 60, 40, 0.25);
  --text-dark: #030712;
  --text-muted: #6b7280;
  --star-color: #f59e0b;
  --font-serif: 'Playfair Display', Georgia, Cambria, "Times New Roman", serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page wrapper spans 100% of the screen */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ==========================================================================
   1. FULL-WIDTH TOP BANNER (Spans 100% across desktop and mobile)
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 208px; /* h-52 */
  background-color: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-banner {
    height: 256px; /* sm:h-64 */
  }
}

@media (min-width: 768px) {
  .hero-banner {
    height: 288px; /* md:h-72 */
  }
}

@media (min-width: 1024px) {
  .hero-banner {
    height: 320px; /* lg:h-80 */
  }
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(150%) brightness(95%);
  opacity: 0.8;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
}

/* ==========================================================================
   2. OVERLAPPING CENTRAL CIRCULAR LOGO BADGE
   ========================================================================== */
.logo-badge-wrapper {
  position: relative;
  margin-top: -64px; /* -mt-16 */
  display: flex;
  justify-content: center;
  z-index: 10;
}

@media (min-width: 640px) {
  .logo-badge-wrapper {
    margin-top: -80px; /* sm:-mt-20 */
  }
}

.logo-badge {
  width: 128px;  /* w-32 */
  height: 128px; /* h-32 */
  border-radius: 50%;
  background-color: #ffffff;
  border: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

@media (min-width: 640px) {
  .logo-badge {
    width: 160px;  /* sm:w-40 */
    height: 160px; /* sm:h-40 */
    border-width: 5px;
  }
}

.logo-badge:hover {
  transform: scale(1.05);
}

.logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 4px;
}

.logo-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   3. MAIN IDENTITY CONTENT (Max-width 576px, centered)
   ========================================================================== */
.identity-content {
  width: 100%;
  max-width: 576px; /* max-w-xl */
  padding: 16px 16px 32px; /* px-4 sm:px-6 pt-4 pb-8 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .identity-content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Slogan */
.slogan {
  font-family: var(--font-serif);
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  color: #030712;
  letter-spacing: -0.025em;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 20px;
  line-height: 1.25;
  direction: ltr;
}

@media (min-width: 640px) {
  .slogan {
    font-size: 1.875rem; /* sm:text-3xl */
  }
}

/* Social Buttons Row (Facebook, Instagram, LinkedIn, Globe, WhatsApp) */
.social-icons-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px; /* gap-3 */
  padding: 8px 0;
  direction: ltr;
}

@media (min-width: 640px) {
  .social-icons-row {
    gap: 16px; /* sm:gap-4 */
  }
}

.social-btn {
  width: 48px;  /* w-12 */
  height: 48px; /* h-12 */
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
}

/* Contact Info (Phone & Email) */
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: 1rem;
  direction: ltr;
}

@media (min-width: 640px) {
  .contact-details {
    align-items: center;
    font-size: 1.125rem; /* sm:text-lg */
  }
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link svg {
  width: 24px;
  height: 24px;
  color: #111827;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.contact-link:hover,
.contact-link:hover svg {
  color: var(--primary-color);
}

.contact-text {
  letter-spacing: 0.025em;
  font-weight: 500;
  direction: ltr;
}

/* Save Contact Button */
.save-contact-btn {
  margin-top: 4px;
  margin-bottom: 8px;
  width: 100%;
  min-width: 260px;
  max-width: 280px;
  padding: 14px 24px;
  border-radius: 16px; /* rounded-2xl */
  background-color: var(--primary-color);
  border: 1px solid rgba(29, 60, 40, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: all 0.2s ease;
  outline: none;
  text-decoration: none;
}

@media (min-width: 640px) {
  .save-contact-btn {
    width: auto;
  }
}

.save-contact-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 22px rgba(29, 60, 40, 0.35);
  transform: scale(1.03);
}

.save-contact-btn:active {
  transform: scale(0.97);
}

.save-contact-btn svg {
  width: 20px;
  height: 20px;
  color: #6ee7b7; /* emerald-300 */
  transition: transform 0.2s ease;
}

.save-contact-btn:hover svg {
  transform: scale(1.1);
}

.save-contact-btn span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.025em;
  color: #ffffff;
}

.save-contact-btn.saved {
  background-color: #152e1e;
}

.save-contact-btn.saved svg {
  color: #34d399; /* emerald-400 */
}

/* ==========================================================================
   4. FULL-WIDTH LIVE INTERACTIVE GOOGLE MAP (Spans 100% of the screen)
   ========================================================================== */
.map-section {
  position: relative;
  width: 100%;
  height: 288px; /* h-72 */
  background-color: #f1f5f9;
  border-top: 1px solid #e5e7eb;
  overflow: hidden;
}

@media (min-width: 640px) {
  .map-section {
    height: 320px; /* sm:h-80 */
  }
}

@media (min-width: 768px) {
  .map-section {
    height: 384px; /* md:h-96 */
  }
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.open-maps-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #ffffff;
  color: #1a73e8;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  z-index: 10;
}

@media (min-width: 640px) {
  .open-maps-btn {
    left: 24px;
    font-size: 0.875rem;
  }
}

.open-maps-btn:hover {
  background-color: #f9fafb;
  color: #1557b0;
}

.open-maps-btn svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   5. GOOGLE REVIEW / RATING SECTION (Max-width 576px, centered)
   ========================================================================== */
.review-container {
  width: 100%;
  max-width: 576px;
  padding: 32px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .review-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.google-review-card {
  width: 100%;
  min-width: 320px;
  max-width: 380px;
  background-color: #ffffff;
  border: 2px solid rgba(29, 60, 40, 0.25);
  border-radius: 16px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

@media (min-width: 640px) {
  .google-review-card {
    width: auto;
  }
}

.google-review-card:hover {
  background-color: #f9fafb;
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px rgba(0, 168, 89, 0.18);
  transform: scale(1.03);
}

.google-review-card:active {
  transform: scale(0.98);
}

.google-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.review-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.review-headline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: #030712;
  transition: color 0.2s ease;
}

@media (min-width: 640px) {
  .review-title {
    font-size: 1.125rem;
  }
}

.google-review-card:hover .review-title {
  color: var(--primary-color);
}

.star-rating {
  color: var(--star-color);
  font-size: 0.875rem;
  font-weight: 700;
}

.review-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  letter-spacing: 0.025em;
  margin-top: 2px;
}

.review-arrow-icon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.google-review-card:hover .review-arrow-icon {
  color: var(--primary-color);
}
