/* ==========================================================================
   RK TRADERS STATIONERY WEBSITE - STYLESHEET
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables & Theme Setup */
:root {
  /* Light Mode Variables (Default) */
  --primary-color: #0F52BA;        /* Sapphire Blue */
  --primary-hover: #0a3d8c;
  --secondary-color: #FF6B35;      /* Vibrant Orange */
  --secondary-hover: #e0531a;
  --accent-color: #3b82f6;
  
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;         /* Deep Slate */
  --text-secondary: #475569;       /* Muted Slate */
  --text-light: #64748b;
  
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 82, 186, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.15);
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --card-hover-border: rgba(15, 82, 186, 0.2);
  
  --font-family-title: 'Outfit', 'Inter', sans-serif;
  --font-family-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --gradient-primary: linear-gradient(135deg, #0F52BA 0%, #1D4ED8 100%);
  --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #E0531A 100%);
  --gradient-mixed: linear-gradient(135deg, #0F52BA 0%, #FF6B35 100%);
}

/* Dark Mode Variables Override */
:root[data-theme="dark"] {
  --primary-color: #3b82f6;        /* Bright Blue */
  --primary-hover: #60a5fa;
  --secondary-color: #ff7d4d;      /* Warm Orange */
  --secondary-hover: #ff9470;
  
  --bg-primary: #020617;           /* Slate Dark */
  --bg-secondary: #0b0f19;         /* Lighter Dark Slate */
  --bg-tertiary: #0f172a;
  
  --text-primary: #f8fafc;         /* Pure Off-white */
  --text-secondary: #94a3b8;       /* Muted gray */
  --text-light: #64748b;
  
  --border-color: #1e293b;
  --border-focus: #60a5fa;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(255, 125, 77, 0.2);
  
  --glass-bg: rgba(11, 15, 25, 0.8);
  --glass-border: rgba(30, 41, 59, 0.6);
  --card-hover-border: rgba(59, 130, 246, 0.4);
}

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

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

body {
  font-family: var(--font-family-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

ul {
  list-style: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid & Layout Utilities */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-title);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
  padding: 16px 0;
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-normal);
}

.logo-link:hover .logo-img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

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

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

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

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

/* Header Right Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: var(--bg-tertiary);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--transition-normal);
}

.theme-toggle-btn:hover svg {
  transform: rotate(15deg);
}

:root[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}
:root[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

/* Call Button (Header) */
.header-cta {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--border-radius-full);
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.3);
}

.header-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Menu Hamburger */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(15, 82, 186, 0.08) 0%, rgba(255, 107, 53, 0.03) 70%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: var(--border-radius-full);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1.2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

.hero-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 82, 186, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 82, 186, 0.4);
}

.btn-secondary {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
}

.hero-image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-secondary);
  position: relative;
  aspect-ratio: 4/3;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
}

/* Floating badge in Hero */
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
}

.hero-badge-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hero-badge-text h4 {
  font-size: 18px;
  line-height: 1.2;
}

.hero-badge-text p {
  font-size: 12px;
  color: var(--text-light);
}

/* Animation Utilities */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Sections General Styling */
.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-tertiary);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px auto;
}

.section-subtitle {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-secondary);
  aspect-ratio: 16/10;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

.about-badge {
  position: absolute;
  top: -24px;
  right: -24px;
  background: var(--gradient-secondary);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 3.5s ease-in-out infinite;
}

.about-badge .years {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  display: block;
}

.about-badge .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.about-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-content .main-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(15, 82, 186, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.about-feature-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.about-feature-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

/* Why Choose Us Section */
.why-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: height var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--card-hover-border);
}

.why-card:hover::before {
  height: 100%;
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(15, 82, 186, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal);
}

.why-card:hover .why-icon {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: rotate(6deg);
}

.why-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Products Section & Filter Catalog */
.catalog-controls {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.catalog-search-wrapper {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}

.catalog-search-input {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 14px 20px 14px 48px;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.catalog-search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.catalog-search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.catalog-search-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Product Categories Filters */
.catalog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--border-radius-full);
  font-family: var(--font-family-title);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-pill.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* Product Grid */
.products-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--card-hover-border);
}

.product-image-container {
  aspect-ratio: 1.1/1;
  position: relative;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-color);
}

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

.product-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-label {
  font-size: 11px;
  color: var(--text-light);
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.product-price {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 16px;
  color: var(--secondary-color);
}

.product-btn {
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.product-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Empty Catalog State */
.catalog-empty {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  display: none;
}

.catalog-empty-icon {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.catalog-empty h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.catalog-empty p {
  color: var(--text-secondary);
}

/* Customer Reviews Section */
.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #FFC107; /* Amber Gold */
  margin-bottom: 18px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: 14.5px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  background-color: var(--bg-tertiary);
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid var(--border-color);
}

.review-meta h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.review-meta span {
  font-size: 12px;
  color: var(--text-light);
}

/* Contact Us Section */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-info-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-info-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(15, 82, 186, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-card-details h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-card-details p, .contact-card-details a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-card-details a:hover {
  color: var(--primary-color);
}

/* Contact Action Buttons (Call / WhatsApp) */
.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-btn {
  flex: 1;
  min-width: 160px;
}

.btn-whatsapp {
  background-color: #25D366; /* WhatsApp Green */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  fill: currentColor;
  width: 18px;
  height: 18px;
}

.btn-call {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.25);
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 82, 186, 0.35);
}

.btn-call svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
}

/* Contact Form Panel */
.contact-form-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-panel h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 14.5px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
}

/* Form success message overlay */
.form-success-message {
  display: none;
  text-align: center;
  padding: 24px 0;
  animation: float 3s ease-in-out infinite;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  background-color: rgba(37, 211, 102, 0.1);
  color: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 28px;
}

.form-success-message h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.form-success-message p {
  color: var(--text-secondary);
}

/* Map Representation */
.map-container {
  margin-top: 32px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.map-placeholder-bg {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--bg-tertiary) 10%, var(--bg-primary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.map-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.map-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.map-btn {
  margin-top: 14px;
}

/* Footer styling */
.footer {
  background-color: #0b0f19; /* Always dark theme background for premium look */
  color: #94a3b8;
  padding: 80px 0 30px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1); /* Invert logo color to white text on dark bg */
}

.footer-logo-fallback {
  font-family: var(--font-family-title);
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
}

.footer-logo-fallback span {
  color: var(--secondary-color);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-sm);
  background-color: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  display: block;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
}

/* Floating widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast), visibility var(--transition-fast);
  border: none;
}

.float-btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.float-btn-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
}

.float-btn-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.float-btn-top {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
}

.float-btn-top.show {
  opacity: 1;
  visibility: visible;
}

.float-btn-top:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

.float-btn-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-desc {
    margin: 0 auto 36px auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    animation: float 4s ease-in-out infinite;
  }
  .hero-badge:hover {
    transform: translateX(-50%) scale(1.02);
  }
  @keyframes float-center {
    0% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-8px); }
    100% { transform: translateX(-50%) translateY(0px); }
  }
  .hero-badge {
    animation-name: float-center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrapper {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .about-badge {
    right: 20px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 30px;
  }
  
  /* Mobile Nav styles */
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--border-color);
    align-items: flex-start;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    font-size: 18px;
    width: 100%;
  }
  .header-cta {
    display: none; /* Hide button in mobile header */
  }
  .header.scrolled {
    padding: 16px 0; /* Keep size constant on mobile */
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-btns .btn {
    width: 100%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .catalog-controls {
    padding: 16px;
  }
  .catalog-filters {
    gap: 6px;
  }
  .filter-pill {
    padding: 6px 12px;
    font-size: 12px;
  }
  .contact-form-panel {
    padding: 24px 16px;
  }
  .contact-btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .floating-widgets {
    bottom: 20px;
    right: 20px;
  }
}
