* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #dfd3c8;
    color: #333;
    line-height: 1.6;
}

.container {
  max-width: 1000px;
  min-height: 600px;
  margin: 0 auto;
  display: flex;
  gap: 110px;
  align-items: center;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 0;
    
}

.hero h1 {
    font-size: 3rem;
    color: #6b4c3b;
    margin-bottom: 0;
}

.perfume {
  width: 100%;
}
.perfume img {
  width: 100%;
  border-radius: 10px;
  size: 100px;
  transform: translateY(-20px); /* lifts the image upward */
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25)); /* smooth shadow */
  transition: all 0.4s ease-in-out;
}

.perfume-imag:hover {
  transform: translateY(-40px); /* lifts more on hover */
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.3)); /* deeper shadow on hover */
}
.shop_btn {
  width: 300px;
  height: 50px;
  background-color: #ecab49;
  border: 2px solid transparent;
  border-radius: 30px;
  transition: 0.4s;
  align-items: center;
  display: flex;
  justify-content: center;
  
}

/* 👇 THIS IS THE KEY PART */
.shop_btn a {
  all: unset; /* resets all default link styles */
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  padding: 13px 30px;
  border-radius: 30px;
 
}

.shop_btn:hover {
  background-color: transparent;
  border: 2px solid #6b4c3b;
}
 
.shop_btn:hover a {
            color: rgba(205, 143, 11, 1);
            }


.content {
  top: 15%;
  left: 10%;
  flex: 1;
  padding-right: 20px;
  transform: translateY(-50%);
}
 
.content h1 {
    color:rgb(85, 61, 42);
    font-size: 50px;
}

h3{
    color:black;
    font-size: 30px;
}


/* Cart */
.cart-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quantity-control {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #667eea;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-summary {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
    text-align: right;
}

.cart-summary h3 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Checkout */
.checkout-container {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-section {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.checkout-section:last-child {
    border-bottom: none;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Dashboard */
.dashboard {
    padding: 2rem 0;
}

.dashboard-header {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Table */
.container-dashboard {
  max-width: 1000px;
  min-height: 600px;
  margin: 50px auto;
  display: flex;
  gap: 110px;
  align-items: center;
}
.table-container {
    background:#f9f6f2 ;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background: #6b4c3b;
    font-weight: 600;
    color: #fff;
}

table tr:hover {
    background: #f8f9fa;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Buttons */
.btn {
    display: flex;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    text-align:justify;
}
.btn-secondary {
    background: #6b4c3b;
    color: white;
}

.start-shop {
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    text-align:justify;
    background: #6b4c3b;
    color: white;
}

.start-shop:hover {
    background: #f3af3b;
}


/* small Devices */
@media (max-width: 375px) {

  .container{
    gap: 20px;
  }
  .perfume img {
    max-width: 80%;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .content h1 {
    font-size: 1.8rem;
  }

  .h3 {
    font-size: 1.2rem;
  }

  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item img {
    width: 80px;
    height: 80px;
  }

  .btn {
    width: 100%;
    font-size: 0.9rem;
  }
}

/* Small Screens */
@media (max-width: 480px) {
  .container{
    flex-direction: column;
    max-width: 90%;
  }

  .shop_btn a {
    font-size: 16px;
    padding: 10px 25px;
  }

  .container{
    display: flex;
  }

  table th,
  table td {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .hero p {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .container{
    flex-direction: column;
    padding: 16px;
    gap: 30px;

  }

   .perfume {
    max-width: 80%;
    margin-top: 35px;
  }
  .perfume img {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p{
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .content h1 {
    font-size: 1.8rem;
  }

  .h3 {
    font-size: 1.2rem;
  }

  .products-grid {
      grid-template-columns: 1fr;
  }
    
  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item img {
    width: 80px;
    height: 80px;
  }

  .btn {
    width: 100%;
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px){
  .container{
    gap:20px;
    padding: 20px;
  }

  .container-dashboard{
    margin: 20px;
  }
}


