/* Custom Premium Stylesheet - Samsung Experience Store */

:root {
  --samsung-blue: #1428A0;
  --samsung-blue-light: #3f55e3;
  --primary-light: #e8ebf7;
  --dark: #1a1a1a;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --secondary-gray: #e9ecef;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --success-color: #2e7d32;
  --success-light: #e8f5e9;
  --warning-color: #ef6c00;
  --warning-light: #fff3e0;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Loading Screen Overlay */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-logo {
  height: 50px;
  object-fit: contain;
  margin-bottom: 24px;
  animation: pulse 1.5s infinite ease-in-out;
}
.loader-bar {
  width: 120px;
  height: 3px;
  background-color: #e0e0e0;
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background-color: var(--samsung-blue);
  animation: loading-animation 1s infinite linear;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
@keyframes loading-animation {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* Header & Glassmorphic Navigation */
.sticky-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}
.sticky-nav .navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 0;
  transition: all 0.3s ease;
}
.sticky-nav.scrolled .navbar {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-logo {
  height: 32px;
  object-fit: contain;
}
.brand-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--dark);
  letter-spacing: 0.5px;
  line-height: 1;
  display: block;
}
.brand-subtitle {
  font-size: 8.5px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  display: block;
  font-weight: 600;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px !important;
  border-radius: 20px;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--samsung-blue) !important;
  background-color: var(--primary-light);
}

.btn-phone {
  background-color: transparent;
  color: var(--samsung-blue);
  border: 1.5px solid var(--samsung-blue);
  font-weight: 600;
  font-size: 14px;
  border-radius: 20px;
  padding: 6px 18px;
  transition: all 0.2s ease;
}
.btn-phone:hover {
  background-color: var(--samsung-blue);
  color: var(--white);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 20px;
  padding: 7px 18px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp:hover {
  background-color: #1ebd54;
  color: var(--white);
  transform: translateY(-1px);
}

/* Sections Styling */
.section-padding {
  padding: 80px 0;
}
.section-title {
  font-size: 32px;
  letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.badge-official {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.logo-icon-sm {
  height: 16px;
  object-fit: contain;
}
.text-primary-light {
  color: #7188ff;
}
.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, #a2b4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-light-gray {
  color: #d1d1d6;
}
.btn-blur {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-blur:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* Page Banners */
.page-banner {
  height: 260px;
  padding-top: 80px;
}
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.card-privilege {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
}
.card-privilege:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}
.icon-box-blue {
  background-color: rgba(20, 40, 160, 0.08);
  color: var(--samsung-blue);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Social Feed Dynamic Cards */
.card-social-link {
  display: block;
  height: 100%;
}
.card-social {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--secondary-gray);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-social:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08) !important;
}
.media-container {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.social-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-social:hover .social-thumbnail {
  transform: scale(1.05);
}
.badge-post-type {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: var(--white);
}
.social-icon-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 2px solid var(--white);
  z-index: 3;
}
.bg-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.bg-facebook {
  background-color: #1877F2;
}
.social-caption {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 54px;
}

/* Gallery & Location */
.gallery-card {
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.icon-circle-sm {
  width: 36px;
  height: 36px;
  background-color: rgba(20, 40, 160, 0.08);
  color: var(--samsung-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bell-logo {
  max-height: 40px;
  object-fit: contain;
}

/* Floating Bottom Mobile Nav Bar */
.floating-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  border-top: 1.5px solid rgba(255, 255, 255, 0.5);
  z-index: 999;
  padding-bottom: env(safe-area-inset-bottom);
}
.floating-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.floating-action-item:hover {
  color: var(--samsung-blue);
}
.floating-action-item .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  transition: all 0.2s ease;
  border: 1px solid var(--secondary-gray);
}
.floating-action-item:nth-child(1) .icon-circle {
  color: var(--samsung-blue);
  background-color: rgba(20, 40, 160, 0.06);
}
.floating-action-item:nth-child(2) .icon-circle {
  color: #25D366;
  background-color: rgba(37, 211, 102, 0.06);
}
.floating-action-item:nth-child(3) .icon-circle {
  color: var(--dark);
  background-color: rgba(0, 0, 0, 0.06);
}
.floating-action-item:hover .icon-circle {
  transform: translateY(-2px);
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Success Form Submit Circle */
.success-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(46, 125, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Admin Dashboard Elements */
.status-pill.status-new {
  background-color: rgba(20, 40, 160, 0.08);
  color: var(--samsung-blue);
}
.status-pill.status-contacted {
  background-color: var(--warning-light);
  color: var(--warning-color);
}
.status-pill.status-converted {
  background-color: var(--success-light);
  color: var(--success-color);
}
.bg-secondary-light {
  background-color: var(--secondary-gray);
  color: var(--text-secondary);
}

@media(max-width: 991px) {
  body {
    padding-bottom: 72px; /* Prevent footer overlapping mobile bar */
  }
}

/* Footer Custom Styles */
.footer {
  background: linear-gradient(135deg, #060B1E 0%, #0D1630 100%);
  color: #c5c7d0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.footer .brand-title {
  color: var(--white) !important;
}
.footer .brand-subtitle {
  color: #a2b4ff !important;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #c5c7d0;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  display: inline-block;
}
.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -3px;
  left: 0;
  background-color: var(--samsung-blue-light);
  transition: width 0.2s ease;
}
.footer-links a:hover {
  color: var(--white) !important;
  transform: translateX(4px);
}
.footer-links a:hover::after {
  width: 100%;
}
.footer hr {
  opacity: 0.1;
  background-color: var(--white);
}
.footer-logo {
  height: 36px;
  object-fit: contain;
}
.footer .text-secondary {
  color: #a2a5b5 !important;
}
.footer-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  padding-bottom: 8px;
}
.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--samsung-blue-light);
}

.hero-desc {
  font-size: 22px !important;
}

/* Custom check card for products */
.product-check-wrapper {
  max-height: 280px;
  overflow-y: auto;
  border: 1.5px solid #e9ecef;
  border-radius: 16px;
  padding: 16px;
  background-color: var(--light-gray);
}
.product-check-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  cursor: pointer;
}
.product-check-item:hover {
  background-color: var(--primary-light);
  border-color: var(--samsung-blue-light);
}
.product-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  margin-right: 12px;
  cursor: pointer;
}
.product-check-item input[type="checkbox"]:checked {
  background-color: var(--samsung-blue);
  border-color: var(--samsung-blue);
}
.product-check-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
}

/* Subtitle and readability improvements */
.lead {
  font-size: 1.3rem !important;
  line-height: 1.6;
}

