/* ============================
   InspireArts - CSS Variables & Base Styles
   ============================*/
:root {
  /* Brand Colors */
  --primary-orange: #F39C12;
  --primary-blue: #1e97f0;
  --bg-white: #FFFFFF;
  --bg-light: #ECF0F1;
  --bg-dark: #33475c;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  
  /* Typography */
  --font-family: "Jost", serif;
  
  /* Shadows & Borders */
  --card-shadow: 0 4px 16px rgba(0,0,0,0.1);
  --hover-shadow: 0 8px 25px rgba(0,0,0,0.15);
  --border-radius: 12px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 15px;
}

/* ============================
   Global Styles
   ============================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

/* ============================
   Header & Navigation
   ============================*/
.navbar-custom {
  background: var(--bg-dark) !important;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
}

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

.navbar-nav .nav-link {
  color: var(--bg-white) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.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='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================
   Hero Section
   ============================*/
.hero-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('./img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary-custom {
  background: var(--primary-orange);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary-custom:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

/* ============================
   Secondary Page Headers
   ============================*/
.page-header {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f2f2f2 100%);
  padding: 160px 0 90px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================
   Section Styles
   ============================*/
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-orange);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ============================
   Card Styles
   ============================*/
.card-custom {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.card-custom img {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  transition: transform 0.3s ease;
}

.card-custom:hover img {
  transform: scale(1.05);
}

/* ============================
   News Section
   ============================*/
.news-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.news-item h4 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-weight: 600;
}

.news-item img {
  border-radius: var(--border-radius);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ============================
   Quote Carousel
   ============================*/
.quote-section {
  background: var(--bg-dark);
  color: white;
  text-align: center;
}

.quote-carousel .carousel-item {
  padding: 40px 20px;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.quote-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-orange);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-indicators button {
  background-color: var(--primary-orange);
}

/* ============================
   Gallery Grid
   ============================*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.gallery-item img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 40px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ============================
   Form Styles
   ============================*/
.form-custom {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.form-custom .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-custom .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 151, 240, 0.25);
}

.form-custom .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
}

/* ============================
   Contact Info
   ============================*/
.contact-info {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-right: 15px;
  width: 30px;
}

.contact-item div h6 {
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-item div p {
  margin: 0;
  color: var(--text-light);
}

/* ============================
   Footer
   ============================*/
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 40px 0 20px;
}

.footer h6 {
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  border-top: 1px solid #34495e;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  color: #95a5a6;
}

/* ============================
   Cookie Banner
   ============================*/
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--bg-white);
  border: 2px solid var(--primary-orange);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--hover-shadow);
  z-index: 1060;
  max-width: 400px;
  margin: 0 auto;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.cookie-banner .btn {
  margin-right: 10px;
  margin-bottom: 5px;
}

/* ============================
   Utility Classes
   ============================*/
.bg-custom-light {
  background: var(--bg-light);
}

.bg-custom-dark {
  background: var(--bg-dark);
}

.text-primary-custom {
  color: var(--primary-blue) !important;
}

.text-orange-custom {
  color: var(--primary-orange) !important;
}

.btn-outline-custom {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
  border-radius: 8px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

/* ============================
   Navigation Responsive Fixes
   ============================*/
@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-toggler {
    display: none !important;
  }
  
  .offcanvas {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none !important;
  }
  
  .navbar-toggler {
    display: block !important;
  }
}

/* ============================
   Responsive Design
   ============================*/
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2.2rem;
  }
  
  .news-item {
    padding: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn-primary-custom {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .page-header {
    padding: 160px 0 80px;
  }
}
.card-body {
  padding: 1rem;
}