/* ==========================================================================
   SG SOLO GEOMEMBRANA - Custom Stylesheet
   ========================================================================== */

/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  /* Colors */
  --primary: #053708;        /* Dark Green */
  --primary-light: #0d5c12;  /* Lighter Forest Green */
  --primary-dark: #021a03;   /* Very Deep Green */
  --secondary: #6B3800;      /* Rich Amber/Brown */
  --secondary-light: #944e00;/* Lighter Brown */
  --secondary-dark: #422300; /* Darker Brown */
  --white: #ffffff;
  --bg-light: #ffffff;
  --bg-offset: #f5f8f5;      /* Off-white with a hint of green */
  --bg-dark: #0b1a0c;        /* Deep green-black for footer */
  --text-main: #1a251b;      /* Dark green-tinted charcoal */
  --text-muted: #556656;     /* Medium muted green-gray */
  --accent-green-alpha: rgba(5, 55, 8, 0.08);
  --accent-brown-alpha: rgba(107, 56, 0, 0.08);
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(5, 55, 8, 0.1), 0 10px 10px -5px rgba(5, 55, 8, 0.04);
  --shadow-card-flip: 0 15px 35px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

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

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

button, input, textarea {
  font-family: inherit;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-offset);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-offset);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 55, 8, 0.06);
  padding: 12px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  position: relative;
  padding: 8px 0;
}

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

.nav-link:hover {
  color: var(--secondary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5, 55, 8, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 55, 8, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(107, 56, 0, 0.25);
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at 90% 10%, rgba(107, 56, 0, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(5, 55, 8, 0.03) 0%, transparent 50%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 55, 8, 0.02) 0%, rgba(107, 56, 0, 0.01) 100%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-green-alpha);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(5, 55, 8, 0.15);
  animation: pulse-soft 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span.accent {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.hero-title span.accent::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(107, 56, 0, 0.15);
  z-index: -1;
  border-radius: 4px;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(5, 55, 8, 0.1);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Media Showcase */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3; /* Landscape aspect ratio fits photos better */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  transform: rotate(-2deg);
  transition: var(--transition-normal);
  cursor: pointer;
}

.hero-media-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 30px 50px rgba(5, 55, 8, 0.25);
}

.hero-image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-carousel img.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  background: rgba(5, 55, 8, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background-color: var(--white);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.media-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(5, 55, 8, 0.1);
  z-index: 10;
}

.media-badge-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.media-badge-text h4 {
  font-size: 0.9rem;
  margin: 0;
}

.media-badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Decorative SVG shapes */
.shape-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: var(--accent-green-alpha);
  border-radius: 50%;
  filter: blur(50px);
  z-index: -2;
}

.shape-blob-1 {
  top: 10%;
  right: 10%;
  background-color: var(--accent-brown-alpha);
}

.shape-blob-2 {
  bottom: 10%;
  left: 5%;
}

/* --- Section Global Layouts --- */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary-dark);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* --- Interactive Card Flip Section (Business Card) --- */
.card-flip-section {
  background: radial-gradient(circle at 0% 0%, var(--bg-offset) 0%, var(--white) 100%);
}

.flip-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.card-container {
  perspective: 1500px;
  width: 100%;
  max-width: 520px;
  height: 420px; /* Increased height to prevent content overflow/clipping */
  margin: 0 auto;
}

.business-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.business-card.flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 24px; /* Reduced from 30px to fit all content cleanly */
  box-shadow: var(--shadow-card-flip);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(5, 55, 8, 0.08);
}

/* Card Front: White / Green accent */
.card-front {
  background: linear-gradient(135deg, var(--white) 65%, var(--bg-offset) 100%);
  color: var(--text-main);
}

.card-front::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.card-logo {
  display: flex;
  flex-direction: column;
}

.card-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.card-logo-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  margin-top: 4px;
}

.card-qr {
  width: 75px;
  height: 75px;
  background-color: var(--white);
  padding: 4px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  margin: 15px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 15px;
}

.card-contact-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-info-item i, .card-info-item svg {
  color: var(--primary);
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.card-info-item strong {
  color: var(--primary-dark);
}

.card-address {
  grid-column: span 2;
  border-top: 1px dashed rgba(5, 55, 8, 0.1);
  padding-top: 10px;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Card Back: Green background */
.card-back {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.card-back-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(var(--white) 1px, transparent 1px), radial-gradient(var(--white) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
}

.card-back-logo {
  height: 50px; /* Force consistent size for business logo */
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.card-slogan {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  max-width: 360px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.card-slogan span.highlight {
  color: #d4af37; /* Gold color */
  font-weight: 700;
}

.card-instructions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.card-instructions i {
  animation: bounce-horizontal 1.5s infinite;
}

/* --- Features / Services Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(5, 55, 8, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-green-alpha) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 55, 8, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--accent-green-alpha);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.feature-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Specific styling for the Callout block */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(107, 56, 0, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.cta-banner-text {
  max-width: 650px;
}

.cta-banner-text h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
}

/* --- Project Gallery Section --- */
.gallery-filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid rgba(5, 55, 8, 0.1);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-offset);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 55, 8, 0.9) 0%, rgba(5, 55, 8, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

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

.gallery-info h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 26, 3, 0.95);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.lightbox-content img {
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2001;
}

.lightbox-close:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: rotate(90deg);
}

/* --- Contact & Info Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid rgba(5, 55, 8, 0.05);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-normal);
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 55, 8, 0.1);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-green-alpha);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.contact-card:hover .contact-icon {
  background-color: var(--primary);
  color: var(--white);
}

.contact-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.contact-card-value {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  word-break: break-all;
}

.contact-card.full-width {
  grid-column: span 2;
}

/* Contact Form / Interactive QR Area */
.contact-visual-panel {
  background: linear-gradient(135deg, var(--bg-offset) 0%, rgba(5, 55, 8, 0.02) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(5, 55, 8, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.contact-visual-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--secondary);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.contact-panel-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-panel-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.qr-box-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(5, 55, 8, 0.05);
}

.qr-box-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: var(--radius-sm);
}

.qr-box-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-box-info h4 {
  font-size: 1.1rem;
  color: var(--primary);
}

.qr-box-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid rgba(5, 55, 8, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  border-color: transparent;
}

/* --- Map/Location Section --- */
.map-section {
  padding: 0 0 100px 0;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  height: 400px;
  background-color: var(--bg-offset);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  color: var(--white);
  font-size: 2rem;
  z-index: 1500;
  transition: var(--transition-normal);
  cursor: pointer;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: pulse-ring 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-about-logo {
  height: 65px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '→';
  font-size: 0.8rem;
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-contact-item i, .footer-contact-item svg {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Animation Classes (Intersection Observer) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* --- Keyframe Animations --- */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(5, 55, 8, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 10px 4px rgba(5, 55, 8, 0.1);
  }
}

@keyframes bounce-horizontal {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero::before {
    display: none;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    width: 100%;
    max-width: 600px;
  }
  
  .hero-media-wrapper {
    transform: rotate(0deg);
  }
  
  .flip-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition-normal);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .navbar .btn {
    display: none; /* Hide nav button on small mobiles to save space, or let it slide in */
  }
  
  .navbar.scrolled .nav-logo img {
    height: 40px;
  }
  
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-media-wrapper {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  
  .card-container {
    height: 340px;
    aspect-ratio: auto;
  }
  
  .card-face {
    padding: 20px;
  }
  
  .card-logo-img {
    height: 36px;
  }
  
  .card-qr {
    width: 60px;
    height: 60px;
  }
  
  .card-body {
    margin: 10px 0;
    gap: 10px;
  }
  
  .card-info-item {
    font-size: 0.7rem;
  }
  
  .card-address {
    font-size: 0.65rem;
    padding-top: 8px;
  }
  
  .card-slogan {
    font-size: 1rem;
  }
  
  .cta-banner {
    padding: 40px 24px;
  }
  
  .cta-banner-text h3 {
    font-size: 1.6rem;
  }
  
  .cta-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .cta-banner-actions .btn {
    width: 100%;
  }
  
  .contact-info-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-card.full-width {
    grid-column: span 1;
  }
  
  .contact-visual-panel {
    padding: 30px 20px;
  }
  
  .qr-box-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .stat-item {
    padding: 12px;
    background-color: rgba(5, 55, 8, 0.02);
    border-radius: var(--radius-sm);
  }
  
  .card-container {
    height: 380px;
    aspect-ratio: auto;
  }
  
  .card-body {
    grid-template-columns: 1fr;
  }
  
  .card-address {
    grid-column: span 1;
  }
  
  .card-qr {
    display: none; /* Hide qr code inside the credit card on super tiny screens to avoid overlaps */
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
  }

  .carousel-dots {
    bottom: 100px;
  }
}
