/* CSS Reset & Variables for MadjuDjaja Group */
:root {
  /* Flutter Colors */
  --bg-color: #1A0F09; /* _kEspresso */
  --bg-surface: #2C1810; /* _kEspressoMid */
  --bg-surface-light: #3D2010; /* _kEspressoLight */
  --accent-color: #C9A84C; /* _kGold */
  --accent-light: #E4C875; /* _kGoldLight */
  
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border-color: rgba(201, 168, 76, 0.2); /* Gold with opacity */
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

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

.mt-12 {
  margin-top: 48px;
}

/* Skeleton Shimmer Loading */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: #2C1810;
  background-image: linear-gradient(90deg, #2C1810 0px, #3D2010 50%, #2C1810 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 4px;
}

.skeleton-text {
  height: 16px;
  width: 100%;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: 16px;
}

.skeleton-img {
  width: 100%;
  height: 200px;
  border-radius: 8px 8px 0 0;
}

.skeleton-btn {
  height: 40px;
  width: 100%;
  margin-top: 16px;
  border-radius: 3px;
}

/* Theme Utilities for Zebra Pattern */
.bg-brown {
  background-color: #3D2010; /* Coklat Tua / Dark Brown */
  color: #FFFFFF;
}

.bg-cream {
  background-color: #F9F4EF;
  color: var(--bg-color);
}

.text-dark {
  color: var(--bg-color) !important;
}

.text-dark-sec {
  color: var(--bg-surface-light) !important;
}

.dark-accent {
  border-color: var(--bg-surface) !important;
  color: var(--bg-surface) !important;
}

.badge-accent {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-color);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  height: 2px;
  width: 60px;
  background-color: var(--accent-color);
  margin-bottom: 24px;
}

.divider.center {
  margin: 0 auto 24px auto;
}

/* Buttons */
.btn-primary, .btn-primary-outline {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #1A0F09;
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 168, 76, 0.2);
}

.btn-primary-outline {
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-primary-outline:hover {
  background-color: var(--accent-color);
  color: #1A0F09;
}

.btn-branch-action {
  display: inline-block;
  width: 100%;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 8px;
  color: var(--bg-color);
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-branch-action:hover {
  background-color: rgba(201, 168, 76, 0.1);
  border-color: var(--accent-color);
}

/* Branch Detail Modal */
  .branch-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85); /* Darker overlay */
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .branch-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  .branch-modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), 0 0 30px rgba(201, 168, 76, 0.1);
  }
  .branch-modal-overlay.active .branch-modal-box {
    transform: scale(1) translateY(0);
  }
  
  .branch-modal-header {
    padding: 24px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
  }
  .branch-modal-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 28px;
    transition: color 0.2s;
  }
  .branch-modal-close:hover {
    color: var(--accent-color);
  }
  .branch-modal-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 12px;
    padding-right: 40px;
    letter-spacing: 1px;
  }
  .branch-modal-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-family: var(--font-sans);
  }
  .branch-modal-info .material-icons-outlined {
    font-size: 18px;
    color: var(--accent-light);
  }
  
  .branch-modal-tabs {
    display: flex;
    background: var(--bg-surface-light);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .branch-modal-tab {
    flex: 1;
    text-align: center;
    padding: 16px 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
  }
  .branch-modal-tab:hover {
    color: var(--text-primary);
    background: rgba(201, 168, 76, 0.05);
  }
  .branch-modal-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: rgba(201, 168, 76, 0.1);
  }
  
  .branch-modal-body {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-surface);
    padding: 24px;
    position: relative;
  }
  .branch-modal-content {
    display: none;
    height: 100%;
  }
  .branch-modal-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  .branch-modal-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }
  
  .branch-modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .branch-modal-gallery-grid .branch-modal-img {
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 0 !important;
  }
  @media (max-width: 768px) {
    .branch-modal-gallery-grid {
      grid-template-columns: 1fr;
    }
    .branch-modal-gallery-grid .branch-modal-img {
      aspect-ratio: 16 / 9;
    }
  }

  .branch-modal-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .branch-modal-menu-grid .branch-modal-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0 !important;
  }
  @media (max-width: 768px) {
    .branch-modal-menu-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .branch-modal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    text-align: center;
    gap: 16px;
  }
  .branch-modal-empty .material-icons-outlined {
    font-size: 54px;
    color: var(--border-color);
  }
  .branch-modal-empty h3 {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 4px;
  }
  .branch-modal-empty p {
    font-size: 0.95rem;
  }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(26, 15, 9, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg-surface);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transform: scale(2.4) translateY(3px);
  transform-origin: left center;
  margin-left: -16px;
}

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

.nav-links a:not(.btn-primary-outline) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:not(.btn-primary-outline):hover {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.4s ease-in-out;
}

.mobile-menu.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-menu a {
  font-size: 1.1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  overflow: hidden;
  background-color: var(--bg-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26,15,9,0.8) 0%, rgba(26,15,9,0.53) 40%, rgba(26,15,9,0.87) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 2;
}

.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 3;
}

.hero .badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(201, 168, 76, 0.6);
  border-radius: 3px;
  font-size: 0.7rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--accent-color);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-description {
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
}

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

.about-text-1 {
  color: #FFFFFF;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

.about-text-2 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-image-grid {
  position: relative;
  height: 500px;
}

.img-box {
  position: absolute;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.img-1 {
  top: 0;
  right: 0;
  width: 80%;
  height: 70%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.img-2 {
  bottom: 0;
  left: 0;
  width: 60%;
  height: 50%;
  background-color: var(--bg-surface-light);
  border: 1px solid var(--accent-color);
}

.glass-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(44, 24, 16, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--accent-color);
  padding: 24px;
  border-radius: 4px;
  text-align: center;
}

.glass-card h3 {
  color: var(--accent-light);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

/* Branches Section */
.branches {
  /* Inherits bg-cream from utility class */
}

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

.branch-card {
  background: #ffffff;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

.branch-card:hover {
  transform: translateY(-15px);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 20px rgba(201, 168, 76, 0.1);
}

.branch-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #F9F4EF, #ffffff);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.4s ease;
}

.branch-card:hover .card-icon {
  transform: rotateY(180deg);
}

.card-icon .material-icons-outlined {
  font-size: 36px;
  transition: transform 0.4s ease;
}

.branch-card:hover .card-icon .material-icons-outlined {
  transform: rotateY(-180deg);
}

.branch-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--bg-color);
}

.branch-type {
  color: var(--accent-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 600;
}

.branch-address {
  color: var(--bg-surface-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Gallery Section */
.gallery {
  /* Inherits bg-brown from utility class */
  position: relative;
  overflow: hidden;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(26,15,9,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.gallery-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  scroll-snap-type: x mandatory;
}

.gallery-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.gallery-track {
  display: inline-flex;
  gap: 24px;
  padding: 0 5vw; /* Padding on edges so items don't stick to screen edge */
}

.gallery-item {
  position: relative;
  width: 320px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(201, 168, 76, 0.15);
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(26,15,9,0.95), transparent);
  color: white;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 992px) {
  .gallery-item {
    width: 400px;
    height: 500px;
  }
}

/* Careers Section */
.careers {
  background: var(--bg-color);
}

/* Location Section */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loc-card {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: #fdfaf7;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.loc-card.active, .loc-card:hover {
  background: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transform: translateX(10px);
}

.loc-icon {
  margin-right: 16px;
  color: var(--accent-color);
  background: var(--bg-surface);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-icon .material-icons-outlined {
  font-size: 20px;
}

.loc-info h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--bg-color);
  margin-bottom: 4px;
}

.loc-info p {
  font-size: 0.9rem;
  color: var(--bg-surface-light);
  line-height: 1.4;
}

.map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  height: 500px;
}

#map {
  width: 100%;
  height: 100%;
  background: #111;
  z-index: 1;
}

.map-overlay-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 15, 9, 0.9);
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  z-index: 400; /* Leaflet uses high z-indices */
}

.map-overlay-badge .material-icons-outlined {
  color: var(--accent-color);
  font-size: 18px;
}

/* Custom Marker Styling */
.custom-map-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.custom-map-marker .marker-label {
  background: var(--bg-color);
  border: 1px solid var(--accent-color);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  margin-bottom: 4px;
}

.custom-map-marker .material-icons-outlined {
  color: var(--accent-color);
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .map-container {
    height: 400px;
    margin-top: 20px;
  }
  .loc-card.active, .loc-card:hover {
    transform: none;
  }
}

/* Career Section */
.career-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.job-card {
  width: 340px;
  background: var(--bg-color); /* #1A0F09 */
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 24px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: rgba(201, 168, 76, 0.4);
}

.job-dept {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(201, 168, 76, 0.15);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.job-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.job-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-apply {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--accent-color);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-apply:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--accent-color);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Footer */
.footer {
  /* Inherits bg-brown */
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-contact p, .footer-social a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-social a:hover {
  color: var(--accent-color);
}

.footer-contact .material-icons-outlined, .footer-social .material-icons-outlined {
  color: var(--accent-color);
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .layout-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-grid { height: 400px; margin-top: 40px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.8rem; }
  .hero-description { font-size: 1.1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}
