/* ============================================
   ANTIQUE GALLERY - VINTAGE THEME
   ============================================ */

/* Import Vintage Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cinzel:wght@400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Merriweather', Georgia, serif;
}

body {
  background-color: #f5f0e6;
  min-height: 100vh;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4c4a8' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #3d3225;
}

/* ============================================
   HEADER / NAVBAR - VINTAGE STYLE
   ============================================ */
.header {
  background: linear-gradient(180deg, #4a3728 0%, #2d1f14 100%);
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 3px solid #c9a961;
  transition: transform 0.3s ease;
}

.header.hidden {
  transform: translateY(-100%);
}

.main-content {
  padding-top: 90px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Logo Image */
.logo-img {
  height: 60px;
  width: 180px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-logo-img {
  height: 35px;
  width: auto;
  border-radius: 5px;
  margin-right: 8px;
  object-fit: contain;
}

.logo-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(145deg, #d4af37, #aa8c2c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  border: 2px solid #8b6914;
}

.logo-text {
  color: #d4af37;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Playfair Display', serif;
}

/* Navigation Buttons - Vintage */
.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-btn {
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

/* Primary Button - Gold */
.nav-btn.primary {
  background: linear-gradient(145deg, #d4af37, #aa8c2c);
  color: #1a1208;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid #8b6914;
}

.nav-btn.primary:hover {
  background: linear-gradient(145deg, #e5c048, #bfa03a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Secondary Button - Outline */
.nav-btn.secondary {
  background: transparent;
  color: #d4af37;
  border: 2px solid #c9a961;
}

.nav-btn.secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 25px;
}

/* ============================================
   SEARCH BAR - VINTAGE
   ============================================ */
.search-section {
  background: linear-gradient(180deg, #4a3728 0%, #3a2a1c 100%);
  padding: 30px 20px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 215, 0, 0.1);
  border-bottom: 2px solid #c9a961;
  margin-top: 90px;
}

.search-container-main {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input-main {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid #c9a961;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  background: #f5f0e6;
  color: #3d3225;
  font-family: 'Merriweather', serif;
}

.search-input-main:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.search-btn-main {
  padding: 16px 32px;
  background: linear-gradient(145deg, #d4af37, #aa8c2c);
  color: #1a1208;
  border: 1px solid #8b6914;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.search-btn-main:hover {
  background: linear-gradient(145deg, #e5c048, #bfa03a);
  transform: translateY(-2px);
}

/* ============================================
   CATEGORIES SECTION - VINTAGE CIRCLE
   ============================================ */
.categories-section {
  background: linear-gradient(180deg, #f5f0e6 0%, #e8dfcf 100%);
  padding: 25px 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: 1px solid #d4c4a8;
}

.categories-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 5px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

/* Vintage Circle Category Buttons */
.category-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  min-width: 85px;
  background: linear-gradient(145deg, #4a3728, #2d1f14);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 3px solid #c9a961;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.category-circle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 215, 0, 0.3);
  border-color: #d4af37;
}

.category-circle.active {
  background: linear-gradient(145deg, #d4af37, #aa8c2c);
  border-color: #8b6914;
  transform: scale(1.08);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.category-circle .category-icon {
  font-size: 26px;
  margin-bottom: 2px;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

.category-circle .category-name {
  font-size: 9px;
  font-weight: 700;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Cinzel', serif;
}

.category-circle.active .category-name {
  color: #1a1208;
}

/* Category Tag on Product Card */
.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(145deg, #4a3728, #2d1f14);
  color: #d4af37;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  margin-bottom: 10px;
  border: 1px solid #c9a961;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

/* ============================================
   PRODUCT GRID - VINTAGE
   ============================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  padding: 25px 0;
}

/* Product Card - Vintage Style */
.card {
  background: linear-gradient(145deg, #fffcf5, #f5f0e6);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 0 0 1px #d4c4a8;
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid #d4c4a8;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a961, #d4af37, #c9a961);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.25),
    0 0 0 2px #c9a961;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 2px solid #d4c4a8;
}

.card-content {
  padding: 26px;
  background: linear-gradient(180deg, #fffcf5 0%, #f5f0e6 100%);
}

.card h3 {
  color: #2d1f14;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: #8b6914;
}

.card p {
  color: #5a4d3f;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

/* Product Price - Vintage Gold */
.product-price {
  font-size: 22px;
  color: #8b6914;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

/* View Details Button - Vintage */
.view-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(145deg, #4a3728, #2d1f14);
  color: #d4af37;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid #c9a961;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.view-btn:hover {
  background: linear-gradient(145deg, #5a4738, #3d2f24);
  transform: translateY(-2px);
  color: #e5c048;
}

/* ============================================
   PRODUCT DETAIL PAGE - VINTAGE
   ============================================ */
.product-detail {
  max-width: 950px;
  margin: 50px auto;
  background: linear-gradient(145deg, #fffcf5, #f5f0e6);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.2),
    0 0 0 2px #d4c4a8;
  border: 2px solid #d4c4a8;
}

.product-detail img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-bottom: 3px solid #c9a961;
}

.product-info {
  padding: 45px;
  background: linear-gradient(180deg, #fffcf5 0%, #f5f0e6 100%);
}

.product-info h2 {
  color: #2d1f14;
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  border-bottom: 2px solid #c9a961;
  padding-bottom: 15px;
}

.product-info p {
  color: #5a4d3f;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* Contact Button - Vintage Green */
.contact-btn {
  display: inline-block;
  padding: 16px 45px;
  background: linear-gradient(145deg, #2d5a3d, #1a3d28);
  color: #d4af37;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #c9a961;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.contact-btn:hover {
  background: linear-gradient(145deg, #3d7a52, #2a5d38);
  transform: translateY(-3px);
}

/* ============================================
   FORM STYLES - VINTAGE
   ============================================ */
.form-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 50px;
  background: linear-gradient(145deg, #fffcf5, #f5f0e6);
  border-radius: 8px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 0 2px #d4c4a8;
  border: 2px solid #d4c4a8;
}

.form-container h2 {
  color: #2d1f14;
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  border-bottom: 2px solid #c9a961;
  padding-bottom: 15px;
}

.form-group {
  margin-bottom: 26px;
}

.form-group label {
  display: block;
  color: #4a3728;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #d4c4a8;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  background: #fffcf5;
  color: #3d3225;
  font-family: 'Merriweather', serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c9a961;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* Submit Button - Vintage */
.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(145deg, #4a3728, #2d1f14);
  color: #d4af37;
  border: 2px solid #c9a961;
  border-radius: 4px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
}

.submit-btn:hover {
  background: linear-gradient(145deg, #5a4738, #3d2f24);
  transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS - VINTAGE
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  
  .logo-text {
    font-size: 24px;
  }
  
  .logo-icon {
    width: 45px;
    height: 45px;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
  }
  
  .search-container-main {
    flex-direction: column;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .form-container {
    margin: 30px auto;
    padding: 30px;
  }
  
  .product-info {
    padding: 30px;
  }
  
  .product-info h2 {
    font-size: 28px;
  }
  
  .category-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }
  
  .category-circle .category-icon {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 15px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  .nav-links {
    flex-wrap: wrap;
  }
  
  .nav-btn {
    padding: 10px 18px;
    font-size: 12px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .card img {
    height: 200px;
  }
  
  .form-container {
    margin: 20px auto;
    padding: 25px 20px;
  }
  
  .product-detail {
    margin: 20px auto;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .product-info h2 {
    font-size: 24px;
  }
  
  .contact-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   FOOTER - VINTAGE
   ============================================ */
.footer {
  background: linear-gradient(180deg, #2d1f14 0%, #1a1208 100%);
  color: #d4c4a8;
  padding: 50px 25px 25px;
  margin-top: 60px;
  border-top: 4px solid #c9a961;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4af37;
  font-family: 'Playfair Display', serif;
  border-bottom: 1px solid #4a3728;
  padding-bottom: 15px;
}

.footer-logo {
  font-size: 28px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 18px;
  color: #c9a961;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-section p {
  color: #a89878;
  line-height: 1.8;
}

.footer-section a {
  display: block;
  color: #a89878;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.footer-section a:hover {
  color: #d4af37;
  padding-left: 8px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 25px;
  border-top: 1px solid #3a2a1c;
  text-align: center;
  color: #6b5b4b;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer {
    padding: 35px 20px 20px;
  }
  
  .footer-content {
    gap: 30px;
    text-align: center;
  }
  
  .footer-section h3 {
    justify-content: center;
    font-size: 20px;
  }
}

/* ============================================
   SPONSOR BUTTON
   ============================================ */
.sponsor-btn {
  background: linear-gradient(145deg, #d4af37, #aa8c2c) !important;
  color: #1a1208 !important;
  border: 1px solid #8b6914 !important;
}

.sponsor-btn:hover {
  background: linear-gradient(145deg, #e5c048, #bfa03a) !important;
}

/* ============================================
   CONTACT INFO IN FOOTER
   ============================================ */
.contact-info {
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a89878;
}

.contact-info i {
  color: #d4af37 !important;
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #4a3728, #2d1f14);
  border: 2px solid #c9a961;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37 !important;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0 !important;
}

.social-link:hover {
  background: #d4af37;
  color: #1a1208 !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: white !important;
  border-radius: 4px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(145deg, #2ed573, #1abc9c);
}

.footer-section a i {
  color: #c9a961 !important;
  margin-right: 10px;
  font-size: 10px;
  width: auto;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
