/* Incyte Website Clone - Custom Styles */

/* Font Face Declarations */
@font-face {
  font-family: "AnodinaExtraLight";
  src: url("../fonts/Anodina-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AnodinaRegular";
  src: url("../fonts/Anodina-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AnodinaBold";
  src: url("../fonts/Anodina-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Global Font */
body {
  font-family: "AnodinaExtraLight", "Helvetica Neue", "Helvetica", "Arial",
    sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "AnodinaBold", "AnodinaRegular", "Helvetica Neue", "Helvetica",
    "Arial", sans-serif;
  font-weight: 700;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: -90px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  padding: 20px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

.cookie-link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 10px;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-cookie-settings {
  background: transparent;
  border: 1px solid #333;
  color: #333;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  border: 1px solid #333;
  color: #333;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-cookie-accept {
  background: #007bff;
  border: 1px solid #007bff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-close-cookie {
  position: absolute;
  top: -10px;
  right: -10px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Header */
.main-header {
  background: linear-gradient(90deg, #1a3a5f 0%, #6b2c5e 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: 40px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  object-fit: contain;
}

.navbar-brand .solve-on-text {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5;
}

.navbar-brand .solve-text,
.navbar-brand .on-text {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  padding: 10px 20px !important;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-nav .nav-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
}

.navbar-nav .nav-link:hover i {
  transform: translateY(2px);
}

/* Hamburger Menu */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 12px;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section .carousel-item {
  position: relative;
}

.hero-section .carousel-item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 0 60px;
}

.hero-content {
  text-align: left;
  color: #fff;
  max-width: 570px;
  padding: 40px;
  position: relative;
  z-index: 2;
  right: inherit;
  margin-left: auto;
  margin-right: 0;
}

.hero-brand {
  display: block;
  text-align: left;
  margin-bottom: 40px;
  width: 100%;
}

.hero-brand img {
  max-width: 280px;
  width: auto;
  height: auto;
  display: block;
  margin-left: 0;
  margin-right: auto;
}

.hero-logo-main {
  max-width: 280px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block !important;
  position: relative;
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-title {
  font-family: "AnodinaExtraLight", "Helvetica Neue", "Helvetica", "Arial",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 30px;
  color: #3d3d3d;
  letter-spacing: normal;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.btn-hero {
  background: #007bff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-hero:hover {
  background: #0056b3;
  color: #fff;
}

/* Cards Section */
.cards-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.feature-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-label {
  font-family: "AnodinaBold", "AnodinaRegular", "Helvetica Neue", "Helvetica",
    "Arial", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #007bff;
  margin-bottom: 15px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
}

.card-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

.card-link i {
  transition: transform 0.3s ease;
}

.card-link:hover i {
  transform: translateX(5px);
}

/* Additional Sections */
.additional-sections {
  padding: 80px 0;
  background: #fff;
}

.info-card {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 8px;
  height: 100%;
  transition: background 0.3s ease;
}

.info-card:hover {
  background: #e9ecef;
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.info-card-title em {
  font-style: italic;
  font-weight: 400;
}

.info-card-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.info-card-link:hover {
  gap: 12px;
  color: #0056b3;
}

.info-card-link i {
  transition: transform 0.3s ease;
}

.info-card-link:hover i {
  transform: translateX(5px);
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-copyright {
  color: #bdc3c7;
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-link {
  display: inline-block;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-legal {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-links li {
  margin: 0;
}

.legal-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 16px;
    line-height: 22px;
  }

  .hero-logo-main {
    max-width: 240px;
  }

  .navbar-brand {
    flex-direction: column;
    gap: 8px;
    padding: 6px 0;
  }

  .navbar-brand .solve-on-text {
    font-size: 0.85rem;
  }

  .logo-img {
    height: 35px;
    width: 35px;
    padding: 5px;
  }
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .btn-cookie-settings,
  .btn-cookie-reject,
  .btn-cookie-accept {
    flex: 1;
  }

  .hero-section .carousel-item img {
    height: 400px;
  }

  .carousel-caption {
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 20px 40px 20px;
  }

  .hero-content {
    text-align: right;
    max-width: 90%;
    width: auto;
    margin-left: auto;
    margin-right: 0;
    padding: 20px;
    align-self: flex-end;
  }

  .hero-brand {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-brand img {
    margin-left: auto;
    margin-right: 0;
    display: block;
  }

  .hero-title {
    font-size: 16px;
    line-height: 22px;
    text-align: right;
  }

  .hero-logo-main {
    max-width: 200px;
  }

  .btn-hero {
    margin-left: auto;
    margin-right: 0;
    display: inline-block;
    width: auto;
  }

  .cards-section,
  .additional-sections {
    padding: 40px 0;
  }

  .footer-legal {
    flex-direction: column;
    gap: 20px;
  }

  .navbar-brand {
    flex-direction: row;
    gap: 8px;
    padding: 5px 0;
  }

  .navbar-brand .solve-on-text {
    font-size: 0.8rem;
  }

  .logo-img {
    height: 48px;
    width: 48px;
    padding: 4px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
