/* ---- FONT ---- */
@font-face {
  font-family: 'Collection';
  src: url('CollectionFree.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- VARIABLES ---- */
:root {
  --color-bg-dark:    #1a150e;
  --color-bg-darker:  #120f09;
  --color-bg-section: #2c2416;
  --color-bg-light:   #f5f0e8;
  --color-cream:      #e8dfc8;
  --color-text-light: #f5f0e8;
  --color-text-dark:  #2c2416;
  --color-accent:     #b89a6a;
  --font-display:     'Collection', serif;
  --font-typewriter:  'Special Elite', 'Courier New', monospace;
  --font-body:        Georgia, 'Times New Roman', serif;
}

/* ---- RESET ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.7;
}

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

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

/* ---- HERO ---- */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background-image: url('FondoWEB.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 4, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  padding: 1rem;
}

.logo {
  width: min(220px, 55vw);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

.slogan {
  font-family: var(--font-typewriter);
  font-size: clamp(0.9rem, 2.8vw, 1.25rem);
  color: var(--color-cream);
  letter-spacing: 0.22em;
  opacity: 0.75;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.btn-primary {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 2.2rem;
  background-color: transparent;
  border: 1.5px solid var(--color-cream);
  color: var(--color-cream);
  font-family: var(--font-typewriter);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: background-color 0.25s, color 0.25s;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-cream);
  color: var(--color-bg-dark);
  outline: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--color-cream);
  font-size: 1.2rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---- ABOUT ---- */
#about {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  text-align: center;
  padding: 5rem 1.5rem;
}

#about h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--color-text-dark);
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
  font-weight: normal;
}

#about p {
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: #5a4a35;
  line-height: 1.8;
}

/* ---- MAP ---- */
#map {
  background-color: var(--color-bg-section);
  padding: 4rem 0 3rem;
  text-align: center;
}

#map h2 {
  font-family: var(--font-typewriter);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--color-cream);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
  font-weight: normal;
}

.map-wrapper {
  width: 100%;
  line-height: 0;
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

#map address {
  font-style: normal;
  padding: 1.8rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

#map address p {
  font-size: 0.95rem;
  color: var(--color-cream);
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#map address a {
  color: var(--color-cream);
  opacity: 0.85;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

#map address a:hover {
  border-bottom-color: var(--color-cream);
}

#map address .fa-location-dot,
#map address .fa-phone {
  color: var(--color-accent);
  font-size: 0.9rem;
}

/* ---- FOOTER ---- */
footer {
  background-color: var(--color-bg-darker);
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  width: min(100px, 30vw);
  opacity: 0.85;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.3));
}

.social-links {
  display: flex;
  gap: 1.8rem;
}

.social-links a {
  font-size: 1.5rem;
  color: var(--color-cream);
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
}

.social-links a:hover {
  opacity: 1;
  transform: scale(1.15);
}

.btn-secondary {
  display: inline-block;
  padding: 0.65rem 2rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition: background-color 0.25s, color 0.25s;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  outline: none;
}

.copyright {
  font-size: 0.75rem;
  color: var(--color-cream);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 480px) {
  .logo {
    width: 160px;
  }

  .btn-primary {
    padding: 0.7rem 1.6rem;
  }

  #about {
    padding: 3.5rem 1.2rem;
  }

  #map {
    padding: 3rem 0 2rem;
  }

  .map-wrapper iframe {
    height: 300px;
  }

  #map address {
    padding: 1.5rem 1.2rem 0;
  }

  footer {
    padding: 2.5rem 1.2rem 1.5rem;
    gap: 1.2rem;
  }

  .social-links {
    gap: 1.4rem;
  }
}
