/* ===== RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --antique-gold: #C8A96B;
  --vintage-brown: #4A3428;
  --dark-coffee: #1C1612;
  --classic-cream: #F6E7C1;
  --bronze-metallic: #8B6B3E;
  --deep-burgundy: #5C1E1E;
  --royal-emerald: #0F3B36;
  --midnight-black: #0B0B0B;
  --font-heading: 'Playfair Display', serif;
  --font-heading-alt: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--midnight-black);
  color: var(--classic-cream);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--midnight-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--antique-gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-screen h2 {
  font-family: var(--font-heading-alt);
  color: var(--antique-gold);
  margin-top: 20px;
  font-size: 2rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.95);
  box-shadow: 0 4px 30px rgba(200, 169, 107, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading-alt);
  font-size: 1.8rem;
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 3px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  color: var(--classic-cream);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--antique-gold);
  transition: width 0.3s;
  box-shadow: 0 0 10px var(--antique-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--antique-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--antique-gold);
  transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,11,11,0.9), rgba(28,22,18,0.85)),
              url('assets/img/hero-stamp.jpg') center/cover;
  filter: brightness(0.6);
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--antique-gold) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--antique-gold);
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(200, 169, 107, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--classic-cream);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 15px 35px;
  font-size: 1rem;
  border: 2px solid var(--antique-gold);
  background: transparent;
  color: var(--antique-gold);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  font-weight: 500;
}

.btn-primary {
  background: var(--antique-gold);
  color: var(--dark-coffee);
}

.btn-primary:hover {
  background: transparent;
  color: var(--antique-gold);
  box-shadow: 0 0 30px rgba(200, 169, 107, 0.4);
}

.btn-secondary:hover {
  background: var(--antique-gold);
  color: var(--dark-coffee);
  box-shadow: 0 0 30px rgba(200, 169, 107, 0.4);
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--antique-gold);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--antique-gold);
  margin: 20px auto 0;
  box-shadow: 0 0 15px var(--antique-gold);
}

/* ===== FEATURED COLLECTIONS ===== */
.featured {
  padding: 100px 0;
  background: var(--dark-coffee);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 169, 107, 0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(200, 169, 107, 0.2);
  border-color: var(--antique-gold);
}

.card-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.card:hover .card-image {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-family: var(--font-heading);
  color: var(--antique-gold);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.card-content p {
  color: var(--classic-cream);
  opacity: 0.8;
}

/* ===== AUCTION LIVE ===== */
.auction-live {
  padding: 100px 0;
  background: var(--midnight-black);
}

.auction-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--bronze-metallic);
  border-radius: 15px;
  padding: 40px;
}

.auction-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.auction-info h3 {
  font-family: var(--font-heading);
  color: var(--antique-gold);
  font-size: 2rem;
  margin-bottom: 15px;
}

.current-bid {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.gold-text {
  color: var(--antique-gold);
  font-weight: 600;
}

.countdown {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.time-block {
  text-align: center;
}

.time-block .number {
  display: block;
  font-size: 2.5rem;
  color: var(--antique-gold);
  font-family: var(--font-heading-alt);
}

.time-block .label {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== ARTICLES ===== */
.articles {
  padding: 100px 0;
  background: var(--dark-coffee);
}

.article-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(200, 169, 107, 0.2);
}

.article-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.article-content {
  padding: 25px;
}

.category {
  color: var(--antique-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.article-content h3 {
  font-family: var(--font-heading);
  color: var(--classic-cream);
  margin: 10px 0;
  font-size: 1.4rem;
}

.article-content p {
  opacity: 0.8;
  margin-bottom: 15px;
}

.read-more {
  color: var(--antique-gold);
  text-decoration: none;
  font-weight: 500;
}

/* ===== TIMELINE ===== */
.timeline {
  padding: 100px 0;
  background: var(--midnight-black);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--bronze-metallic);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--antique-gold);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--antique-gold);
}

.timeline-content {
  width: 40%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(200, 169, 107, 0.2);
}

.timeline-content h3 {
  color: var(--antique-gold);
  font-family: var(--font-heading-alt);
  font-size: 1.8rem;
}

.timeline-content h4 {
  color: var(--classic-cream);
  font-size: 1.2rem;
  margin: 10px 0;
}

.timeline-content p {
  opacity: 0.8;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--dark-coffee);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(200, 169, 107, 0.2);
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: var(--antique-gold);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-card p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.author h4 {
  color: var(--antique-gold);
  font-family: var(--font-heading);
}

.author span {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 100px 0;
  background: var(--midnight-black);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  transition: transform 0.4s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-coffee);
  padding: 80px 0 30px;
  border-top: 3px solid var(--antique-gold);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--antique-gold);
  font-family: var(--font-heading-alt);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-section h4 {
  color: var(--antique-gold);
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--classic-cream);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  font-size: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--antique-gold);
  color: var(--classic-cream);
  border-radius: 5px;
}

.newsletter-form button {
  padding: 12px 25px;
  background: var(--antique-gold);
  border: none;
  color: var(--dark-coffee);
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(200, 169, 107, 0.2);
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--midnight-black);
    flex-direction: column;
    padding: 40px;
    transition: right 0.3s;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .auction-card {
    grid-template-columns: 1fr;
  }
  
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    width: 100%;
  }
}