/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face {
      font-family: 'akzidenzgroteskpro';
      src: url('Newfolder/akzidenzgroteskpro_regular-webfont.woff2') format('woff2'),
       url('Newfolder/akzidenzgroteskpro_regular-webfont.woff') format('woff');
      font-weight: normal;
      font-style: normal;
    }
@font-face {
      font-family: 'akzidenzgroteskpro';
      src: url('Newfolder/akzidenzgroteskpro_md-webfont.woff2') format('woff2'),
       url('Newfolder/akzidenzgroteskpro_md-webfont.woff') format('woff');
      font-weight: bold;
      font-style: normal;
    }

body {
  background-color: #162a48;
  color: black;
  margin: 0;
  padding: 20px;
  font-family: akzidenzgroteskpro;
}

/* rounded square */
.site-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  overflow: hidden; 
}

/* === Top Section === */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 20px;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  margin-right: 15px;
  transform: translateY(2px);
}

.logo:hover {
   filter: brightness(1.2) drop-shadow(0 0 8px rgba(0,0,0,0.25));
   cursor: pointer;
}

.brand {
  display: flex;
  color: black;
}

.brand:img {
  transform: translateY(10px);
  height: auto;
  width: 175px;
  display: block;
}

.header-right {
  font-size: 12px;
  text-align: right;
}

.header-right a {
  color: #333;
  text-decoration: none;
  margin-left: 8px;
}

.header-right a:hover {
  text-decoration: underline;
}

/* === nav bar === */
.navbar {
  background: #d1fcff;
  background: linear-gradient(180deg,rgba(224, 237, 255, 1) 0%, rgba(133, 141, 168, 1) 1%, rgba(60, 73, 110, 1) 39%, rgba(22, 42, 72, 1) 46%, rgba(22, 42, 72, 1) 100%);
  border-radius: 8px 8px 0 0;
  outline: 1px solid #0e1c30;
  margin-left: 19px;
  margin-right: 19px;
  overflow: hidden;
}

.navbar ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar li {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.4);
}

.navbar li:last-child {
  border-right: none;
}

.navbar a {
  display: block;
  padding: 10px 15px;
  color: white;
  font-size: 14px;
  text-decoration: none;
  font-weight: normal;
}

.navbar a:hover {
  background: #e6f1ff;
  background: linear-gradient(180deg,rgba(230, 241, 255, 1) 0%, rgba(165, 179, 212, 1) 1%, rgba(101, 120, 173, 1) 39%, rgba(41, 75, 125, 1) 46%, rgba(41, 75, 125, 1) 100%);
  border-radius: 0;
}

/* Search box inside nav */
.search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.search-box input[type="text"] {
  flex: 1;
  height: 26px;
  padding: 4px;
  font-size: 14px;
  border: none;
  box-sizing: border-box;
}

.search-box button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffebdb;
  background: linear-gradient(180deg,rgba(255, 244, 232, 1) 0%, rgba(255, 212, 168, 1) 4%, rgba(247, 150, 52, 1) 42%, rgba(255, 130, 5, 1) 47%, rgba(255, 130, 5, 1) 100%);
  border: none;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  cursor: pointer;
  width: 36px;
  height: 24px;
  border-radius: 8px;
  margin-right: 5px;
}

.search-box button:img{
        width: 24px; 
        height: auto; 
        display: block
}

.search-box button:hover{
        background: #fffbf7;
        background: linear-gradient(180deg,rgba(255, 251, 247, 1) 0%, rgba(255, 237, 217, 1) 5%, rgba(250, 191, 132, 1) 42%, rgba(255, 168, 82, 1) 47%, rgba(252, 165, 78, 1) 100%);
}

/* Main content styles */
main {
  padding: 20px;
}

.carousel-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px; /* optional spacing below navbar */
}

.carousel-container {
  width: 600px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  background: #fff;
}

.carousel {
  position: relative;
  width: 100%;
  height: 350px;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.7s ease;
  opacity: 0;
  border-radius: 15px;
}

.carousel-slide {
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide.active {
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f2f2f2;
  padding: 10px 20px;
  border-top: 1px solid #ccc;
}

.slide-title {
  flex: 1;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #e0e0e0;
}

button.prev, button.next {
  cursor: pointer;
  border: none;
  background: linear-gradient(180deg,rgba(255, 244, 232, 1) 0%, rgba(255, 212, 168, 1) 4%, rgba(247, 150, 52, 1) 42%, rgba(255, 130, 5, 1) 47%, rgba(255, 130, 5, 1) 100%);
  color: white;
  padding: 1px 8px;
  margin-left: 4px;
  margin-right: 4px;
  border-radius: 8px;
  font-size: 16px;
}

button.prev:hover{
        background: #fffbf7;
        background: linear-gradient(180deg,rgba(255, 251, 247, 1) 0%, rgba(255, 237, 217, 1) 5%, rgba(250, 191, 132, 1) 42%, rgba(255, 168, 82, 1) 47%, rgba(252, 165, 78, 1) 100%);
}

button.next:hover{
        background: #fffbf7;
        background: linear-gradient(180deg,rgba(255, 251, 247, 1) 0%, rgba(255, 237, 217, 1) 5%, rgba(250, 191, 132, 1) 42%, rgba(255, 168, 82, 1) 47%, rgba(252, 165, 78, 1) 100%);
}
  
/* Footer styles */
footer {
  padding: 15px 20px;
  background: #f4f4f4;
  text-align: center;
  font-size: 13px;
  color: #666;
}