/* Epoch Watch Store - Student Project Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #222;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ---- Navbar overrides ---- */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-icon-link {
  font-weight: 700;
  color: #6ab0ff !important;
  white-space: nowrap;
}

.cart-icon-link:hover {
  color: #fff !important;
}

/* ---- Utility ---- */
.container-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 56px; /* Bootstrap navbar height */
  background-color: #333;
  overflow: hidden;
}

.hero-video-bg,
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

/* ---- Hero Ticker ---- */
.hero-footer-ticker {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ccc;
  padding: 8px 0;
  white-space: nowrap;
  z-index: 10;
  font-size: 0.85rem;
  text-align: center;
}

.hero-footer-ticker span {
  margin: 0 20px;
}

/* ---- Page Header (interior pages) ---- */
.page-header {
  padding: 5rem 2rem 2.5rem;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  margin-top: 56px;
}

/* ---- Grid Layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* ---- Content Block ---- */
.content-block {
  padding: 3rem 0;
}

.image-wrapper {
  text-align: center;
}

.image-wrapper img {
  width: 100%;
  height: auto;
}

/* ---- Product Cards ---- */
.product-card {
  background: #fff;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.product-card img {
  height: 220px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.product-card .price {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ---- Buttons ---- */
.btn-epoch {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  background: #fff;
  color: #222;
  border: 2px solid #222;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 3px;
  text-decoration: none;
}

.btn-epoch:hover {
  background: #222;
  color: #fff;
  text-decoration: none;
}

.btn-epoch-fill {
  background: #0066cc;
  color: #fff;
  border: 2px solid #0066cc;
}

.btn-epoch-fill:hover {
  background: #004fa3;
  border-color: #004fa3;
  color: #fff;
}

/* ---- Form Styles ---- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 1.2rem;
}

/* ---- Video Section ---- */
.product-trailer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  text-align: center;
}

.product-trailer h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  background: #000;
}

.video-container video {
  width: 100%;
  display: block;
}

/* ---- Footer ---- */
footer {
  background-color: #222;
  color: #ccc;
  padding: 2.5rem 5% 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: #777;
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}