/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: #f2f2f2;
  color: #333;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1366px;
  margin: auto;
  background: #fff8f5;
  padding: 0 20px;
}

/* Header */
header {
  text-align: center;
  padding: 40px 20px;
}

header img.logo {
  width: 100px;
  margin-bottom: 15px;
}

header h1 {
  font-family: "Great Vibes", cursive;
  font-size: 3rem;
  color: #3c0133;
}

header h1 span {
  color: #ac389b;
}

header p {
  font-size: 1.2rem;
  color: #555;
}

/* Sections */
section {
  padding: 50px 20px;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  color: #3c0133;
  margin-bottom: 20px;
}

section p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h3 {
  padding: 15px 10px 5px;
  color: #3c0133;
  font-size: 1.2rem;
}

.product-card p {
  padding: 0 15px 20px;
  font-size: 0.95rem;
  color: #666;
  flex-grow: 1;
}

.order-btn {
  display: inline-block; /* makes the button only as wide as its content */
  padding: 8px 16px; /* smaller, compact padding */
  margin: 15px auto 20px; /* center horizontally inside the card */
  border-radius: 6px;
  background: #ac389b; /* your theme color */
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}

.order-btn:hover {
  background: #8f2f80;
}

/* Cards (What We Offer) */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 2.5rem;
  color: #ac389b;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  color: #3c0133;
}

.card p {
  color: #555;
}

/* Contact */
.contact-simple {
  max-width: 500px;
  margin: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.contact-item i {
  color: #ac389b;
  font-size: 1.3rem;
  width: 25px;
}

.contact-item a {
  color: #555;
  text-decoration: none;
}

.contact-item a:hover {
  color: #ac389b;
}

/* Social */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.social-icons a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  transition: 0.3s;
}

.facebook {
  background: #4267b2;
}

.instagram {
  background: #c13584;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.skin-type-section {
  padding: 50px 20px;
  background-color: #fdfdfd;
  text-align: center;
}

/* Skin Type Section */
.skin-types {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.skin-types h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.skin-types p {
  margin-bottom: 30px;
  color: #555;
}

.skin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 items per row */
  gap: 25px; /* same gap as product grid */
  justify-items: center;
}

.skin-card {
  background: #fff;
  border-radius: 12px; /* match product-card */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* match product-card */
  text-align: center;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 280px; /* same as product-card */
}

.skin-card:hover {
  transform: translateY(-5px);
}

.skin-card img {
  width: 100%;
  height: 180px; /* same as product-card */
  object-fit: cover; /* ensures images fill card without stretching */
  border-radius: 12px 12px 0 0; /* match product-card top corners */
  margin-bottom: 0; /* product-card has image flush at top */
}

.skin-card h3 {
  padding: 15px 10px 5px; /* same as product-card */
  color: #3c0133;
  font-size: 1.2rem;
}

.skin-card p {
  padding: 0 15px 20px;
  font-size: 0.95rem;
  color: #666;
  flex-grow: 1;
}

.skin-card .order-btn {
  display: inline-block;
  padding: 8px 16px; /* same as product-card */
  margin: 15px auto 20px;
  border-radius: 6px;
  background: #ac389b; /* match product-card color or theme */
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}

.skin-card .order-btn:hover {
  background: #8f2f80; /* match product-card hover */
}

/* Responsive: 2 per row on tablets */
@media (max-width: 992px) {
  .skin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 per row on mobile */
@media (max-width: 600px) {
  .skin-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: #212121;
  color: #fff;
  text-align: center;
  padding: 20px;
  max-width: 1366px;
  margin: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* for mobile responsiveness */
}

.footer-links a {
  margin-left: 15px;
  text-decoration: none;
  color: #fff;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .card {
    max-width: 100%;
  }
}
