/* After Tan Co - Shared Styles */

:root {
  --primary-color: #EC4B9A; /* Pink */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #1d1d1d;
  --bg-light: #f5f6f7;
  --nav-font: 'Oswald', sans-serif;
  --heading-font: 'Abril Fatface', cursive;
  --body-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header & Navigation */
header {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-family: var(--nav-font);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 5px;
}

.hero h1 {
  font-family: var(--heading-font);
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: normal;
}

.btn-primary {
  display: inline-block;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 25px;
  font-family: var(--nav-font);
  text-transform: uppercase;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Products Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: normal;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.product-card {
  width: 300px;
  text-align: center;
  margin-bottom: 30px;
}

.product-img-wrapper {
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.product-card img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
  min-height: 50px;
}

.product-price {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Sold Out Styling */
.btn-sold-out {
  border-color: #999;
  color: #999;
  cursor: not-allowed;
}
.btn-sold-out:hover {
  background-color: transparent;
  color: #999;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--text-light);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.modal-content h3 {
  font-family: var(--heading-font);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: normal;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact a {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.copyright {
  font-size: 0.9rem;
  color: #888;
}

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--body-font);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-image {
  flex: 1;
  min-width: 300px;
}
.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }
