/* =========================================================
   RESET & BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* =========================================================
   CONTAINER
========================================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}

.logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.85em;
  color: #0077cc;
  margin-left: 6px;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links a {
  color: #333;
}

.nav-links a:hover {
  color: #0077cc;
}

/* Transparent on homepage (added by JS) */
.site-header.transparent {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  border: none;
}

.site-header.transparent .logo,
.site-header.transparent .nav-links a {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Scrolled header */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
}

.site-header.scrolled .logo,
.site-header.scrolled .nav-links a {
  color: #111 !important;
  text-shadow: none;
  cursor: pointer;
}
.site-header.scrolled .nav-links a:hover {
  color: #0077cc !important;
  text-shadow: none;
  cursor: pointer;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
  position: relative;
  background: url("model_train.png") center center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 6rem) 1rem;
}

/* Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(255, 255, 255, 0.05) 100%
  );
  z-index: 0;
}

/* Fade to white */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #fff);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-family: 'Playfair Display', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #f8d77a;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.hero p {
  font-family: 'Playfair Display', serif;
  color: #f5e8c7;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0 auto 2rem;
  max-width: 700px;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.quote-button,
.shop-button {
  background: #0077cc;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.quote-button:hover,
.shop-button:hover {
  background: #f8d77a;
  color: #111;
}

/* =========================================================
   PRODUCT GRID
========================================================= */
.products {
  padding: 4rem 1rem 3rem;
  background-color: #fff;
}

.products h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #222;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease-in-out;
  padding: 1.2rem 1rem 1.6rem;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
}

.product-card-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0077cc;
  margin-bottom: 1.2rem;
}

.view-btn {
  background: #0077cc;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.view-btn:hover {
  background: #f8d77a;
  color: #111;
}

/* =========================================================
   PRODUCT PAGE
========================================================= */
.product-page {
  padding: 4rem 1rem;
  background: #fff;
}

.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Gallery */
.product-gallery {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  justify-content: center;
}

.thumbs img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.25s;
}

.thumbs img:hover,
.thumbs img.active {
  border-color: #0077cc;
}

@media (max-width: 900px) {
  .main-image {
    height: auto;
  }
  .thumbs img {
    width: 75px;
    height: 75px;
  }
}

/* Product Details */
.product-details {
  flex: 1 1 420px;
  margin-top: 1.2rem;
}

.product-details h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.product-price {
  color: #0077cc;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.product-description {
  font-family: 'Montserrat', sans-serif;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.shipping-dispatch {
  font-family: 'Montserrat', sans-serif;
  color: #444;
  margin-top: 1rem;      /* 👈 adds a clean gap above the Dispatch section */
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


.buy-button {
  background: #0077cc;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.buy-button:hover {
  background: #f8d77a;
  color: #111;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* Features & Details Section */
.features-list,
.details-section {
  margin-top: 2rem;
}

.features-list h2,
.details-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  border-left: 4px solid #0077cc;
  padding-left: 0.5rem;
  color: #111;
}

.features-list ul {
  list-style: disc;
  margin-left: 1.5rem;
  color: #555;
  line-height: 1.6;
}

.details-section p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media(max-width:768px) {
  .product-wrapper {
    flex-direction: column;
  }
  .thumbs img {
    width: 70px;
    height: 70px;
  }
  
  .hero {
      position: relative;
      background: url("model_train.png") center center / cover no-repeat;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      overflow: hidden;
      padding: clamp(12rem, 6vw, 6rem) 1rem;
    }
  
}

/* =========================================================
   WHY US SECTION
========================================================= */
.why-us {
  background: #f9fafb;
  padding: 4rem 1rem 3.5rem;
  text-align: center;
}

.why-us h2 {
  font-size: 1.9rem;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #222;
  font-family: 'Cinzel', serif;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.feature {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  width: 260px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #000;
}

.feature p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  max-width: 230px;
  font-family: 'Playfair Display', serif;
}
/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-section {
  background: #f9fafb;
  padding: 3rem 1rem;
}

.contact-section .container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #0077cc;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 0.75rem;
}

.contact-intro {
  font-family: 'Oswald', sans-serif;
  color: #555;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 600px;
}

.contact-info {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  text-align: left;
}

.contact-info p {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.contact-info strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #000;
  display: block;
}

.contact-info a {
  color: #0077cc;
  font-weight: 500;
}

.contact-info a:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* =========================================================
   LEGAL PAGES
========================================================= */
.legal-section {
  background: #f9fafb;
  padding: 3rem 1rem;
}

.legal-section .container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #0077cc;
}

.legal-section h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 1rem;
}

.legal-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  color: #222;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.legal-section p,
.legal-section li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.legal-section a {
  color: #0077cc;
}

.legal-section a:hover {
  text-decoration: underline;
}
.site-header .hamburger-toggle {
    color: black;
}
.site-header .transparent .hamburger-toggle {
    color: white;
}


/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  font-family: 'Montserrat', sans-serif;
  background: #f9fafb;
  color: #777;
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-content a,
.footer-content span {
  color: #555;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-content a:hover {
  color: #0077cc;
}

/* =========================================================
   MISC
========================================================= */
html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 90px;
}
