/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; background: #f9f9f9; }

/* Header */
header {
  background: #111; 
  color: white; 
  padding: 15px 50px;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}
header .logo { font-size: 22px; font-weight: bold; }
header nav a {
  color: white; 
  margin: 0 15px; 
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}
header nav a:hover { 
  color: #ff4d6d;
  transform: scale(1.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px; /* space between image and text */
  font-size: 26px;
  font-weight: bold;
  color: #fff;
}

.logo-img {
  width: 40px;   /* keeps existing size */
  height: 40px;
  object-fit: contain;
}

/* Hero Section */
.hero {
  text-align: center; 
  padding: 80px 20px;
  background: url('Images/hero-bg.jpg') no-repeat center center/cover;
  color: white;
}
.hero h1 { font-size: 48px; margin-bottom: 10px; }
.hero p { font-size: 20px; margin-bottom: 20px; }
.btn {
  background: #cc2f4c;   
  color: white;
  padding: 14px 32px;
  font-size: 24px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s ease;
}
.btn:hover {
  background: #9b2034;
  transform: scale(1.05);
}

/* Products */
.products h2 {
  font-size: 32px;
  color: #111;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 per row */
  gap: 20px;
}

#product-grid .product img {            /* make it fill the card’s width */           /* set a fixed display height */
  object-fit: cover;        /* crop the image, no stretching */
  border-radius: 10px;      /* optional, matches your style */
  display: block;
}

.product {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Shop page product images only */
.shop-products .product img {
  aspect-ratio: 3 / 4;   /* maintains 3:4 ratio like product details page */
  max-width: 600px;      /* prevents overly large images */
  max-height: 800px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}


.shop-products .product:hover img {
  transform: scale(1.05);
}


.product img {  
  width: 100%;    /* fixed container height */
  object-fit: cover;       /* keeps image ratio, fills the container */
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.product:hover img {
  transform: scale(1.05); /* subtle zoom on hover */
}


.product h3 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.product p {
  margin: 5px 0;
  font-size: 16px;
}

.buy-btn {
  background: #cc2f4c;  
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}
.buy-btn:hover {
  background: #9b2034;
  transform: scale(1.05);
}

/* Product Page Mini Form */
#order-form {
  margin-top: 30px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: #222;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}
#order-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 14px;
}
#order-form input,
#order-form textarea,
#order-form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
  background: #333;
  color: #fff;
}
#order-form textarea { resize: vertical; }
#order-form input::placeholder,
#order-form textarea::placeholder { color: #aaa; }
#order-form button {
  width: 100%;
  padding: 12px;
  background: #cc2f4c;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}
#order-form button:hover {
  background: #9b2034;
  transform: scale(1.05);
}

/* Floating Social Media Bar */
.social-bar {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.social-bar .social-icon {
  width: 60px;
  height: 60px;
  background: #fff;       /* white background */
  border-radius: 50%;     /* make it round */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: 0.3s;
  overflow: hidden;
}

.social-bar .social-icon img {
  width: 70%;   /* icon scales nicely inside */
  height: 70%;
  object-fit: contain;
}

.social-bar .social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}


/* Footer */
footer {
  text-align: center; 
  padding: 20px; 
  background: #111; 
  color: white;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
  .product img { width: 100%; height: 400px; }
}

@media (max-width: 768px) {
  header { flex-direction: column; align-items: flex-start; }
  header nav { margin-top: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .btn { font-size: 20px; padding: 12px 24px; }
}
