/*
  EMiDORA Website Stylesheet
  - Consistent, clear, and responsive styles for all pages
  - Place this file in the emidora.com 3.0 folder
*/

:root {
  --primary-bg: #fff;
  --primary-text: #000;
  --accent: #a7b1eb;
  --header-bg: rgba(255,255,255,0.8); /* changed back to white translucent */
  --gallery-bg: rgba(255,255,255,0.8); /* changed back to white translucent */
  --border: rgba(255,255,255,0.3);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: var(--primary-bg) url('Images/Compressed/comp_background.jpg') top center repeat;
  color: var(--primary-text);
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 32px;
  background: transparent;
  position: relative;
}

.header-flex {
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  gap: 0;
  display: flex;
  position: relative;
}

.logo {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
  margin: 32px auto 12px auto; /* Add more space above logo */
  z-index: 1;
  position: relative;
}
.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  width: 100vw;
  min-width: 100vw;
  left: 0;
  right: 0;
  background: var(--header-bg);
  border-radius: 0;
  padding: 12px 0;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav-list li a {
  text-decoration: none;
  color: var(--primary-text);
  font-size: 1.1em;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: var(--accent);
}

.nav-list li a.active {
  color: var(--accent);
  font-weight: bold;
  border-bottom: 2px solid var(--accent);
}

.social-media {
  position: absolute;
  top: 24px;
  right: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 0;
  z-index: 2;
  background: var(--header-bg);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 8px 18px;
  /* Add a subtle border for clarity */
  border: 1.5px solid var(--border);
}
.social-media a svg {
  width: 36px;
  height: 36px;
  fill: var(--primary-text);
  transition: fill 0.3s, transform 0.3s;
}
.social-media a:hover svg {
  fill: var(--accent);
  transform: scale(1.1);
}

main {
  min-height: 60vh;
}

.hero {
  text-align: center;
  margin: 40px 0 24px 0;
}
.hero h1 {
  font-size: 2.2em;
  margin-bottom: 24px;
  color: var(--primary-text);
  text-align: center;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}
.video-container iframe {
  width: 100%;
  max-width: 640px;
  height: 360px;
  border-radius: 12px;
  border: none;
}

.newsletter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.ml-embedded {
  width: 100%;
  max-width: 400px;
}

footer {
  background: var(--header-bg);
  text-align: center;
  padding: 18px 0;
  margin-top: 40px;
  font-size: 1em;
  color: var(--primary-text);
}

/* Gallery Styles */
.gallery-section {
  margin: 40px 0;
  text-align: center;
}
.gallery-section h1 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 32px;
  color: var(--primary-text);
}
.albums {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.album {
  background: var(--gallery-bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}
.album-name {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 16px;
  text-transform: none;
  color: var(--primary-text);
  text-align: center;
}
.album-art {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 18px auto;
  display: block;
  border-radius: 10px;
}
.photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.photo-row img {
  max-height: 180px;
  width: auto;
  border: 2px solid #fff;
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
  object-fit: contain;
  background: #eee;
}
.photo-row img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px var(--border);
}

/* Gigs Table Styles */
.gigs-table {
  width: 80%;
  margin: 40px auto 32px auto;
  border-collapse: collapse;
  background: var(--gallery-bg);
  border-radius: 10px;
  overflow: hidden;
  font-size: 1.1em;
  min-width: 600px;
}
.gigs-table th, .gigs-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  word-break: break-word;
}
.gigs-table th {
  background: rgba(167,177,235,0.15);
  color: var(--primary-text);
  font-weight: bold;
}
.gigs-table tr:last-child td {
  border-bottom: none;
}
.gig-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
  display: inline-block;
  white-space: nowrap;
}
.gig-btn:hover {
  background: #7d8ad6;
  color: #fff;
}
.gig-btn-disabled {
  background: #ccc !important;
  color: #888 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  text-decoration: none;
}

/* Translucent Box Style */
.translucent-box {
  background: rgba(255,255,255,0.8); /* changed back to white translucent */
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 36px 32px 32px 32px;
  margin: 40px auto;
  max-width: 700px;
  color: #000;
}

/* Responsive Design */
@media (max-width: 900px) {
  .header-flex {
    flex-direction: column;
    gap: 16px;
  }
  nav {
    min-width: 100vw;
    padding: 10px 0;
  }
  .nav-list {
    gap: 16px;
  }
  .album-art {
    max-width: 90vw;
  }
  .social-media {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
  }
  .social-media a svg {
    width: 28px;
    height: 28px;
  }
  .logo {
    max-width: 220px;
    margin-top: 24px;
  }
  .gigs-table {
    width: 98%;
    min-width: 520px;
    font-size: 0.95em;
  }
  .gigs-table th, .gigs-table td {
    padding: 8px 4px;
  }
}
@media (max-width: 700px) {
  .gigs-table {
    width: 100%;
    min-width: 480px;
    font-size: 0.9em;
  }
}
@media (max-width: 600px) {
  .container {
    width: 98%;
  }
  .header-flex {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }
  .logo {
    max-width: 120px;
    margin-top: 12px;
  }
  nav {
    min-width: 100vw;
    padding: 8px 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .video-container iframe {
    height: 200px;
  }
  .album {
    padding: 10px;
  }
  .photo-row img {
    max-height: 100px;
  }
  .social-media {
    top: 4px;
    right: 4px;
    gap: 8px;
    padding: 4px 6px;
  }
  .social-media a svg {
    width: 20px;
    height: 20px;
  }
  .gigs-table {
    width: 100%;
    min-width: 400px;
    font-size: 0.85em;
    display: block;
    overflow-x: auto;
    border-radius: 0;
  }
  .gigs-table thead, .gigs-table tbody, .gigs-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .gigs-table th, .gigs-table td {
    padding: 6px 2px;
    font-size: 0.85em;
    word-break: break-word;
  }
  .gigs-section {
    overflow-x: auto;
    width: 100vw;
  }
}
