/* ============================================
   DRU Project - Museum Aesthetic Stylesheet
   Shared across all pages
   ============================================ */

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

/* CSS Variables */
:root {
  --museum-white: #fafafa;
  --gallery-gray: #f5f5f5;
  --charcoal: #2c2c2c;
  --deep-charcoal: #1a1a1a;
  --accent-gold: #d4af37;
  --soft-gold: #f4e4a6;
  --cool-gray: #8e8e8e;
  --light-border: #e8e8e8;
  --shadow-subtle: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.15);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--museum-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
.serif {
  font-family: 'Playfair Display', serif;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}


/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-border);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  opacity: 0;
  animation: slideInLeft 1s ease-out 0.2s forwards;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  height: 45px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 1;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--deep-charcoal);
  letter-spacing: -0.02em;
  margin-left: 1rem;
}


/* ============================================
   NAVIGATION
   ============================================ */

.navigation {
  flex-shrink: 0;
  opacity: 0;
  animation: slideInRight 1s ease-out 0.4s forwards;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover {
  color: var(--accent-gold);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  background: white;
  min-width: 280px;
  border-radius: 0;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--light-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  border-bottom: 1px solid var(--gallery-gray);
  transition: all 0.3s ease;
  position: relative;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--gallery-gray);
  color: var(--accent-gold);
  padding-left: 2rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
}


/* ============================================
   SHARED SECTION STYLES
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--deep-charcoal);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.section-description {
  font-size: 1.2rem;
  color: var(--cool-gray);
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================
   SOCIAL MEDIA
   ============================================ */

.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
  border-color: var(--accent-gold);
}

.fa-facebook {
  background: #3B5998;
  color: white;
}
.fa-facebook:hover {
  background: white;
  color: #3B5998;
  border-color: #3B5998;
}

.fa-twitter {
  background: #1DA1F2;
  color: white;
}
.fa-twitter:hover {
  background: white;
  color: #1DA1F2;
  border-color: #1DA1F2;
}

.fa-linkedin {
  background: #0077B5;
  color: white;
}
.fa-linkedin:hover {
  background: white;
  color: #0077B5;
  border-color: #0077B5;
}

.fa-instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}
.fa-instagram:hover {
  background: white;
  color: #e6683c;
  border-color: #e6683c;
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--museum-white);
  border-top: 1px solid var(--light-border);
  padding: 3rem 0;
  text-align: center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 40px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-text {
  color: var(--cool-gray);
  font-size: 0.9rem;
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
  from {
    opacity: 0;
    transform: translateX(30px);
  }
}


/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .logo-section {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .logo-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .logo {
    height: 35px;
  }

  .brand-text {
    font-size: 1.2rem;
    margin-left: 0;
    text-align: center;
    width: 100%;
  }

  .menu-toggle {
    display: block !important;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--charcoal);
  }

  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--light-border);
    box-shadow: var(--shadow-deep);
    z-index: 1000;
    width: 100%;
  }

  .navigation.active {
    display: block !important;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--light-border);
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--gallery-gray);
    margin: 0;
    min-width: 100%;
  }

  .dropdown.active .dropdown-menu {
    display: block !important;
  }

  .dropdown-item {
    padding: 0.75rem 3rem;
    border-bottom: 1px solid var(--light-border);
  }

  /* Hero sections mobile */
  .hero,
  .contact-hero,
  .partners-hero,
  .project-hero {
    height: 55vh !important;
    margin-top: 90px;
    padding: 3rem 0;
  }

  .hero-title,
  .contact-title,
  .partners-title,
  .project-title {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem;
  }

  .hero-description,
  .contact-description,
  .partners-description,
  .project-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  /* Grids mobile */
  .exhibition-grid,
  .news-gallery,
  .universities-grid,
  .consortium-grid,
  .objectives-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  .contact-content,
  .about-content,
  .featured-content,
  .consortium-content,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }

  /* Form and content padding */
  .contact-form,
  .piece-content,
  .exhibit-content,
  .university-content,
  .objective-card {
    padding: 2rem;
  }

  .contact-details {
    padding: 2rem;
  }

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

  .footer-logos {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo {
    height: 30px;
  }

  .social-media {
    gap: 0.75rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}


/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
  .header-container {
    padding: 0.75rem;
  }

  .logo {
    height: 30px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-title,
  .contact-title,
  .partners-title,
  .project-title {
    font-size: 1.8rem !important;
  }

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

  .contact-form,
  .piece-content,
  .exhibit-content,
  .university-content {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-number {
    font-size: 2rem;
  }

  .logo-group {
    flex-direction: column;
    gap: 0.5rem;
  }
}
