/* 2° Concorso Lirico Internazionale "Nicola Martinucci" - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #ffffff;
  --text-primary: #000000;
  --text-muted: #444444;
  --border-color: #000000;
  --border-light: #e0e0e0;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

p {
  color: var(--text-muted);
}

.text-black {
  color: #000000 !important;
}

.text-muted-custom {
  color: #555555 !important;
}

/* Header & Navigation */
.navbar-custom {
  background-color: #ffffff;
  border-bottom: 2px solid #000000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: #000000;
  text-decoration: none;
}

.navbar-brand-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #555555;
  display: block;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #000000 !important;
  margin: 0 0.5rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border-light);
  background-color: #ffffff;
}

.hero-subtitle {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  color: #333333;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Custom Buttons */
.btn-black {
  background-color: #000000;
  color: #ffffff !important;
  border: 2px solid #000000;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-black:hover {
  background-color: #ffffff;
  color: #000000 !important;
  border-color: #000000;
}

.btn-outline-black {
  background-color: transparent;
  color: #000000 !important;
  border: 2px solid #000000;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-outline-black:hover {
  background-color: #000000;
  color: #ffffff !important;
}

/* Cards & Frames */
.custom-card {
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 0;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.prize-card {
  border: 2px solid #000000;
  background: #ffffff;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prize-amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: #000000;
  margin: 1rem 0;
}

.prize-badge {
  display: inline-block;
  border: 1px solid #000000;
  padding: 0.25rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Jury Card */
.jury-card {
  border: 1px solid #e0e0e0;
  padding: 1.75rem;
  background: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
}

.jury-card:hover {
  border-color: #000000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.jury-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.jury-role {
  font-size: 0.85rem;
  color: #555555;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Section Header */
.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #000000;
}

/* Timeline & Steps */
.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: #000000;
  margin-bottom: 0.5rem;
}

/* Partner Logos */
.partner-logo-box {
  border: 1px solid #000000;
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  background: #ffffff;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer {
  background-color: #ffffff;
  color: #000000;
  border-top: 2px solid #000000;
  padding: 4rem 0 2rem;
}

footer h5 {
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

footer a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #000000;
  text-decoration: underline;
}

/* Countdown Timer */
.timer-box {
  border: 1px solid #000000;
  padding: 1rem;
  min-width: 80px;
  text-align: center;
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.timer-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Custom Modal */
.modal-content {
  border: 2px solid #000000;
  border-radius: 0;
}

.modal-header {
  border-bottom: 1px solid #000000;
}

.modal-footer {
  border-top: 1px solid #e0e0e0;
}

.btn-close {
  filter: grayscale(100%) brightness(0);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-toggler {
    margin-left: auto !important;
  }
  .navbar-collapse {
    text-align: right;
    padding-top: 1rem;
  }
  .navbar-nav {
    align-items: flex-end !important;
  }
  .navbar-nav .nav-link {
    display: inline-block;
    text-align: right;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
}
