* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", sans-serif;
}

body {
  overflow-x: hidden;
  background: #000;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(74, 20, 140, 0.95);
  padding: 1rem 2rem;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #4a148c 0%, #7c43bd 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30vh; /* Adjust this value to control transition height */
  background: linear-gradient(to bottom, transparent, black);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.cta-button:hover {
  background: white;
  color: #4a148c;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.portfolio-section {
  padding: 4rem 2rem;
  min-height: 100vh;
}

.contact-header,
.about-header,
.portfolio-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2,
.about-header h1,
.portfolio-header h1 {
  color: white;
  font-size: 4rem;
  letter-spacing: 8px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.contact-header p,
.about-header p,
.portfolio-header p {
  font-style: italic;
  color: #888;
  margin-bottom: 2rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.filter-btn {
  padding: 0.8rem 2rem;
  border: 1px solid #333;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.filter-btn.active {
  background: rgba(74, 20, 140, 0.95);
  border-color: rgba(74, 20, 140, 0.95);
}

.filter-btn:hover {
  background: rgba(74, 20, 140, 0.95);
  border-color: rgba(74, 20, 140, 0.95);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border: 8px solid white;
  /* grey box shadow light */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  aspect-ratio: 1;
  opacity: 1;
  transform: scale(1);
  transition: all 0.5s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  position: absolute;
  pointer-events: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover::after {
  opacity: 1;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.divider-line {
  height: 1px;
  width: 100px;
  background: #333;
}

.divider-diamond {
  width: 8px;
  height: 8px;
  background: #333;
  transform: rotate(45deg);
}

.section-break {
  width: 100%;
  padding: 4rem 2rem;
  background: linear-gradient(45deg, #1a1a1a, #2d1a3d);
  position: relative;
  overflow: hidden;
}

.quote-container {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.quote {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}

.author {
  font-size: 1.2rem;
  color: #b19cd9;
  opacity: 0;
  animation: fadeIn 2s ease-in forwards 0.5s;
}

.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 200%;
  height: 100%;
  background: rgba(177, 156, 217, 0.2);
  border-radius: 50%;
  transform: translate(-50%, 75%);
  animation: wave 8s linear infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wave {
  0% {
    transform: translate(-50%, 75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, 75%) rotate(360deg);
  }
}

#about {
  padding-top: 100px;
}

.about-section {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
}

.left {
  flex: 1;
}

.left img {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
}

.right {
  flex: 1;
}

.right h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.right p {
  color: #888;
  margin-bottom: 2rem;
}

#contact {
  padding-top: 150px;
  overflow: hidden;
  min-height: 120vh;
  background: linear-gradient(135deg, #4a148c 0%, #7c43bd 100%);
  color: white;
  position: relative;
}

#contact::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  background: linear-gradient(to top, transparent, black);
  pointer-events: none;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

input,
textarea {
  width: 40%;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  border-radius: 4px;
}

textarea {
  height: 150px;
}

input:focus,
textarea:focus {
  border: 2px solid white;
}

.form-btn {
  padding: 0.8rem 2rem;
  background: transparent;
  border: 2px solid white;
  color: white;
  width: 40%;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-btn:hover {
  background: white;
  color: #4a148c;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: #111;
  color: white;
}
.social-icons {
  display: flex;
  gap: 1rem;

  font-size: 1.5rem;
}

.social-icons a {
  color: white;
  text-decoration: none;
}

.social-icons a:hover {
  color: #b19cd9;
}

@media (max-width: 768px) {
  .portfolio-item.large {
    grid-row: span 1;
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: white;
    font-size: 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0px;
    right: -100%;
    height: 100vh;
    width: 40%;
    background: rgba(74, 20, 140, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    right: 0;
  }

  #contact {
    min-height: 110vh;
  }

  .contact-header {
    padding-top: 100px;
  }

  .contact-form input,
  textarea,
  .form-btn {
    width: 80%;
  }
}

@media (max-width: 500px) {
  .about-section {
    flex-direction: column;
  }

  .portfolio-header h1,
  .about-header h1,
  .contact-header h2 {
    font-size: 2.5rem;
  }

  .filter-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
}
