/* ============================================================
   ASIA MALL — style.css
   Design: dark-gold luxury e-commerce portal
   Fonts: Cinzel (display) + Raleway (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-bright: #F5D978;
  --gold-dark:   #8B6914;
  --gold-deep:   #5C4508;
  --charcoal:    #1a1a1a;
  --dark:        #0e0e0e;
  --mid-dark:    #2a2a2a;
  --page-bg:     #e8e4dd;
  --card-bg:     #ffffff;
  --text-body:   #444444;
  --text-light:  #888888;
  --border:      #d5cfc4;
  --nav-divider: #cccccc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--page-bg);
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

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

img { display: block; max-width: 100%; }

ul { list-style: none; }

/* ── TOP BAR ── */
.top-bar {
  background-color: #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #999;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  border-radius: 3px;
  transition: color 0.2s ease, background 0.2s ease;
  font-family: 'Raleway', sans-serif;
}

.social-icons a:hover {
  color: var(--gold);
}

/* individual icon styles */
.icon-linkedin { font-family: Georgia, serif; font-size: 14px; }
.icon-twitter  { font-size: 15px; }
.icon-facebook { font-family: Georgia, serif; font-size: 15px; }
.icon-rss      { font-size: 16px; }

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.globe-icon {
  font-size: 18px;
  opacity: 0.7;
  cursor: pointer;
}

.lang-flag {
  width: 28px;
  height: 19px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}

.lang-flag:hover {
  opacity: 1;
  transform: scale(1.08);
}

.dropdown-arrow {
  color: #888;
  font-size: 10px;
  cursor: pointer;
}

/* ── HERO BANNER — see override block at bottom of file ── */

/* ── MAIN NAV ── */
.main-nav {
  background-color: #ffffff;
  border-bottom: 2px solid #ddd8d0;
  border-top: 1px solid #e8e4dc;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.main-nav ul li {
  border-right: 1px solid var(--nav-divider);
}

.main-nav ul li:first-child {
  border-left: 1px solid var(--nav-divider);
}

.main-nav ul li a {
  display: block;
  padding: 16px 22px;
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #333333;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav ul li a:hover {
  color: var(--gold-dark);
  background-color: #fdf9f2;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  transform: scaleX(1);
}

.main-nav ul li a.active {
  color: var(--gold-dark);
}

/* ── CONTENT CONTAINER ── */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

/* ── SECTION TITLE ── */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px 0 24px;
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 400;
  color: #777777;
  letter-spacing: 2px;
}

.section-title::before,
.section-title::after {
  content: '';
  display: block;
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, transparent 0%, #b8a882 100%);
}

.section-title::after {
  background: linear-gradient(90deg, #b8a882 0%, transparent 100%);
}

/* ── MEGA MALL GRID ── */
.mega-mall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ── MALL CARD ── */
.mall-card {
  background-color: var(--card-bg);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.mall-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #1e1a08 100%);
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mall-card:hover .card-image img {
  transform: scale(1.04);
}

.card-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.card-body p {
  font-family: 'Raleway', sans-serif;
  font-size: 11.5px;
  color: #666666;
  line-height: 1.65;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f0ede6;
}

.explore-link {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.explore-link:hover { color: var(--gold-dark); }

.explore-link .arrow {
  font-size: 9px;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
}

.explore-link:hover .arrow {
  transform: translateY(2px);
}

/* ── GOLD BUTTON ── */
.gold-btn {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: #1a1200;
  border: none;
  padding: 8px 22px;
  font-family: 'Raleway', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(139,105,20,0.3);
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.gold-btn:hover {
  filter: brightness(1.12);
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(139,105,20,0.45);
}

.gold-btn:active {
  transform: scale(0.98);
}

/* Row-2 cards: image-only, no body */
.mega-mall-grid .mall-card:nth-child(n+5) .card-image {
  aspect-ratio: 4 / 3;
}

/* ── REGIONAL FOOTER ── */
.regional-footer {
  background: linear-gradient(90deg, #3a2b00 0%, #1a1200 30%, #1a1200 70%, #3a2b00 100%);
  padding: 22px 20px 26px;
  margin-top: 10px;
}

.regions-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
}

.region-column {
  flex: 1;
  min-width: 180px;
  padding: 0 20px;
  border-right: 1px solid rgba(201,168,76,0.2);
  text-align: center;
}

.region-column:last-child {
  border-right: none;
}

.region-column h4 {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.flags-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.country-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.country-item img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.country-item span {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #cccccc;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ── DARK BAR (bottom strip) ── */
.bottom-dark-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-dark), var(--gold-deep));
  margin-top: 18px;
  border-radius: 0;
  opacity: 0.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .mega-mall-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav ul    { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .main-nav ul li a { padding: 14px 14px; font-size: 11px; }
  .section-title  { font-size: 20px; }
  .region-column  { min-width: 140px; padding: 0 10px; }
}

@media (max-width: 600px) {
  .mega-mall-grid { grid-template-columns: 1fr; }
  .regions-container { flex-direction: column; gap: 24px; }
  .region-column  { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.2); padding-bottom: 20px; }
  .region-column:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   HERO BANNER — full-width image version
   Replace (or merge) the existing .hero-banner block in style.css
   with these rules.
   ============================================================ */

/* ── HERO BANNER — reduced height, whole image always visible ── */
.hero-banner {
    width: 100%;
    height: 320px;           /* controlled height — adjust to taste */
    line-height: 0;
    overflow: hidden;
    background: #1a1408;     /* parchment-dark fallback while image loads */
}

.hero-full-img {
    display: block;
    width: 100%;
    height: 100%;            /* fill the fixed container */
    object-fit: contain;     /* CONTAIN = entire image visible, never cropped */
    object-position: center center;
}

/* hide old three-panel hero elements */
.hero-side,
.hero-center,
.main-logo,
.brand-subtitle {
    display: none;
}

/* ── Responsive hero height ── */
@media (max-width: 1024px) {
    .hero-banner { height: 260px; }
}

@media (max-width: 768px) {
    .hero-banner { height: 200px; }
}

@media (max-width: 480px) {
    .hero-banner { height: 140px; }
}
