/*
 * Global stylesheet for the luxury watch leasing platform.
 *
 * The design is inspired by the rich emerald and gold palette seen on high‑end
 * watch websites. Dark backgrounds paired with warm metallic accents give
 * the interface a refined, sophisticated feel. Typography choices favor
 * classic serif fonts for headings and clean sans‑serif fonts for body text.
 */

/* CSS reset and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: Arial, Helvetica, sans-serif;
  /* Light base for a crisp, luxurious feel */
  background-color: #ffffff;
  color: #012d26;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Reusable classes */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn.primary {
  background-color: #d4af37; /* gold */
  color: #012d26;
}

.btn.primary:hover {
  background-color: #c29a2f;
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
}

.btn.secondary:hover {
  background-color: #d4af37;
  color: #012d26;
}

/* Navigation bar */
/* Navigation bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #d4af37;
}

.navbar nav ul {
  display: flex;
  gap: 1.5rem;
}

.navbar nav a {
  font-size: 1rem;
  color: #012d26;
  padding-bottom: 0.25rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar nav a.active,
.navbar nav a:hover {
  color: #d4af37;
}

.navbar nav a.active::after,
.navbar nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #d4af37;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
}

/* Hero section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.hero-content {
  flex: 1 1 50%;
  max-width: 550px;
}

.hero-content h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #d4af37;
}

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

.hero-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Brands section */
.brands {
  padding: 3rem 2rem;
  background-color: #f6f7f6;
}

.brands h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #d4af37;
  font-family: Georgia, 'Times New Roman', serif;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.brand-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.brand-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
}

.brand-card .brand-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem;
  background: rgba(255,255,255,0.85);
  color: #012d26;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

/* Features section */
.features {
  padding: 3rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #d4af37;
  font-family: Georgia, 'Times New Roman', serif;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #012d26;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background-color: #f1f5f3;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #d4af37;
  font-family: Georgia, 'Times New Roman', serif;
}

.feature p {
  font-size: 0.95rem;
  color: #012d26;
  line-height: 1.5;
}

/* Listings page styles */
.listings {
  padding: 3rem 2rem;
  background-color: #ffffff;
}

.listings h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #d4af37;
  text-align: center;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.watch-card {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.watch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.watch-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(1);
}

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

.watch-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: #d4af37;
}

.watch-card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #012d26;
}

.watch-card .price {
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #d4af37;
}

/* Form page styles */
.form-section {
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-section h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #d4af37;
  font-family: Georgia, 'Times New Roman', serif;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #012d26;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 4px;
  border: 1px solid #cccccc;
  background-color: #f7f7f7;
  color: #012d26;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
}

.form-actions {
  text-align: center;
  margin-top: 1.5rem;
}

/* Insurance page styles */
.insurance-content {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.insurance-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #d4af37;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
}

.insurance-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #012d26;
  line-height: 1.5;
}

.insurance-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
  color: #d4af37;
}

/* Footer */
.footer {
  padding: 1rem 2rem;
  text-align: center;
  background-color: #013a2b;
  color: #767f79;
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 2rem;
  }
  .hero-image {
    order: -1;
    margin-bottom: 2rem;
  }
  .nav-actions {
    display: none;
  }
  .navbar nav ul {
    gap: 1rem;
  }
  .watch-card img {
    height: 180px;
  }
}
