/* ===== Base Styles ===== */
body {
    font-family: 'Poppins', sans-serif;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
  }
  
  .content-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
  }
  
  .section-title:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 0.1875rem;
    background: #fbbf24;
    bottom: -0.625rem;
    left: 20%;
    border-radius: 0.1875rem;
  }
  
  .fade-in, .fade-out {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  }
  
  .fade-out {
    opacity: 0;
    transform: scale(0.95);
  }
  
  .fade-in {
    opacity: 1;
    transform: scale(1);
  }
  
  /* ===== Typography ===== */
  @font-face {
    font-family: 'One Little Font Family';
    src: url('./font/onelittlefont.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
  }
  
  /* ===== Navigation ===== */
  .navbar-custom {
    background-color: rgba(247, 250, 252, 0.9);
    backdrop-filter: blur(10px);
  }
  
  .navbar-brand {
    font-family: 'One Little Font Family', serif;
    font-weight: 800;
    font-size: 1.5rem;
  }
  
  .navbar-custom .nav-link {
    color: #2d3748;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .navbar-custom .nav-link:hover {
    color: #fbbf24;
    text-decoration: underline;
  }
  
  .navbar-custom .nav-link.active {
    text-decoration: underline;
    color: #fbbf24;
  }
  
  /* ===== Buttons ===== */
  .btn-primary {
    background-color: #fbbf24;
    color: #2d3748;
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(251, 191, 36, 0.2);
    border: none;
  }
  
  .btn-primary:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(251, 191, 36, 0.3);
  }
  
  .btn-danger {
    background-color: #ef4444;
    color: white;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
  }
  
  .btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
  }
  
  /* ===== Hero Sections ===== */
/* Hero Section Styles */
.hero-section {
  padding: 8rem 0 4rem;
}

.hero-container {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
}

/* Text Content Container */
.text-content-container {
  position: relative;
  min-height: 700px;
  display: flex;
  flex-direction: column;
}

/* Button Container */
.button-container {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.button-group {
  display: flex;
  gap: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .text-content-container {
    min-height: auto;
  }
  
  .button-container {
    justify-content: center;
  }
  
  .button-group {
    flex-direction: column;
    width: 100%;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section .button-container {
    position: static;
    padding: 20px 0 0 0;
    width: 100%;
  }
  
  .hero-section .button-group {
    justify-content: center;
    flex-direction: column;
  }
  
  .hero-section .text-content-container {
    min-height: auto;
  }
}
  /* ===== Cards ===== */
  .feature-card,
  .product-card,
  .profile-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
  }
  
  .feature-card:hover,
  .product-card:hover,
  .profile-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .feature-image,
  .product-image {
    height: 12.5rem;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .feature-card:hover .feature-image,
  .product-card:hover .product-image {
    transform: scale(1.05);
  }
  
  .feature-content {
    padding: 1.5rem;
  }
  
  .product-card {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .product-image {
    border-radius: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .profile-card {
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
  }
  
  .profile-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
    transition: transform 0.3s ease;
  }
  
  .profile-card:hover i {
    transform: scale(1.1);
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto 1.5rem;
  }
  
  .profile-card:hover .profile-image {
    border-color: rgba(251, 191, 36, 0.7);
    transform: scale(1.05);
  }
  
  /* ===== Forms ===== */
  .form-control {
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(203, 213, 225, 0.5);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
  }
  
  .form-control:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 0.25rem rgba(251, 191, 36, 0.25);
    background-color: white;
  }
  
  .auth-link {
    color: #3b82f6;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .auth-link:hover {
    color: #2563eb;
    text-decoration: underline;
  }
  
  /* ===== Form Containers ===== */
  .signup-form-container,
  .login-form-container {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    transition: all 0.3s ease;
  }
  
  .signup-form-container:hover,
  .login-form-container:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  /* ===== Cart Styles ===== */
  .cart-container {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    transition: all 0.3s ease;
  }
  
  .cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .cart-item:hover {
    background-color: rgba(251, 191, 36, 0.05);
  }
  
  .cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-right: 1.5rem;
    transition: transform 0.3s ease;
  }
  
  .cart-item:hover img {
    transform: scale(1.05);
  }
  
  .cart-item-details {
    flex: 1;
  }
  
  .empty-cart-message {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
  }
  
  /* ===== Quantity Selector ===== */
  .quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
  }
  
  .quantity-btn {
    background-color: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .quantity-btn:hover {
    background-color: #e5e7eb;
  }
  
  .quantity-input {
    width: 60px;
    text-align: center;
    margin: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
    font-size: 1rem;
  }
  
  /* ===== Footer ===== */
  .footer {
    background-color: rgba(45, 55, 72, 0.9);
    color: #fff;
    padding: 3rem 0;
    backdrop-filter: blur(10px);
  }
  
  /* ===== Animations ===== */
  /* Cart Animation */
  .cart-animation {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: flyToCart 1s cubic-bezier(0.5, 0, 0.5, 1) forwards;
  }
  
  .cart-animation i {
    color: white;
    font-size: 1.5rem;
  }
  
  @keyframes flyToCart {
    0% {
      transform: scale(1) translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: scale(0.8) translate(var(--translate-x), var(--translate-y));
    }
    100% {
      transform: scale(0.5) translate(var(--target-x), var(--target-y));
      opacity: 0;
    }
  }
  
  /* Toast Notification */
  .toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #4BB543;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .toast-notification.show {
    transform: translateY(0);
    opacity: 1;
  }
  
  .toast-notification i {
    font-size: 1.2rem;
  }
  
  /* Modal Styles */
  .quick-add-modal,
  .checkout-modal {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .quick-add-modal.show,
  .checkout-modal.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .quick-add-modal img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .modal-overlay.show {
    opacity: 1;
    pointer-events: all;
  }
  
  .modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .modal-btn,
  .checkout-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .modal-btn-cancel,
  .checkout-btn-cancel {
    background-color: #f3f4f6;
    color: #374151;
  }
  
  .modal-btn-cancel:hover,
  .checkout-btn-cancel:hover {
    background-color: #e5e7eb;
  }
  
  .modal-btn-confirm,
  .checkout-btn-confirm {
    background-color: #fbbf24;
    color: #1f2937;
  }
  
  .modal-btn-confirm:hover,
  .checkout-btn-confirm:hover {
    background-color: #f59e0b;
  }
  
  .modal-btn-custom {
    padding: 0.95rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #efefef;
  }
  
  .modal-btn-custom:hover {
    background-color: #ddd;
  }
  
  /* Checkout Specific Styles */
  .checkout-container {
    background-color: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px);
    transition: transform 0.3s ease;
  }
  
  .checkout-modal.active .checkout-container {
    transform: translateY(0);
  }
  
  .checkout-header {
    background-color: #fbbf24;
    padding: 1.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
  }
  
  .checkout-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  .checkout-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .checkout-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .checkout-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-right: 1.5rem;
  }
  
  .checkout-item-details {
    flex: 1;
  }
  
  .checkout-total {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #fbbf24;
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .checkout-footer {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
  }
  
  /* Success Animation */
  .success-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .success-animation.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .checkmark-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease forwards;
  }
  
  .checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 5;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #fbbf24;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
  }
  
  .checkmark-path {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }
  
  @keyframes scale {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: scale3d(1.1, 1.1, 1);
    }
  }
  
  @keyframes fill {
    100% {
      box-shadow: inset 0px 0px 0px 30px #fbbf24;
    }
  }
  
  @keyframes scaleIn {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .success-message {
    color: white;
    text-align: center;
    animation: fadeIn 0.5s ease 1s forwards;
    opacity: 0;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  /* Loading Animation */
  .loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .loading-animation.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .loading-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fbbf24;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 2rem;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  .loading-text {
    color: white;
    font-size: 1.25rem;
  }
  
  /* Forgot Password */
  .forgot-password-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
  }
  
  .forgot-password-btn:hover {
    color: #3b82f6;
    text-decoration: underline;
  }