/* Professional & Sleek Design System */
:root {
  --color-bg-default: #f8f9fa;
  --color-bg-secondary: #ffffff;
  --color-bg-header: rgba(33, 37, 41, 0.9);
  --color-border-default: #dee2e6;
  --color-fg-default: #212529;
  --color-fg-muted: #6c757d;
  --color-accent-primary: #0d6efd;
  --color-accent-primary-hover: #0b5ed7;
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.07);
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  color: var(--color-fg-default);
  background-color: var(--color-bg-default);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  background: var(--color-bg-header);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  z-index: 1030;
}

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

.header-logo {
  max-height: 40px;
  object-fit: contain;
  transition: var(--transition);
}

.header-logo:hover {
  opacity: 0.8;
}

/* Banner */
.banner {
  position: relative;
  margin-top: 68px; /* Adjust based on final header height */
  overflow: hidden;
  background-color: #343a40;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.banner-content {
  position: relative;
  padding: 32px;
  max-width: 800px;
  text-align: center;
  color: white;
}

.banner h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.banner-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

/* Region Selector Section */
.region-selector {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-large);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-fg-default);
}

.section-description {
  text-align: center;
  color: var(--color-fg-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Dropdown */
.dropdown-select {
  width: 100%;
  max-width: 450px;
  height: 50px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  padding: 0 16px;
  color: var(--color-fg-default);
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.dropdown-select:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Region Grid & Cards */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.region-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-medium);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.region-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-accent-primary);
  text-decoration: none;
  color: inherit;
}

.region-card.coming-soon {
  opacity: 0.8;
  cursor: not-allowed;
}

.region-card.coming-soon:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
  border-color: var(--color-border-default);
}

.region-thumbnail-container {
  position: relative;
  width: 100%;
  height: 180px;
  background-color: #e9ecef;
}

.region-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*opacity: 0; */
  transition: opacity 0.5s ease;
}

.thumbnail-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-fg-muted);
}

.fallback-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.fallback-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.region-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.region-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-fg-default);
}

.region-description {
  color: var(--color-fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.view-btn {
  background: var(--color-accent-primary);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-small);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  text-decoration: none;
  align-self: flex-start;
}

.view-btn:hover {
  background: var(--color-accent-primary-hover);
  color: white;
}

.coming-soon-btn {
  background: #6c757d;
  cursor: not-allowed;
}

.coming-soon-btn:hover {
  background: #5c636a;
}

/* Footer */
footer a {
  color: var(--color-accent-primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .banner h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .banner {
    height: auto;
    padding: 4rem 0;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .logo-container {
    gap: 8px;
  }

  .header-logo {
    max-height: 30px;
  }

  .region-selector {
    padding: 24px;
  }

  .region-grid {
    grid-template-columns: 1fr;
  }
}
