/* ============================================================
   GENERAL RULES
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cormorant Garamond", serif;
  background-image: url(Images/background1.jpg);
  color: #f5ebd7;
  line-height: 1.6;
}

.allcontent {
  width: 900px;
  margin: auto;
  background: rgba(28, 24, 20, 0.95);
  border: 2px solid #c49b60;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.7);
  padding-bottom: 2rem;
}

/* ============================================================
  NAVIGATION BAR
============================================================ */
header {
  background: rgba(28, 22, 18, 0.9);
  border-bottom: 2px solid #c49b60;
  position: sticky;
  top: 0;
  z-index: 20;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.6rem;
  font-family: "Cinzel Decorative", serif;
  color: #d4af37;
  text-shadow: 0 0 6px rgba(212,175,55,0.5);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #f5ebd7;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d4af37;
  border-bottom: 1px solid #d4af37;
}

/* ============================================================
   HOMEPAGE INTRO
============================================================ */
.homepage .intro-section {
  text-align: center;
  padding: 3rem 2rem;
}

.homepage .intro-section h1 {
  font-size: 2.2rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.homepage .intro-section p {
  font-size: 1.15rem;
  color: #f5ebd7;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   HOMEPAGE - ERA PREVIEWS
============================================================ */
.homepage .preview {
  text-align: center;
  padding: 3rem 2rem;
}

.homepage .preview h2 {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 2rem;
}

.homepage .era-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 1.5rem; 
  padding: 0 1rem; 
}

.homepage .era-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(50, 40, 30, 0.85);
  border: 2px solid #c49b60;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease;
  padding-bottom: 0.75rem; 
}

.homepage .era-card::before {
  content: "";
  position: absolute;
  inset: 0; 
  border-radius: 10px;
  background: rgba(0,0,0,0);
  z-index: 0;
}

.homepage .era-card img {
  width: 100%;  
  height: 200px; 
  object-fit: cover; 
  border-bottom: 2px solid #c49b60; 
  position: relative;
  z-index: 1;
}

.homepage .era-card h3 {
  color: #f5ebd7;
  font-family: "Cinzel Decorative", serif;
  font-size: 1.2rem;
  text-align: center;
  margin: 0.5rem 0 0;
  position: relative;
  z-index: 1;
}

.preview h2 a.explore-link {
  color: #d4af37;             
  text-decoration: none;        
  font-family: "Cinzel Decorative", serif;
  transition: all 0.3s ease;  
  cursor: pointer;             
  position: relative;           
}

.preview h2 a.explore-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #d4af37;
  transition: width 0.3s ease;
}

.preview h2 a.explore-link:hover {
  color: #f5ebd7;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

.preview h2 a.explore-link:hover::after {
  width: 100%;
}

.homepage .era-card:hover {
  transform: scale(1.01); 
}

.homepage .era-card:hover {
  transform: scale(1.01);
}

.homepage .era-grid .era-card:nth-child(1):hover {
  box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.25);
}

.homepage .era-grid .era-card:nth-child(2):hover {
  box-shadow: inset 0 0 30px rgba(255, 99, 71, 0.25);
}

.homepage .era-grid .era-card:nth-child(3):hover {
  box-shadow: inset 0 0 30px rgba(255, 0, 150, 0.25);
}

.homepage .era-grid .era-card:nth-child(4):hover {
  box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .homepage .era-grid {
    grid-template-columns: 1fr;
  }

  .homepage .era-card img {
    height: auto;
  }
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  text-align: center;
  padding: 3rem 2rem;
}

.testimonials h2 {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(50,40,30,0.85);
  border: 2px solid #c49b60;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card p {
  color: #f5ebd7;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.testimonial-card h4 {
  color: #d4af37;
  font-family: "Cinzel Decorative", serif;
  margin: 0;
  font-size: 1rem;
}

/* ============================================================
   STAFF INTROS
============================================================ */
.staff-section {
  text-align: center;
  padding: 3rem 2rem;
}

.staff-section h2 {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 2rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.staff-card {
  background: rgba(50, 40, 30, 0.85);
  border: 2px solid #c49b60;
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

.staff-card h3 {
  color: #d4af37;
  font-family: "Cinzel Decorative", serif;
  margin-bottom: 0.5rem;
}

.staff-card p {
  color: #f5ebd7;
  font-size: 1rem;
  line-height: 1.4;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(212,175,55,0.5);
}

@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MENU SECTIONS
============================================================ */
.menu-section {
  padding: 3rem 2rem;
  text-align: center;
}

.menu-section h1 {
  font-size: 2.2rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.menu-section p {
  color: #f5ebd7;
  margin-bottom: 2rem;
}

.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 220px 1fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(50,40,30,0.85);
  border: 2px solid #c49b60;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #c49b60;
  flex-shrink: 0;
}

.menu-item h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #d4af37;
  font-family: "Cinzel Decorative", serif;
}

.menu-item p {
  color: #f5ebd7;
  line-height: 1.45;
  margin: 0;
  text-align: left;
}

.menu-item[data-era="1920s"]:hover {
  box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.35);
}
.menu-item[data-era="1950s"]:hover {
  box-shadow: inset 0 0 40px rgba(255, 99, 71, 0.35);
}
.menu-item[data-era="1980s"]:hover {
  box-shadow: inset 0 0 40px rgba(255, 0, 150, 0.35);
}
.menu-item[data-era="futuristic"]:hover {
  box-shadow: inset 0 0 40px rgba(0, 255, 255, 0.35);
}

.menu-item:hover {
  transform: translateY(-3px);
}

/* ============================================================
   ERAS TIMELINE
============================================================ */
.eras-timeline {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
  position: relative;
}

.eras-timeline h1 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #d4af37;
  text-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.eras-timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(
    to bottom,
    rgba(212,175,55,0) 0%,
    rgba(212,175,55,0.8) 50%,
    rgba(212,175,55,0) 100%
  );
  transform: translateX(-50%);
}

.era-block {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 5rem 0;
  align-items: center;
}

.timeline-node {
  width: 22px;
  height: 22px;
  background: #d4af37;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(212,175,55,0.8);
}

/* ============================================================
   ERAS PAGE CARDS (ON TIMELINE)
============================================================ */
.postcard {
  display: flex;
  flex-direction: column;
  align-items: center; 
  background: rgba(50, 40, 30, 0.85);
  border: 2px solid #c49b60;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  width: 420px;
  text-decoration: none;
  padding-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.postcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: rgba(0,0,0,0);
  z-index: 0;
}

.postcard img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #c49b60;
  position: relative;
  z-index: 1;
}

.postcard .era-content h2 {
  color: #d4af37;   
  text-align: center;   
  font-family: "Cinzel Decorative", serif;
  margin: 0.5rem 0 0;
}

.postcard .era-content p {
  color: #f5ebd7;    
  text-align: center;   
  margin: 0.25rem 0 0.75rem;
  max-width: 90%;
}

.postcard:hover {
  transform: scale(1.01); 
  box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.2);
}

.postcard[data-era="1920s"]:hover {
  box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.2); 
}

.postcard[data-era="1950s"]:hover {
  box-shadow: inset 0 0 30px rgba(255, 99, 71, 0.2); 
}

.postcard[data-era="1980s"]:hover {
  box-shadow: inset 0 0 30px rgba(255, 0, 150, 0.2); 
}

.postcard[data-era="futuristic"]:hover {
  box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.2); 
}

@media (max-width: 768px) {
  .postcard {
    width: 100%;
  }
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  text-align: center;         
  padding: 1.5rem 0;          
  background: rgba(28, 22, 18, 0.9); 
  border-top: 2px solid #c49b60;
  font-size: 0.95rem;          
  color: #f5ebd7;              
  line-height: 1.6;
  font-family: "Cormorant Garamond", serif;
}

footer a {
  color: #d4af37;               
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  text-decoration: underline;
}