/* RESET & GLOBAL IMPROVEMENTS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0F172A;
  --accent: #E6C77D;
  --background: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #475569;
  --success: #16A34A;
  --danger: #DC2626;
  --white: #FFFFFF;
  --card-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: linear-gradient(135deg, #5a3921 0%, #6a5a45 50%, #87CEEB 100%);
  --light-gray: #f1f5f9;
  --border-color: #e2e8f0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================
   IMPROVED NAVBAR WITH CART
======================= */
header {
  background: linear-gradient(135deg, #87CEEB 0%, #6F4E37 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
}

header.scrolled {
  background: linear-gradient(135deg, rgba(33,131,173,1) 0%, rgba(230,116,30,1) 50%, rgba(56,112,140,1) 100%);
  padding: 5px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo h1 {
  color: var(--white);
  margin: 0;
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Navigation Cart Icon */
.nav-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 8px 12px !important;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-cart:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-cart i {
  font-size: 1.2rem;
}

.nav-cart-count {
  background: var(--danger);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: bold;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-cart.active {
  background: var(--accent);
  color: var(--primary);
}

.nav-cart.active:hover {
  background: var(--accent);
  opacity: 0.9;
}

/* ========================
   HERO SECTION
======================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: 
    linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
    url('https://images.pexels.com/photos/15904775/pexels-photo-15904775.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  color: #CBD5E1;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

/* ========================
   CONTENT SECTIONS
======================= */
section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* Background wrapper */
.coffee-bg {
  background: 
    linear-gradient(rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.95)),
    url('https://images.pexels.com/photos/3158814/pexels-photo-3158814.jpeg') center/cover fixed;
}

/* ========================
   IMPROVED CARDS & GRIDS
======================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(135, 206, 235, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.7;
}

.card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.card ul li {
  padding: 8px 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 1.1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}

/* ========================
   IMPROVED BUTTONS
======================= */
.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--success);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: auto;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
  background: #15803d;
}

.buy-btn:active {
  transform: translateY(0);
}

/* ========================
   IMPROVED CONTACT SECTION
======================= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: start;
}

.contact-details {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-details h3 {
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-details h3 i {
  color: var(--accent);
}

.contact-details p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--background);
  border-radius: 50%;
  transition: all 0.3s ease;
  color: var(--primary);
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  color: var(--primary);
}

.social-icons i {
  font-size: 1.2rem;
}

.contact-form {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form h3 i {
  color: var(--accent);
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--background);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 199, 125, 0.2);
  background: var(--white);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 199, 125, 0.3);
}

/* ========================
   IMPROVED FOOTER
======================= */
footer.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: 80px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

footer.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-section ul li i {
  color: var(--accent);
  margin-top: 3px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul li a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-section .social-icons {
  margin-top: 25px;
}

.footer-section .social-icons a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-section .social-icons a:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 10px 0;
}

/* ========================
   CART PAGE STYLES
======================= */
.cart-page {
  padding: 100px 0 60px;
  min-height: 70vh;
  background: var(--background);
}

.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.cart-items-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cart-items-container h2 {
  margin-bottom: 30px;
  color: var(--primary);
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 20px;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--primary);
}

.item-price {
  font-weight: 600;
  color: var(--text-muted);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.qty-input {
  width: 50px;
  text-align: center;
  padding: 8px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
}

.item-total {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.remove-btn {
  background: var(--danger);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.remove-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.cart-summary {
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  padding: 30px;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.cart-summary h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-total {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 20px 0;
  padding-top: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 199, 125, 0.3);
}

.clear-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.clear-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--danger);
  color: var(--danger);
}

/* Payment Info */
.payment-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-info h4 {
  color: var(--white);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-info h4 i {
  color: var(--accent);
}

.payment-info p {
  margin: 10px 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart i {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-cart h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.empty-cart p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   WIP SECTION
======================= */
.wip-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 100px 20px;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('https://images.pexels.com/photos/6764282/pexels-photo-6764282.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.wip-section .container {
  max-width: 800px;
}

.wip-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
  color: var(--white);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.wip-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.wip-section .btn {
  margin-top: 20px;
}

/* ========================
   FLOATING ELEMENTS - FIXED POSITIONING
======================= */
.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 998; /* Lower than mobile nav */
  transition: all 0.3s ease;
}

.floating-cart:hover {
  transform: scale(1.1);
  background: var(--accent);
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--success);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ========================
   MOBILE NAVIGATION - FIXED OVERLAPPING
======================= */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1000; /* Higher than floating cart */
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
  background: var(--accent);
  color: var(--primary);
}

.mobile-nav {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--primary);
  border-radius: 20px;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 1001; /* Higher than toggle button */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.mobile-nav a {
  color: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateX(-5px);
}

/* Mobile cart item in mobile nav */
.mobile-nav-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.15) !important;
}

.mobile-nav-cart-count {
  background: var(--danger);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

/* ========================
   MODAL STYLES
======================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal h2 {
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal p {
  color: var(--text-muted);
  margin-bottom: 15px;
  text-align: center;
  line-height: 1.6;
}

.modal-close {
  display: block;
  margin: 20px auto 0;
  padding: 12px 30px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 199, 125, 0.3);
}

/* ========================
   RESPONSIVE DESIGN
======================= */
@media (max-width: 1024px) {
  .cart-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cart-summary {
    position: static;
  }
  
  .contact-container {
    gap: 30px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* General */
  section {
    padding: 60px 0;
  }
  
  .container {
    width: 95%;
    padding: 0 15px;
  }
  
  /* Navbar - hide nav cart on mobile */
  .nav-links {
    display: none;
  }
  
  .nav-cart {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  /* Cart Page Mobile */
  .cart-item {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
    padding: 25px 0;
  }
  
  .quantity-controls {
    justify-content: center;
  }
  
  .item-price, .item-total {
    font-size: 1.2rem;
  }
  
  /* Floating cart adjustments for mobile */
  .floating-cart {
    bottom: 100px; /* Position above mobile toggle */
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    z-index: 999; /* Ensure it's above content but below mobile nav */
  }
  
  .mobile-nav-toggle {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .mobile-nav {
    bottom: 100px; /* Position above toggle button */
    right: 30px;
    z-index: 1002; /* Highest z-index */
  }
  
  /* Adjust floating cart position when mobile nav is open */
  .mobile-nav.active + .floating-cart {
    bottom: 180px; /* Move up when mobile nav is open */
  }
  
  /* Hero */
  .hero {
    min-height: 80vh;
    background-attachment: scroll;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  /* Grids */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Contact */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* WIP Section */
  .wip-section h1 {
    font-size: 2.5rem;
  }
  
  .wip-section p {
    font-size: 1.1rem;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section ul li {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  /* Toast adjustment for mobile */
  .toast {
    bottom: 150px;
    right: 20px;
    left: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .contact-details,
  .contact-form {
    padding: 20px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  /* Cart Page Small Screens */
  .cart-items-container,
  .cart-summary {
    padding: 20px;
  }
  
  .qty-input {
    width: 40px;
  }
  
  /* WIP Section Small Screens */
  .wip-section {
    padding: 80px 15px;
  }
  
  .wip-section h1 {
    font-size: 2rem;
  }
  
  /* Adjust floating elements for very small screens */
  .floating-cart {
    bottom: 90px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .mobile-nav-toggle {
    bottom: 20px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .mobile-nav {
    bottom: 80px;
    right: 15px;
    left: 15px;
  }
  
  .toast {
    bottom: 130px;
    left: 10px;
    right: 10px;
  }
}

/* For tablets and medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }
  
  .nav-cart {
    padding: 8px 10px !important;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* ========================
   ORDER FORM MODAL
======================= */
.order-form-modal {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.order-form-modal h2 {
  color: var(--primary);
  margin-bottom: 25px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.order-form-modal h2 i {
  color: var(--success);
}

.order-summary {
  background: var(--background);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  border-left: 4px solid var(--accent);
}

.order-summary h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.order-summary-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid var(--border-color);
  color: var(--primary);
}

.form-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 199, 125, 0.2);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.form-buttons button {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border: none;
}

.btn-primary:hover {
  background: #d9b86c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 199, 125, 0.3);
}

.btn-secondary {
  background: var(--background);
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  border: none;
}

.btn-success:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: var(--success);
  transition: all 0.3s ease;
  z-index: 2;
}

.step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.step-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

.step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

/* WhatsApp Order Summary */
.whatsapp-order-summary {
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-order-summary i {
  font-size: 1.5rem;
}

.whatsapp-order-summary p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Order Details Display */
.order-details-display {
  background: var(--background);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid var(--accent);
}

.order-details-display h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.order-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.order-detail-item:last-child {
  border-bottom: none;
}

.order-detail-item strong {
  color: var(--text-main);
}

/* Contact Collection */
.contact-collection {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-collection h3 {
  color: var(--primary);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-collection h3 i {
  color: var(--accent);
}

/* Success State */
.success-state {
  text-align: center;
  padding: 20px 0;
}

.success-state i {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 20px;
  animation: bounce 1s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

.success-state h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.success-state p {
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* WhatsApp Button */
.whatsapp-button {
  background: #25D366;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-button:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  color: white;
}

/* Payment Methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.payment-method {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.payment-method:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.payment-method.selected {
  border-color: var(--success);
  background: rgba(22, 163, 74, 0.05);
}

.payment-method i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.payment-method.mpesa i {
  color: #00A75A;
}

.payment-method.cash i {
  color: var(--accent);
}

.payment-method.bank i {
  color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .order-form-modal {
    padding: 25px 20px;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .form-buttons button {
    width: 100%;
  }
  
  .payment-methods {
    grid-template-columns: 1fr;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
}
/* Admin Pages - Add to existing styles.css */

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Admin Dashboard */
.admin-header {
    background: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        margin: 50px 20px;
        padding: 30px 20px;
    }
}

/* Dynamic Slider Styles */
.dynamic-grid-container {
    position: relative;
    margin: 40px 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.slider-btn {
    background: var(--accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #d35400;
    transform: scale(1.1);
}

.dynamic-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 10px;
    margin: 0 -10px;
}

.dynamic-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.dynamic-card {
    flex: 0 0 auto;
    width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.dynamic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dynamic-card.portrait {
    width: 250px;
}

.dynamic-card.landscape {
    width: 350px;
}

.dynamic-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dynamic-card:hover img {
    transform: scale(1.05);
}

.dynamic-card.portrait img {
    height: 300px;
}

.dynamic-card.landscape img {
    height: 180px;
}

.dynamic-card-content {
    padding: 20px;
}

.dynamic-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.dynamic-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.dynamic-card .price {
    font-size: 18px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 15px;
}

.dynamic-card-services {
    margin-top: 10px;
}

.dynamic-card-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dynamic-card-services li {
    color: #666;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.dynamic-card-services li:last-child {
    border-bottom: none;
}

/* Slider indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dynamic-card {
        width: 280px;
    }
    
    .dynamic-card.portrait {
        width: 230px;
    }
    
    .dynamic-card.landscape {
        width: 320px;
    }
    
    .slider-controls {
        display: none;
    }
    
    .dynamic-grid {
        gap: 15px;
    }
}

/* Masonry grid alternative */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    grid-gap: 20px;
}

.masonry-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.masonry-item:hover .masonry-content {
    transform: translateY(0);
}

/* Toggle between grid and slider */
.view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.view-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--accent);
    color: white;
}

/* ==================== CHRISTMAS THEME STYLES ==================== */
:root {
  --christmas-red: #c41e3a;
  --christmas-green: #165b33;
  --christmas-gold: #ffd700;
  --christmas-silver: #c0c0c0;
  --snow-white: #ffffff;
  --holly-green: #0a5c36;
}

/* Christmas Theme Toggle */
.christmas-toggle {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.christmas-toggle-btn {
  background: linear-gradient(135deg, var(--christmas-red), var(--christmas-green));
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 9999;
}

.christmas-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.christmas-toggle-btn.active {
  background: linear-gradient(135deg, var(--christmas-gold), var(--christmas-red));
}

.christmas-settings {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
  width: 300px;
  animation: slideIn 0.3s ease;
}

.christmas-settings.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.christmas-settings h3 {
  color: var(--christmas-green);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-group {
  margin-bottom: 15px;
}

.settings-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #333;
  font-weight: 500;
}

.settings-group input[type="range"] {
  width: 100%;
  margin-top: 5px;
  accent-color: var(--christmas-red);
}

.settings-group input[type="checkbox"] {
  accent-color: var(--christmas-green);
}

/* Snowfall Container */
#snowfall-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

/* Individual Snowflake */
.snowflake {
  position: absolute;
  top: -20px;
  background: var(--snow-white);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  filter: blur(0.5px);
  animation-name: snowfall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snowfall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateX(var(--sway)) rotate(180deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(100vh) translateX(calc(var(--sway) * 2)) rotate(360deg);
    opacity: 0;
  }
}

/* Different snowflake sizes */
.snowflake-small {
  width: 4px;
  height: 4px;
  filter: blur(0.3px);
}

.snowflake-medium {
  width: 6px;
  height: 6px;
}

.snowflake-large {
  width: 8px;
  height: 8px;
  filter: blur(0.8px);
}

.snowflake-extra-large {
  width: 12px;
  height: 12px;
  filter: blur(1px);
}

/* Christmas Decorations */
.christmas-decoration {
  position: fixed;
  z-index: 9997;
  pointer-events: none;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Christmas Header Effects */
.christmas-active header#navbar {
  background: linear-gradient(135deg, var(--christmas-green), #0a5c36);
  border-bottom: 3px solid var(--christmas-red);
}

.christmas-active .logo h1 {
  color: var(--christmas-gold);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.christmas-active .nav-links a {
  color: var(--snow-white);
}

.christmas-active .nav-links a:hover {
  color: var(--christmas-gold);
}

.christmas-active .nav-cart {
  background: var(--christmas-red);
}

/* Christmas Hero Section */
.christmas-active .hero {
  background: linear-gradient(rgba(10, 92, 54, 0.9), rgba(196, 30, 58, 0.8)), 
              url('https://images.pexels.com/photos/585750/pexels-photo-585750.jpeg');
  position: relative;
  overflow: hidden;
}

.christmas-active .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.1) 2px, transparent 2px);
  background-size: 50px 50px;
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}

/* Christmas Buttons */
.christmas-active .btn,
.christmas-active .buy-btn,
.christmas-active .submit-btn {
  background: linear-gradient(135deg, var(--christmas-red), var(--christmas-gold));
  position: relative;
  overflow: hidden;
}

.christmas-active .btn::before,
.christmas-active .buy-btn::before,
.christmas-active .submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.christmas-active .btn:hover::before,
.christmas-active .buy-btn:hover::before,
.christmas-active .submit-btn:hover::before {
  left: 100%;
}

/* Christmas Card Effects */
.christmas-active .card,
.christmas-active .dynamic-card {
  border: 2px solid transparent;
  background: linear-gradient(white, white), 
              linear-gradient(135deg, var(--christmas-green), var(--christmas-red), var(--christmas-gold));
  background-origin: border-box;
  background-clip: content-box, border-box;
  position: relative;
}

.christmas-active .card::after,
.christmas-active .dynamic-card::after {
  content: '🎄';
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 24px;
  animation: wiggle 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

/* Christmas Footer */
.christmas-active .footer {
  background: linear-gradient(135deg, var(--christmas-green), #0a5c36);
  position: relative;
  overflow: hidden;
}

.christmas-active .footer::before {
  content: '❄️🎁🎅✨';
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 20px;
  opacity: 0.3;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  .snowflake,
  .christmas-decoration,
  .christmas-active .card::after,
  .christmas-active .footer::before,
  .christmas-active .hero::before {
    animation: none !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .christmas-toggle {
    top: 80px;
    right: 10px;
  }
  
  .christmas-settings {
    width: 280px;
    right: 0;
  }
  
  .christmas-toggle-btn {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .christmas-active .card::after,
  .christmas-active .dynamic-card::after {
    font-size: 18px;
    top: -10px;
    right: -10px;
  }
}

/* High-performance snowflake variations */
.snowflake-sparkle {
  background: radial-gradient(circle at center, white, transparent);
  box-shadow: 0 0 8px white;
}

.snowflake-fluffy {
  filter: blur(1.5px);
  opacity: 0.9;
}

.snowflake-fast {
  animation-duration: 5s !important;
}

.snowflake-slow {
  animation-duration: 15s !important;
}

/* Christmas notification badge */
.christmas-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--christmas-red);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(196, 30, 58, 0);
  }
}