/* MillingMind - Custom Styles */
:root {
  --accent-color: #d5ae19;
  --bg-dark: #241534;
  --bg-medium: #715673;
  --bg-card: #202020;
  --text-white: #ffffff;
  --text-light: #f8f9fa;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Prompt", serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
.navbar-custom {
  background-color: var(--bg-medium) !important;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-toggler {
  border: 1px solid var(--accent-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d5ae19' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0f2e  50%, #2d1b69 100%);
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23d5ae19" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

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

.btn-accent {
  background-color: var(--accent-color);
  border: none;
  color: var(--bg-dark);
  font-weight: 600;
  padding: 12px 30px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-accent:hover {
  background-color: #b8941a;
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(213, 174, 25, 0.3);
}

/* Section Styles */
.section-dark {
  background-color: var(--bg-dark);
  padding: 80px 0;
}

.section-light {
  background-color: var(--text-light);
  color: var(--bg-dark);
  padding: 80px 0;
}

.section-medium {
  background-color: var(--bg-medium);
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-white);
}

.section-light .section-title {
  color: var(--bg-dark);
}

/* Cards */
.card-custom {
  background-color: var(--text-white);
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 25px var(--shadow-dark);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.card-custom .card-body {
  padding: 2rem;
  color: var(--bg-dark);
}

.card-custom .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

.card-custom .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-custom img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Info Cards */
.info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.info-card h5 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Statistics */
.stat-card {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background-color: var(--accent-color);
  color: var(--bg-dark);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
}

.stat-card:hover .stat-number {
  color: var(--bg-dark);
}

.stat-text {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Quote Section */
.quote-section {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent-color);
  padding: 3rem;
  margin: 3rem 0;
}

.quote-text {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.quote-author {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 600;
}

/* Footer */
.footer-custom {
  background-color: var(--bg-medium);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-custom h6 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-custom a:hover {
  color: var(--accent-color);
}

.footer-custom .list-unstyled li {
  margin-bottom: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  border-top: 2px solid var(--accent-color);
  padding: 1rem;
  z-index: 1050;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .btn-outline-light {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.cookie-banner .btn-outline-light:hover {
  background-color: var(--accent-color);
  color: var(--bg-dark);
}

/* Form Styles */
.form-control {
  border-radius: 0;
  border: 1px solid var(--border-color);
  background-color: var(--text-white);
  color: var(--bg-dark);
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(213, 174, 25, 0.25);
}

.form-label {
  color: var(--text-white);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Contact Page Specific */
.contact-info {
  background-color: var(--bg-card);
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.contact-info h5 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0f2e 50%, #2d1b69 100%);
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23d5ae19" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2.2rem;
  }
  
  .card-custom .card-body {
    padding: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .quote-section {
    padding: 2rem;
  }
}

/* Utility Classes */
.text-accent {
  color: var(--accent-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.border-accent {
  border-color: var(--accent-color) !important;
}

/* Material Icons */
.material-icons {
  vertical-align: middle;
  font-size: 1.2em;
}

/* Innovation Week Highlight */
.innovation-highlight {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  position: relative;
}

.innovation-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent-color);
}

.innovation-highlight h3 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-color);
  color: var(--bg-dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 0;
  font-size: 1.2rem;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #b8941a;
  color: var(--bg-dark);
  transform: translateY(-3px);
}
