/* ================================
   B&E Bartending Services
   Prohibition-Era Theme
   ================================ */

/* ---- Variables ---- */
:root {
  --bg-primary:    #0c0905;
  --bg-secondary:  #121008;
  --bg-card:       #1a1208;
  --bg-nav:        rgba(10, 7, 3, 0.96);

  --gold:          #c4973a;
  --gold-light:    #ddb96a;
  --gold-pale:     #eddfa8;
  --gold-dim:      rgba(196, 151, 58, 0.12);
  --gold-border:   rgba(196, 151, 58, 0.30);

  --text-primary:  #e8d5b0;
  --text-muted:    #8a6d42;
  --text-dim:      #4a3a20;

  --font-display:  'Cinzel Decorative', serif;
  --font-heading:  'Playfair Display', serif;
  --font-body:     'Cormorant Garamond', serif;

  --nav-height:    70px;
  --max-width:     1100px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* ---- Section Headers ---- */
.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-pale);
  white-space: nowrap;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
  position: relative;
}

/* ---- Navigation ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}

#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-logo span { color: var(--text-muted); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ---- Hero ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background:
    radial-gradient(ellipse at 50% 0%,   rgba(196, 151, 58, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 0%  100%, rgba(110,  20, 20, 0.07) 0%, transparent 50%),
    var(--bg-primary);
}

/* Corner decorations */
.hero-deco {
  position: absolute;
  width: 150px;
  height: 150px;
  border-color: var(--gold-border);
  border-style: solid;
  pointer-events: none;
}
.hero-deco.top-left    { top: 24px; left: 24px;  border-width: 2px 0 0 2px; }
.hero-deco.top-right   { top: 24px; right: 24px;  border-width: 2px 2px 0 0; }
.hero-deco.bottom-left { bottom: 24px; left: 24px;  border-width: 0 0 2px 2px; }
.hero-deco.bottom-right{ bottom: 24px; right: 24px;  border-width: 0 2px 2px 0; }

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

/* Emblem / monogram */
.hero-emblem {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.emblem-ring {
  position: absolute;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
}
.emblem-ring.outer { width: 190px; height: 190px; }
.emblem-ring.inner { width: 158px; height: 158px; }

.emblem-text {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 1;
  padding: 2.2rem 2.5rem;
  position: relative;
  z-index: 1;
}

.emblem-text span {
  color: var(--text-muted);
  font-size: 2.4rem;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ornament {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.3rem;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  letter-spacing: 0.06em;
}

/* CTA Button */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.6rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
  z-index: 0;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-primary:hover { color: var(--bg-primary); }
.btn-primary:hover::before { transform: translateX(0); }

/* ---- About ---- */
#about {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-content .lead {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 1.5rem;
}

.about-content p { font-size: 1.1rem; }

/* ---- Services ---- */
#services { background: var(--bg-primary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 2.5rem 1.75rem;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

/* Corner diamonds */
.service-card::before,
.service-card::after {
  content: '◆';
  position: absolute;
  color: var(--gold);
  font-size: 0.45rem;
  opacity: 0.45;
}
.service-card::before { top: 7px; left: 7px; }
.service-card::after  { bottom: 7px; right: 7px; }

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-pale);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.services-note {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---- Team ---- */
#team {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2.5rem;
}

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

.team-photo {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  border: 2px solid var(--gold-border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.team-card:hover .team-photo { border-color: var(--gold); }

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-card), #201608);
}

.team-photo-placeholder svg {
  width: 68px;
  height: 68px;
  opacity: 0.35;
  fill: var(--gold);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-pale);
  margin-bottom: 0.2rem;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.team-instagram {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.team-instagram:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* ---- Contact ---- */
#contact {
  background: var(--bg-primary);
  border-top: 1px solid var(--gold-border);
}

.contact-intro {
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2.5rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
  min-width: 220px;
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.contact-icon { font-size: 2rem; color: var(--gold); }

.contact-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* ---- Footer ---- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.footer-logo span { color: var(--text-muted); }

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-ornament {
  color: var(--gold);
  font-size: 0.5rem;
  letter-spacing: 0.4rem;
  margin-bottom: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--gold-border);
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.85rem; }

  .hero-deco { width: 80px; height: 80px; }
  .emblem-text { font-size: 2.6rem; }
  .hero-tagline { font-size: 1.3rem; }

  .section-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .section-header h2 {
    white-space: normal;
    font-size: 1.8rem;
  }
  .ornament-line { width: 80%; height: 1px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 480px) {
  body { font-size: 16px; }
  section { padding: 4rem 0; }

  .hero-deco { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .contact-cards { flex-direction: column; align-items: center; }
  .contact-card { min-width: 0; width: 100%; max-width: 300px; }
}
