/* --- Variables --- */
:root {
  /* Richer, premium color palette */
  --bg-main: #f9f8f6; /* Warm off-white */
  --bg-alt: #ffffff;
  --charcoal: #1c1c1c; /* Deep black/grey */
  --gold: #b89768; /* Luxury muted gold */
  --text-muted: #7a7a7a;
  --border: #e2dfd8;

  --font-heading: "Cormorant Garamond", serif;
  --font-ui: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg-main);
  color: var(--charcoal);
  overflow-y: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.nav-brand,
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Region Modal --- */
#region-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(28, 28, 28, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
#region-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-main);
  padding: 60px 50px;
  width: 90%;
  max-width: 500px;
  text-align: center;
}
.modal-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 40px;
}
.region-btn {
  padding: 15px;
  background: transparent;
  border: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.region-btn:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.region-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.enter-btn {
  width: 100%;
  padding: 18px;
  background: var(--charcoal);
  color: #fff;
  border: none;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.3s;
}
.enter-btn:hover {
  background: var(--gold);
}

/* --- Announcement & Nav --- */
.announcement-bar {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

nav {
  position: fixed;
  top: 35px;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: 0.4s;
}
nav.scrolled {
  top: 0;
  background: rgba(249, 248, 246, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-size: 2.2rem;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.nav-left,
.nav-right {
  display: flex;
  gap: 30px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}
.nav-right {
  justify-content: flex-end;
}
.nav-left a:hover,
.nav-right a:hover {
  color: var(--gold);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/hero-bg.webp");
  background-size: cover;
  background-position: center 20%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}
.hero-content {
  margin-top: 50px;
}
.hero-content .subtitle {
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--gold);
}
.hero-content .title {
  font-size: 5rem;
  margin-bottom: 40px;
  line-height: 1;
}
.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  transition: 0.4s;
}
.cta-btn:hover {
  background: #fff;
  color: var(--charcoal);
}

/* --- Global Section Padding --- */
section {
  padding: 100px 5%;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* --- Categories Section --- */
.categories-section {
  background-color: var(--bg-alt);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  height: 600px;
  overflow: hidden;
  cursor: pointer;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.cat-card:hover img {
  transform: scale(1.05);
}
.cat-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cat-overlay h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.cat-overlay a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid #fff;
  padding-bottom: 3px;
}

/* --- Products Section --- */
.products-section {
  background-color: var(--bg-main);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.product-card {
  cursor: pointer;
}
.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin-bottom: 20px;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.add-to-bag {
  position: absolute;
  bottom: -60px;
  width: 100%;
  background: rgba(28, 28, 28, 0.95);
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.4s ease;
}
.product-card:hover .add-to-bag {
  bottom: 0;
}
.product-title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  margin-bottom: 5px;
}
.product-price {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Campaign Section (Dark Mode) --- */
.campaign-section {
  background: var(--charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.campaign-content {
  padding: 100px 8%;
  width: 50%;
}
.campaign-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--gold);
}
.campaign-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #ccc;
  font-weight: 300;
}
.cta-link-light {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  color: var(--gold);
  transition: 0.3s;
}
.cta-link-light:hover {
  color: #fff;
  border-color: #fff;
}
.campaign-image {
  width: 50%;
  height: 700px;
}
.campaign-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
footer {
  background: var(--bg-alt);
  text-align: center;
}
.newsletter {
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
}
.newsletter h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.newsletter p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.9rem;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  width: 70%;
  padding: 15px;
  border: 1px solid var(--border);
  border-right: none;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  outline: none;
  background: transparent;
}
.newsletter-form button {
  width: 30%;
  background: var(--charcoal);
  color: #fff;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
}
.newsletter-form button:hover {
  background: var(--gold);
}
.footer-bottom {
  padding: 60px 5%;
  background: var(--bg-main);
}
.footer-brand {
  font-size: 2rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a:hover {
  color: var(--gold);
}
/* --- Footer --- */
.footer-bottom p { 
    color: #aaa; 
    font-size: 0.75rem; 
    margin-bottom: 8px;
}

/* Agency Credit Styling */
.agency-credit {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 10px;
}

.agency-credit a {
    color: var(--gold);
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.agency-credit a:hover {
    color: var(--charcoal);
    border-bottom: 1px solid var(--charcoal);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .campaign-section {
    flex-direction: column;
  }
  .campaign-content,
  .campaign-image {
    width: 100%;
  }
  .hero-content .title {
    font-size: 3.5rem;
  }
  .nav-left,
  .nav-right {
    display: none;
  }
  .announcement-bar {
    display: none;
  }
  nav {
    top: 0;
  }
}
