/* global.css */

/* Reset link colors globally */
a {
    color: #f5c542;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    text-decoration: underline;
    color: #ffffff;
  }
  
  /* Header and Logo Styles */
  header {
    background-color: rgba(35, 75, 102, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    gap: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Add padding to the body to account for fixed header */
  body {
    padding-top: 70px;
  }
  
  @media (max-width: 768px) {
    header {
      padding: 0.6rem 1.5rem;
    }
    
    body {
      padding-top: 60px;
    }
  }

  .logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
  }

  .logo:hover {
    transform: scale(1.05);
  }

  .logo img {
    height: 60px; /* Increased logo size */
    width: auto;
    transition: transform 0.3s ease;
border-radius: 10px;
  }

  .site-title {
    color: #fcfbf8; /* Gold color */
    font-size: 2rem; /* Increased from 1.5rem */
    font-weight: 700; /* Slightly bolder */
    margin: 0;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
  }
  

  /* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
  margin-left: auto;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #e2e8f0;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #e2e8f0;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Styles */
.main-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  transition: transform 0.3s ease-in-out;
}

/* Show mobile menu toggle only on mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Hide desktop nav on mobile */
  .main-nav {
    display: none;
  }
  
  /* Show mobile nav when toggled */
  .main-nav[data-visible="true"] {
    display: flex;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  /* Ensure desktop nav is always visible */
  .main-nav {
    display: flex !important;
    position: static;
    transform: none;
    background: transparent;
    width: auto;
    padding: 0;
    margin-left: auto;
  }
  
  /* Hide mobile menu toggle on desktop */
  .mobile-menu-toggle {
    display: none !important;
  }
  
  /* Ensure overlay is hidden on desktop */
  .overlay {
    display: none !important;
  }
}

/* Mobile menu toggle button styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
  margin-left: auto;
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    padding: 0;
    position: relative;
  }

  .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease-in-out;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
    left: 0;
    transition: all 0.3s ease-in-out;
  }

  .hamburger::before {
    top: -8px;
  }

  .hamburger::after {
    top: 8px;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background-color: #234b66;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    margin: 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    overflow-y: auto;
    display: flex !important;
  }

  .main-nav[data-visible="true"] {
    transform: translateX(0);
  }

  .main-nav a {
    color: #fff;
    padding: 12px 0;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 0 !important;
    display: block;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    width: 100%;
    display: block;
  }

  .main-nav a:hover {
    color: #d4af37;
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  /* Add overlay when menu is open */
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
  }
  
  .overlay[data-visible="true"] {
    display: block;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: block;
  }

  .main-nav a::after {
    display: none;
  }
}

  nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
  }

  nav a:hover {
    color: #d4af37;
    text-decoration: none;
  }

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

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

  nav a.active {
    color: #d4af37;
    font-weight: 600;
  }

  /* ======================
     FOOTER STYLES
     ====================== */
  .site-footer {
    background-color: rgba(35, 75, 102, 0.8); /* Match header background */
    color: #e2e8f0;
    padding: 4rem 0 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
  }
  
  .footer-about-text {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .connect-title {
    color: #f5c542;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    font-weight: 600;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #d4af37;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    background: #d4af37;
    color: #0f172a;
    transform: translateY(-3px);
  }
  
  .footer-heading {
    color: #f8fafc;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #d4af37;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
  }
  
  .footer-links a:hover {
    color: #d4af37;
    padding-left: 5px;
  }
  
  .contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    color: #94a3b8;
    line-height: 1.5;
  }
  
  .contact-item i {
    color: #d4af37;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
    min-width: 20px;
  }
  
  .contact-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-item a:hover {
    color: #d4af37;
  }
  
  .newsletter-form {
    display: flex;
    margin: 1.5rem 0;
  }
  
  .newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  .newsletter-form input:focus {
    border-color: #d4af37;
  }
  
  .btn-subscribe {
    background: #d4af37;
    color: #0f172a;
    border: none;
    padding: 0 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 4px 4px 0;
  }
  
  .btn-subscribe:hover {
    background: #f9d423;
  }
  
  .contact-btn {
    display: inline-block;
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .contact-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
  }
  
  .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
  }
  
  .footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
    flex-wrap: wrap;
  }
  
  .footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
  }
  
  .footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  
  .footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .footer-legal a:hover {
    color: #d4af37;
  }
  
  .footer-legal span {
    color: #475569;
    font-size: 0.8rem;
  }
  
  /* Responsive Footer */
  @media (max-width: 992px) {
    .footer-content {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .footer-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .footer-bottom .container {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-legal {
      margin-top: 0.5rem;
    }
    
    .newsletter-form {
      flex-direction: column;
    }
    
    .newsletter-form input {
      border-radius: 4px;
      margin-bottom: 0.5rem;
    }
    
    .btn-subscribe {
      border-radius: 4px;
      padding: 0.75rem;
    }
  }

  nav {
    margin-left: auto;
    display: flex;
    gap: 1.5rem;
  }

  nav a {
    color: #ffffffdd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
  }

  nav a:hover {
    color: #ffffff;
    text-decoration: none;
  }

  /* Consistent font */
  body {
    font-family: 'Inter', sans-serif;
  }
  
  /* Optional: Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }