@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0f0f0f;
  --bg-light: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #b0b0b0;
  --accent: #c9a227;
  --accent-hover: #e0b84a;
  --border: #2a2a2a;
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  text-align: center;
  padding: 70px 20px 60px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--accent);
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
}

/* Sections */
.intro, .collections, .gallery-section, .contact-section {
  padding: 50px 0;
}

.intro h2, .collections h2, .gallery-section h2, .contact-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 600;
}

.intro p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 12px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Collection cards on home */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.collection-card {
  text-decoration: none;
  color: inherit;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.collection-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: blur(1px) brightness(0.7);
  transition: filter 0.3s;
}

.collection-card:hover .card-image {
  filter: blur(0) brightness(0.85);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

.divers-bg { background-image: url('../images/divers/reloj1.jpg'); }
.sport-bg { background-image: url('../images/sport-divers/reloj1.jpg'); }
.classic-bg { background-image: url('../images/classic/reloj1.jpg'); }
.lady-bg { background-image: url('../images/lady/reloj1.jpg'); }
.pilot-bg { background-image: url('../images/pilot/reloj1.jpg'); }
.urban-bg { background-image: url('../images/urban/reloj1.jpg'); }

.collection-card h3 {
  padding: 16px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

/* Gallery */
.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
  gap: 16px;
  margin-top: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.watch-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}

.watch-card:hover {
  transform: translateY(-4px);
}

.watch-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #111;
  display: block;
  padding: 8px;
}

.watch-info {
  padding: 12px;
  flex-grow: 1;
}

.watch-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.watch-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Contact */
.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background: var(--accent-hover);
}

.contact-info {
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  z-index: 1001;
}

.lightbox-close:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero {
    padding: 50px 20px 40px;
  }

  .intro, .collections, .gallery-section, .contact-section {
    padding: 40px 0;
  }
}