/* Zenee Cosmetics - Modern Turkish E-Commerce Design */

/* CSS Variables for Brand Colors */
:root {
  --primary-color: #d4a574;
  --primary-dark: #b88a5f;
  --secondary-color: #f5e6d3;
  --accent-color: #8b6f47;
  --text-dark: #2c2c2c;
  --text-light: #666666;
  --background: #ffffff;
  --background-light: #faf8f5;
  --border-color: #e5e5e5;
  --success-color: #5cb85c;
  --error-color: #d9534f;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* Header */
.header {
  background-color: var(--background);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 0;
  font-size: 0.875rem;
  text-align: center;
}

.header-main {
  padding: 15px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 30px;
}

.nav-desktop a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

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

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  position: relative;
  padding: 8px;
  color: var(--text-dark);
  transition: color 0.3s;
}

.icon-btn:hover {
  color: var(--primary-color);
}

.icon-btn img {
  width: 24px;
  height: 24px;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  padding: 8px;
  color: var(--text-dark);
}

.mobile-menu-btn img {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: var(--background);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.nav-mobile.active .nav-mobile-content {
  transform: translateX(0);
}

.nav-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-mobile a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.8), rgba(139, 111, 71, 0.8));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Section Styles */
.section {
  padding: 60px 0;
}

.section-light {
  background-color: var(--background-light);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

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

.product-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: var(--background-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.product-info {
  padding: 20px;
}

.product-category {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 16px;
  height: 16px;
  color: #ffc107;
}

.rating-count {
  font-size: 0.875rem;
  color: var(--text-light);
}

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

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s;
}

.add-to-cart-btn:hover {
  background-color: var(--primary-dark);
}

/* Filter Section */
.filter-section {
  margin-bottom: 40px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 20px;
  background-color: var(--background);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Product Detail Page */
.product-detail {
  padding: 40px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.product-detail-image {
  width: 100%;
  height: 500px;
  background-color: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.product-detail-category {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.product-detail-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.quantity-label {
  font-weight: 600;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
}

.quantity-btn {
  padding: 10px 15px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: background-color 0.3s;
}

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

.quantity-input {
  width: 60px;
  text-align: center;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 15px;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Reviews Section */
.reviews-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--border-color);
}

.reviews-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.review-card {
  background-color: var(--background-light);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.reviewer-name {
  font-weight: 600;
  color: var(--text-dark);
}

.review-date {
  color: var(--text-light);
  font-size: 0.875rem;
}

.review-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.review-text {
  color: var(--text-light);
  line-height: 1.6;
}

/* Cart Page */
.cart-section {
  padding: 40px 0;
  min-height: 60vh;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.cart-items {
  background-color: var(--background);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 20px;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  background-color: var(--background-light);
  border-radius: 5px;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.cart-item-category {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 10px;
}

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

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.remove-btn {
  color: var(--error-color);
  font-weight: 600;
  padding: 5px 10px;
  transition: opacity 0.3s;
}

.remove-btn:hover {
  opacity: 0.7;
}

.cart-summary {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  height: fit-content;
}

.cart-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
  border-bottom: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Checkout Form */
.checkout-form {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
}

.checkout-form h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Thank You Page */
.thank-you-section {
  padding: 60px 0;
  text-align: center;
  min-height: 60vh;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.thank-you-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.thank-you-section p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.order-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 30px 0;
}

.order-summary {
  max-width: 600px;
  margin: 40px auto;
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
}

.order-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-section p {
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-info img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cart-grid {
    grid-template-columns: 2fr 1fr;
  }
  
  .cart-item {
    grid-template-columns: 120px 1fr;
  }
  
  .cart-item-image {
    width: 120px;
    height: 120px;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 600px;
  }
  
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
