@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  --sg-red: #E30613;
  --sg-dark: #000000;
  --sg-gray-bg: #F5F5F5;
  --sg-gray-text: #4A4A4A;
}

body {
  font-family: 'Source Sans 3', Arial, sans-serif;
  color: var(--sg-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Montserrat', Arial, sans-serif;
}


/* Custom Utilities for SG Brand */
.bg-sg-red {
  background-color: var(--sg-red);
}

.text-sg-red {
  color: var(--sg-red);
}

.border-sg-red {
  border-color: var(--sg-red);
}

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

.text-sg-dark {
  color: var(--sg-dark);
}

/* Navigation Hover Effects */
.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--sg-red);
  transition: width 0.3s ease-in-out;
}

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

/* Hero Section */
.hero-gradient {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.sg-btn {
  background-color: var(--sg-dark);
  color: white;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid var(--sg-dark);
}

.sg-btn:hover {
  background-color: white;
  color: var(--sg-dark);
}

.sg-btn-red {
  background-color: var(--sg-red);
  color: white;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid var(--sg-red);
}

.sg-btn-red:hover {
  background-color: white;
  color: var(--sg-red);
}

/* News Card Hover */
.news-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Navigation Styling Fixes */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: white;
  z-index: 1000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  padding: 24px;
}

.mobile-nav.open {
  left: 0;
}

/* Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobil buton */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    font-size: 18px;
  }
}

@media (min-width: 769px) {

  .mobile-nav,
  .mobile-menu-btn,
  .mobile-overlay {
    display: none;
  }
}