/* Custom Premium Stylesheet - Samsung Experience Store */

:root {
  --samsung-blue: #034DA1;
  --samsung-blue-light: #1e6bb8;
  --primary-light: #e6effa;
  --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: 90px;
  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: #ffffff !important; /* Solid white background as in mockup */
  border-bottom: 1px solid var(--border);
  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: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-logo {
  height: 32px;
  object-fit: contain;
}
.brand-logo-bell {
  height: 105px !important;
  width: auto !important;
  object-fit: contain;
  transition: all 0.3s ease;
}
.brand-logo-samsung {
  height: 105px !important;
  width: auto !important;
  object-fit: contain;
  transition: all 0.3s ease;
}
@media (max-width: 991.98px) {
  .brand-logo-bell {
    height: 95px !important;
  }
  .brand-logo-samsung {
    height: 95px !important;
  }
}
.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: #0b0f19 !important; /* Deep dark slate for unactive links */
  font-weight: 600 !important;
  font-size: 15px;
  padding: 8px 18px !important;
  border-radius: 50px !important; /* Fully rounded pill matching mockup */
  transition: all 0.2s ease;
  margin: 0 4px;
}
.nav-link:hover {
  color: var(--samsung-blue) !important;
  background-color: #f1f5f9 !important;
}
.nav-link.active {
  color: var(--samsung-blue) !important;
  background-color: #e2eefc !important; /* Premium light blue pill matching mockup */
}

.btn-phone {
  background-color: transparent;
  color: var(--samsung-blue) !important;
  border: 1.5px solid var(--samsung-blue) !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px !important; /* Fully rounded pill */
  padding: 8px 22px !important;
  transition: all 0.2s ease;
}
.btn-phone:hover {
  background-color: var(--samsung-blue) !important;
  color: var(--white) !important;
}

.btn-whatsapp {
  background-color: #00c750 !important; /* Solid green matching mockup */
  color: var(--white) !important;
  border: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px !important; /* Fully rounded pill */
  padding: 9px 24px !important;
  transition: all 0.2s ease;
  box-shadow: none !important;
}
.btn-whatsapp:hover {
  background-color: #00a843 !important;
  color: var(--white) !important;
}

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

/* Hero Section */
.hero-section {
  min-height: 80vh;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, background-position 0.3s ease;
  /* Optimized for store_front_v3.png: 104% size to show full Kannada and English signage without clipping */
  background-size: 104%;
  background-position: center 42%;
}

@media (max-width: 1199.98px) {
  .hero-bg {
    background-size: 115%;
    background-position: center 42%;
  }
}

@media (max-width: 991.98px) {
  .hero-bg {
    background-size: 150%;
    background-position: center 44%;
  }
}

@media (max-width: 767.98px) {
  .hero-bg {
    background-size: 260%;
    background-position: center 82%;
  }
}
.badge-official {
  background: rgba(15, 23, 42, 0.55) !important; /* Dark glass background to stand out on opaque image */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.logo-icon-sm {
  height: 16px;
  object-fit: contain;
}
.text-primary-light {
  color: #ffffff;
}
.hero-samsung-logo {
  height: 1.20em !important; /* Scale height dynamically and set it slightly larger than the text */
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-top: -0.14em !important;
  margin-left: 0.15em !important;
  margin-right: 0.15em !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.hero-title {
  color: var(--white) !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.85), 0 2px 4px rgba(0, 0, 0, 0.95) !important;
  font-family: 'League Spartan', sans-serif !important;
  font-size: 65px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, #a2b4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-light-gray {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
  font-weight: 500;
}
.hero-desc {
  color: #f1f5f9 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  max-width: 580px;
}
.btn-blur {
  background: rgba(15, 23, 42, 0.55) !important; /* Dark semi-transparent buttons matching mockup */
  backdrop-filter: blur(10px);
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-weight: 600 !important;
  transition: all 0.2s ease;
}
.btn-blur:hover {
  background: rgba(15, 23, 42, 0.75) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}
.hero-cta-group .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
  background-color: rgba(15, 23, 42, 0.45) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
  font-weight: 600 !important;
}
.hero-cta-group .btn-outline-light:hover {
  background-color: rgba(15, 23, 42, 0.7) !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}

/* 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: 72px;
  height: 72px;
  border-radius: 16px;
  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;
  background-color: #0f172a; /* Dark background to frame contained images beautifully */
}
.social-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Prevents text baked into images from being cropped */
  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;
  line-height: 1.5;
  height: 4.5em; /* Exactly 3 lines to prevent vertical cutting in half of letters */
}

/* 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;
}

/* Mobile responsive menu listings and hero CTA grid formatting */
@media (max-width: 991.98px) {
  .navbar-collapse .navbar-nav {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding: 15px 0 10px 0;
  }
  .navbar-collapse .nav-item {
    text-align: center;
  }
  .navbar-collapse .nav-link {
    padding: 4px 10px !important;
    font-size: 13.5px;
    display: inline-block;
  }
  .navbar-collapse .nav-ctas {
    flex-direction: row !important;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
  }
  .navbar-collapse .nav-ctas .btn {
    flex: 1;
    max-width: 150px;
    font-size: 13px;
    padding: 8px 12px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 80px !important;
    min-height: auto !important;
    padding-bottom: 40px !important;
  }
  .hero-section .container {
    padding-top: 15px !important;
    padding-bottom: 25px !important;
  }
  .hero-cta-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 10px;
  }
  .hero-cta-group .btn {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 6px !important;
    font-size: 11.5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 50px !important;
    height: 42px;
  }
}

