/* styles.css */

/* Base */
body {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  background: #fffaf5;
  color: #333;
}

/* Header */
header {
  background: #f86f51;
  padding: 1.5rem 1rem;
  text-align: center;
}
header img {
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: #ffe2d6;
  padding: 1rem;
  font-weight: 600;
}
nav a {
  text-decoration: none;
  color: #f86f51;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
nav a.active {
  color: #333;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 1rem;
}
.hero h1 {
  font-size: 2rem;
  color: #f86f51;
}
.hero p {
  font-size: 1.25rem;
  color: #4caeba;
  margin-top: 0.5rem;
}

/* ↓ Add this under your existing .hero rules or in the main CSS */

.hero img {
  display: block;          /* treat as block so auto-margin works */
  max-width: 100%;         /* never exceed its container width */
  height: auto;            /* maintain aspect ratio */
  margin: 0 auto 1rem;     /* centre horizontally + bottom gap */
  transform: none;
  /* Force exact width (or max-width for responsiveness) */
  width: 600px;        /* sets it exactly to 250px wide */
  max-width: 80%;      /* or “max-width:200px;” to cap its size */
  height: auto;        /* keeps aspect ratio */
  box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* your 3D shadow */
}

/* Sections grid */
.sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
}
.card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card h2 {
  color: #f86f51;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Detail sections */
.section {
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.section h2 {
  color: #f86f51;
  margin-bottom: 1rem;
  text-align: center;
}
.section p,
.section ul {
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

/* List item spacing */
.section ul li {
  margin-bottom: 1rem;
}

.section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* Venue item detail styling */
.venue-item-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.venue-item-detail .time,
.venue-item-detail .location {
  display: block;
}
.venue-item-detail a {
  margin-top: 0.25rem;
  color: #4caeba;
  text-decoration: underline;
}

/* Schedule item separators */
.schedule-item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

/* Venue contacts */
.venue-contacts {
  padding-top: 2rem;
  border-top: 1px solid #ccc;
}
.contact-item {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #ffe2d6;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .sections {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .sections {
    grid-template-columns: 1fr;
  }
}

.profile-photo {
  display: block;     /* make it a block so auto-margins work */
  margin: 0 auto 1rem; /* top-bottom 0/1rem, left-right auto */
  /* Remove previous 3D transform if any */
  transform: none;
  /* Force exact width (or max-width for responsiveness) */
  width: 250px;        /* sets it exactly to 250px wide */
  max-width: 80%;      /* or “max-width:200px;” to cap its size */
  height: auto;        /* keeps aspect ratio */
  box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* your 3D shadow */
}

.photos .gallery-cell {
  /* Set a fixed or responsive height for each slide */
  height: 400px;            /* adjust to whatever “div height” you want */
  overflow: hidden;         /* hide any overflow from cropping */
}

.photos .gallery-cell img {
  width: 100%;              /* fill the slide’s width */
  height: 100%;             /* fill the slide’s height */
  object-fit: cover;        /* crop/zoom to cover without distortion */
  object-position: center;  /* focus the crop on the image center */
}


