/* 
 * paintings.shfiu.com - Luxury Art Gallery Design System
 * Modern, responsive, bilingual styling with glassmorphism and champagne gold accents
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Hind+Siliguri:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', 'Cinzel', serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-bn: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;

  /* Color System */
  --bg-primary: #090e17;
  --bg-secondary: #0f172a;
  --bg-card: #131d31;
  --bg-card-hover: #192640;
  --bg-glass: rgba(19, 29, 49, 0.75);
  --bg-glass-light: rgba(255, 255, 255, 0.05);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #e5b94c;

  --accent-gold: #d4af37;
  --accent-gold-hover: #f0c952;
  --accent-gold-dark: #b89326;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  --accent-blue: #1e3a8a;
  --accent-cyan: #38bdf8;
  --accent-rose: #f43f5e;
  --accent-emerald: #10b981;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.28);
  --border-focus: rgba(212, 175, 55, 0.6);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides (Optional / Dynamic) */
[data-theme="light"] {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-light: rgba(0, 0, 0, 0.03);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-gold: #b8860b;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(184, 134, 11, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lang-bn {
  font-family: var(--font-bn);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

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

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Announcement Flash Bar with 12H Countdown */
.top-announcement-bar {
  background: linear-gradient(90deg, #111d35 0%, #1e3a8a 50%, #111d35 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  text-align: center;
  position: relative;
  z-index: 50;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.badge-flash {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  animation: pulseGold 2s infinite ease-in-out;
}

.countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

.countdown-digits {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-gold);
  letter-spacing: 0.08em;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  background: rgba(9, 14, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

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

.nav-link-badge {
  background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
  color: #000;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  margin-left: 0.35rem;
  text-transform: uppercase;
}

/* Header Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language & Currency Switcher Pill */
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-switcher-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.lang-icon {
  color: var(--accent-gold);
  font-size: 0.95rem;
}

.action-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition);
}

.action-icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.badge-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-rose);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.25) 0%, rgba(9, 14, 23, 0.9) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--text-gold);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #0b111e;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Hero Feature Badges (Shipping & Returns) */
.hero-guarantee-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.guarantee-icon {
  font-size: 1.35rem;
  color: var(--accent-gold);
}

/* Hero Featured Artwork Carousel / Showcase */
.hero-showcase-wrapper {
  position: relative;
}

.hero-art-frame {
  position: relative;
  border-radius: var(--radius-md);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(212, 175, 55, 0.15));
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.8);
}

.hero-art-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.hero-art-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(9, 14, 23, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
}

.hero-art-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.hero-art-meta {
  font-size: 0.775rem;
  color: var(--text-gold);
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Animations */
@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-guarantee-row {
    justify-content: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 68px;
  }
  .nav-menu {
    display: none; /* Accessible via mobile drawer */
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
}
