/* =========================================================
   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 (Universal & Hostinger Safe)
========================================================= */
.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;
  justify-content: center;
}

.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;
}

/* =========================================================
   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;
}

/* Dark 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 at bottom */
.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;
  align-items: center;
}

.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;
}

/* =========================================================
   PRODUCTS SECTION
========================================================= */
.products {
  padding: 4rem 1rem 3rem;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

.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;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease-in-out;
  font-weight: 600;
  color: #333;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   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 (responsive horizontal/vertical)
========================================================= */
.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;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 7vw;
  }
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .quote-button,
  .shop-button {
    width: 100%;
    max-width: 250px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SMOOTH SCROLLING
========================================================= */
html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 90px;
}
