/* Tayo Ibiloye Music Website - Main Stylesheet */

:root {
  --navy-deep: #070B1F;
  --navy: #0C1330;
  --navy-panel: #111A3E;
  --gold: #C9A24B;
  --gold-bright: #E6C878;
  --ivory: #F5F1E6;
  --text-light: #E8DCC4;
  --error: #E74C3C;
  --success: #27AE60;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--navy);
  color: var(--text-light);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-bright);
}

/* ===== HEADER STYLES ===== */
header {
  background-color: var(--navy-deep);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 1px;
}

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

.nav-links a {
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--navy-panel);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 2px solid var(--gold);
  }

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

/* ===== MAIN CONTENT ===== */
main {
  min-height: calc(100vh - 60px);
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-panel) 0%, var(--navy-deep) 100%);
  text-align: center;
  padding: 6rem 2rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.cta-button {
  display: inline-block;
  background-color: var(--gold);
  color: var(--navy-deep);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--gold-bright);
  transform: translateY(-3px);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 3rem;
  text-align: center;
}

/* ===== MUSIC GRID ===== */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.music-card {
  background-color: var(--navy-panel);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(201, 162, 75, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.music-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.music-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.platform-link {
  display: inline-block;
  background-color: rgba(201, 162, 75, 0.1);
  color: var(--gold-bright);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin: 0.3rem;
  border: 1px solid var(--gold);
}

.platform-link:hover {
  background-color: var(--gold);
  color: var(--navy-deep);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.social-links a {
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 3px solid var(--gold);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--navy-panel);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 75, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: 6px;
  background-color: var(--navy);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201, 162, 75, 0.2);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
}

.form-submit:hover {
  background-color: var(--gold-bright);
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: rgba(39, 174, 96, 0.1);
  color: #27AE60;
  border: 1px solid #27AE60;
}

.form-message.error {
  background-color: rgba(231, 76, 60, 0.1);
  color: #E74C3C;
  border: 1px solid #E74C3C;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background-color: var(--navy-deep);
  padding: 2rem;
  border-top: 2px solid var(--gold);
  margin-top: 4rem;
}

.footer-rail {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  height: 4px;
}

.footer-rail span {
  flex: 1;
  height: 100%;
}

.rail-gold {
  background-color: var(--gold);
}

.rail-gold-bright {
  background-color: var(--gold-bright);
}

.rail-navy {
  background-color: var(--navy);
}

.rail-navy-panel {
  background-color: var(--navy-panel);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-light);
  margin-top: 1rem;
}

.footer-heading {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-legal {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 220, 196, 0.1);
}

.footer-legal p {
  color: rgba(232, 220, 196, 0.6);
  font-size: 0.9rem;
}

/* ===== UTILITY CLASSES ===== */
.accent-text {
  color: var(--gold-bright);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 1rem;
  }
}
