/* ---- GLOBAL STYLES & VARIABLES ---- */
:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --color-background: #121212; /* A slightly deeper black */
  --color-surface: #1e1e1e;   /* A slightly lighter black for cards */
  --color-text: #e0e0e0;
  --color-accent: #d4af37;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

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

/* ---- NAVBAR ---- */
.navbar {
  background-color: transparent;
  padding: 1.5rem 0;
  position: absolute;
  width: 100%;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading); /* This is the change */
  font-size: 1.7rem;
  font-weight: 700; /* Increased weight to match headings */
  letter-spacing: 1px; /* Adjusted spacing for the new font */
  text-decoration: none;
  color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header-link:hover {
  color: var(--color-accent);
}

.navbar-minimal .container {
  justify-content: center;
}

/* ---- HERO SECTION ---- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 90vh;
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-button {
  background-color: var(--color-accent);
  color: var(--color-background);
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
}

.cta-button:hover {
  opacity: 0.9;
}

/* ---- TRUST SECTION ---- */
.trust-section {
  background-color: var(--color-background);
  padding: 5rem 0;
  border-top: 1px solid var(--color-surface);
  border-bottom: 1px solid var(--color-surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  text-align: center;
}

.trust-item h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.trust-item p {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.7;
}

.trust-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  line-height: 1;
}

/* ---- PRODUCT SECTION ---- */
.product-section {
  padding: 6rem 0;
  text-align: center;
}

.product-section h2 {
  font-size: 3rem;
  margin-bottom: 4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.product-card {
  background-color: var(--color-surface);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.product-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}
.product-info p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  opacity: 0.8;
}
.price {
  font-size: 1.2rem;
  color: var(--color-accent);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.details-button {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  align-self: center;
}

.details-button:hover {
  background-color: var(--color-accent);
  color: var(--color-background);
}

.view-all-button {
  display: inline-block;
}

/* ---- PRODUCT DETAIL PAGE STYLES ---- */
.product-detail-container {
  padding-top: 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.product-images, .product-purchase-info {
    display: flex;
    flex-direction: column;
}

.product-images-content-wrapper, .product-purchase-content-wrapper {
    flex-grow: 1;
}

.main-image {
  width: 100%;
  border: 1px solid var(--color-surface);
}

.thumbnail-images {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--color-surface);
  transition: opacity 0.3s ease;
  opacity: 0.6;
}

.thumbnail:hover, .thumbnail.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.product-purchase-info h2 {
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.8;
  margin: 0;
}

.product-purchase-info h1 {
  font-size: 3.5rem;
  margin: 0.5rem 0 1.5rem 0;
  line-height: 1.1;
}

.product-detail-price {
  display: block;
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.product-description {
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  font-size: 0.95rem;
  border-top: 1px solid var(--color-surface);
  padding-top: 2rem;
}

.spec-list li {
  margin-bottom: 0.8rem;
}

.add-to-cart-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
}

.back-link.cta-button {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}
.back-link.cta-button:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
}


/* ---- ABOUT US & POLICY PAGE STYLES ---- */
.page-header {
  padding-top: 150px;
  padding-bottom: 10rem;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-header h1 {
  font-size: 3.5rem;
  color: white;
}

.about-header {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/rolex-datejust-6609/main.jpg');
}

.policy-header {
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/cartier-tank-17002/main.jpg');
}

.text-content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.about-content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.about-opener {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--color-accent);
}

.about-body p {
    font-size: 1.2rem;
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.policy-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.policy-intro h3 {
    font-size: 1.8rem;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.policy-item {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: 4px;
}

.policy-item h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--color-accent);
}

.policy-item ul, .policy-item ol {
    padding-left: 20px;
    opacity: 0.8;
}

.policy-item ul li, .policy-item ol li {
    margin-bottom: 0.75rem;
}

.policy-item-full-width {
    grid-column: 1 / -1;
}

.policy-note {
    text-align: center;
    opacity: 0.7;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta-section {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--color-surface);
}

/* ---- COMING SOON SECTION ---- */
.coming-soon-section {
    padding: 4rem 1rem;
    border-top: 1px solid var(--color-surface);
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon-item {
    background-color: var(--color-surface);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 4px;
}

.coming-soon-item h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.coming-soon-item p {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin: 0;
    font-family: var(--font-body);
}

/* ---- SOCIALS SECTION ---- */
.socials-section {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--color-surface);
}

.socials-section h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.socials-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* ---- FOOTER STYLES (2-Column Layout) ---- */
.site-footer {
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--color-surface);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.footer-branding {
  text-align: left;
  flex: 2;
}

.footer-action {
  text-align: right;
  flex: 1;
}

.footer-branding h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  color: white;
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-branding p {
  max-width: 450px;
  margin: 0;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-contact-button {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-surface);
  font-size: 0.9rem;
  opacity: 0.5;
}

.site-footer.footer-minimal {
    margin-top: 3rem;
    padding-top: 3rem;
}

/* =================================== */
/* ---- INTRO ANIMATIONS ---- */
/* =================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.animate-fade-in-up-delay1 {
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.animate-fade-in-up-delay2 {
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.animate-fade-in-up,
.animate-fade-in-up-delay1,
.animate-fade-in-up-delay2,
.animate-fade-in-up-delay3,
.animate-fade-in-up-delay4 {
  opacity: 0;
}


/* =================================== */
/* ---- MOBILE RESPONSIVE STYLES ---- */
/* =================================== */

@media (max-width: 768px) {

  /* --- General Spacing --- */
  .container {
      width: 90%;
  }

  /* --- Header / Navbar --- */
  .navbar .container {
      padding: 0 1rem;
      flex-direction: column;
      gap: 0.75rem;
  }
  .logo {
      font-size: 1.2rem;
  }
  .header-actions {
      gap: 1.5rem;
  }
  .header-link {
      font-size: 0.9rem;
  }

  /* --- Typography Adjustments --- */
  .hero-content h1 {
      font-size: 2.5rem;
  }
  .product-section h2 {
      font-size: 2.2rem;
  }
  .product-purchase-info h1 {
      font-size: 2.2rem;
  }
  .product-detail-price {
      font-size: 1.8rem;
  }
  .product-description {
      font-size: 0.95rem;
      line-height: 1.7;
  }
  .add-to-cart-button {
      font-size: 1.1rem;
  }

  /* --- Layout Stacking & Spacing --- */
  .product-detail-container {
      grid-template-columns: 1fr;
      padding-top: 120px;
      gap: 2rem;
  }
  .thumbnail-images {
      flex-wrap: wrap;
  }
  .thumbnail {
      width: 80px;
      height: 80px;
  }
  .product-purchase-info {
      overflow-wrap: break-word;
  }
  
  .footer-main {
      text-align: center;
      justify-content: center;
  }

  .footer-branding, .footer-action {
      flex: 1 1 100%;
      text-align: center;
  }

  .footer-branding p {
      margin-left: auto;
      margin-right: auto;
  }

  /* --- Section Padding --- */
  .hero {
      height: 70vh;
  }

  .trust-section {
      padding: 3rem 1rem;
  }

  .product-section {
      padding: 4rem 1rem;
  }

  .site-footer {
      padding: 4rem 1rem 2rem 1rem;
  }

  /* --- About & Policy Page Mobile --- */
  .page-header {
      padding-top: 120px;
      padding-bottom: 6rem;
  }
  .page-header h1 {
      font-size: 2.5rem;
  }
  .about-opener {
      font-size: 1.5rem;
  }
  .about-body p {
      font-size: 1.1rem;
  }
}
