/* ===== CSS Variables ===== */
:root {
  --primary: #1B263B;
  --secondary: #D4AF37;
  --accent: #C4713C;
  --bg: #F9F6F0;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--primary);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-size: 2.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--secondary);
  color: var(--primary);
}
.btn-primary:hover {
  background-color: #cdaa2d;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-secondary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: #2c3e5e;
  transform: scale(1.05);
}
.btn-outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}
.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: scale(1.05);
}
.btn-small {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
}
.btn-small:hover {
  background: #cdaa2d;
  transform: translateY(-2px);
}

/* ===== Glassmorphism Card ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(27, 38, 59, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}
.logo .accent {
  color: var(--secondary);
}

/* Hamburger menu for mobile */
.menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--secondary);
  transition: 0.3s;
}
.nav ul {
  display: flex;
  gap: 2rem;
}
.nav a {
  color: var(--white);
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 5px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}
.nav a:hover {
  color: var(--secondary);
}
.nav a:hover::after {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1567401893414-76b7b1e5a7a5?w=1200');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,38,59,0.85), rgba(27,38,59,0.4));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 3rem;
  color: var(--white);
}
.hero-content h1 {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  animation: floatIn 1.2s ease forwards;
}
.tagline {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.9);
}
.desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== About ===== */
.about {
  padding: 6rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image img {
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  width: 100%;
  object-fit: cover;
}
.about-text h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== Categories ===== */
.categories {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, #e8dfd1 100%);
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
.category-card {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  z-index: 1;
}
.category-card:hover {
  transform: translateY(-8px);
}
.category-glass {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s;
}
.category-card:hover .category-glass {
  background: rgba(212, 175, 55, 0.25);
}
.category-glass h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.explore-link {
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.3s;
}
.explore-link:hover {
  color: #fff;
}

/* ===== Products ===== */
.products {
  padding: 6rem 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}
.product-img {
  overflow: hidden;
  height: 300px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-info {
  padding: 1.5rem;
  text-align: center;
}
.product-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 5rem 0;
  background: var(--bg);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  text-align: center;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
}
.testimonial-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary);
  margin: 0 auto 1rem;
}
.quote {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
}
.author strong {
  display: block;
  color: var(--primary);
}
.author span {
  font-size: 0.9rem;
  color: #666;
}

/* ===== Contact ===== */
.contact {
  padding: 6rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info i {
  color: var(--secondary);
  width: 20px;
}
.contact-info a {
  color: var(--primary);
  text-decoration: underline;
}
.store-map {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}
.store-map img {
  width: 100%;
  border-radius: 12px;
}
.contact-form h3 {
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  transition: border 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.3);
}
.form-group textarea {
  resize: vertical;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-about h3,
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  color: var(--secondary);
}
.footer-links ul li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #ccc;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--secondary);
}
.footer-contact p {
  margin-bottom: 0.5rem;
}
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-icons a {
  color: var(--secondary);
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
}
.social-icons a:hover {
  color: var(--white);
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
}

/* ===== Keyframe Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floatIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-content.fade-up {
  animation: floatIn 1.2s ease forwards;
}
.btn-primary {
  animation: pulse 2s infinite;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .tagline {
    font-size: 1.4rem;
  }
  .nav ul {
    display: none;
    flex-direction: column;
    background: rgba(27, 38, 59, 0.95);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    gap: 1rem;
    transform: translateY(-200%);
    transition: transform 0.4s ease;
  }
  .hamburger {
    display: flex;
  }
  #menu-toggle:checked ~ .nav ul {
    display: flex;
    transform: translateY(0);
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .glass-card {
    padding: 1.5rem;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}