/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: font-name-1, font-name-2, generic-family;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.4s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo span {
  color: #d0d0d0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  border-radius: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #d9d9d9;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #000000;
  transition: width 0.3s;
  border-radius: 20px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Active menu animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    width: 220px;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    transition: height 0.4s ease;
  }

  .nav-links.active {
    height: 180px;
    padding: 20px 0;
    border-radius: 20px;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("images/MU\ FUTURE.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
}

.hero-content p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #fff;
  background-color: #111;
}

/* Read More Section */
.read-more {
  padding: 100px 10%;
  background: #111;
  text-align: left;
}

.read-more h2 {
  font-size: 2.5rem;
  color: #b76df5;
  margin-bottom: 20px;
}

.read-more p {
  line-height: 1.8;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 20px;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(45deg, white, black);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  font-size: 0.9rem;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  opacity: 0;
  animation: slideUp 1s 0.5s forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========== Section Styles ========== */
section {
  padding: 100px 10%;
  background-color: #111;
}

section:nth-of-type(even) {
  background-color: #0a0a0a;
}

/* About Us */
.about-us h2 {
  color: #ffffff;
  font-size: 2.6rem;
  margin-bottom: 25px;
}

.about-us p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Item Styles */

.item-section {
  padding: 100px 0;
  background-color: #111;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.item {
  margin: 0 15px; 
  width: 300px; 
  height: 400px;
  display: flex;
  align-items: flex-end;
  background: #343434 no-repeat center center / cover;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.item:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}
.item-desc {
  padding: 0 24px 12px;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(calc(100% - 54px));
  transition: all 0.4s ease-in-out;
}
.item-desc h3 {
  font-size: 15px;
  padding: 20px;
  bottom: 20px;
  transform: translateY(calc(100% - 54px));
  transition: all 0.4s ease-in-out;
  color: #fff;
  text-shadow: #000 1px 1px 1px;
  position: relative;
  z-index: 1;
}
.item-desc p {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.4s ease-in-out 0.2s;
}
.items-wrapper {
  display: flex;
  transition: transform 0.4s ease-in-out; 
}
.item:hover {
  transform: scale(1.05); 
}
.item.active {
  width: 500px; 
  box-shadow: 12px 40px 40px rgba(19, 19, 19, 0.25);
}
.item.active .item-desc {
  transform: none;
}
.item.active .item-desc p {
  opacity: 1;
  transform: translateY(0);
}
.item.active .item-desc h3 {
  transform: translateY(0);
}
.active {
  border: 2px solid white; 
}
@media (max-width: 1200px) {
  .item {
      width: calc(33.33% - 20px);
  }
}
@media (max-width: 800px) {
  .item {
      width: calc(50% - 20px); 
  }
}
@media (max-width: 600px) {
  .item {
      width: calc(100% - 20px); 
  }
}


/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* style-photograph */

.style-photograph h2{
  margin-bottom: 20px;
}

.style-photograph p {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 10px;
}
