@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ========== RESET & BASE STYLES ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}
body, h1, h2, h3, h4, h5, h6, p, a {
  font-weight: 500;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5); /* 50% black tint */
  padding: 1rem 0;
  backdrop-filter: blur(4px); /* optional: soft blur for nice visual effect */
}
.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 50px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: red;
}
.socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}
.socials img {
  height: 20px;
  width: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.socials img:hover {
  filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(-50deg) brightness(1.5);
}

/* ========== BANNER ========== */
.banner {
  height: 800px;
  width: 100%;
  background-image: url('images/banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.banner-content {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}
.banner-content h1,
.banner-content p {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.loop-animate {
  animation: fadeLoop 4s ease-in-out infinite;
}
.loop-animate.delay {
  animation-delay: 2s;
}
@keyframes fadeLoop {
  0% { opacity: 0; transform: translateY(10px); }
  25%, 75% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* ========== SECTION HEADERS ========== */
.section-header {
  width: 100%;
  background-color: black;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

/* ========== PORTFOLIO ========== */
.portfolio {
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, auto);
  width: 100%;
  max-width: 100vw;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
}
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-item:hover img {
  transform: scale(1.1);
}
.portfolio-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-title {
  opacity: 1;
}

/* ========== ABOUT SECTION ========== */
.about {
  background-color: #1e1e1e;
  color: #f0f0f0;
  padding: 4rem 2rem;
}
.about .section-header {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #ff0000;
  display: inline-block;
}
.about-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.about-flex img {
  width: 600px;
  height: 600px;
  object-fit: cover;
  border-radius: 50%;
}
.about-content {
  flex: 1;
  min-width: 300px;
}
.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.about-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.about-content ul li {
  margin-bottom: 0.75rem;
  color: #d0d0d0;
  line-height: 1.5;
}
.about-content ul ul li {
  color: #b0b0b0;
  font-size: 0.95rem;
}

/* ========== CONTACT BUTTON ========== */

.contact-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #c00;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.contact-button:hover {
  background-color: #900;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: #1e1e1e;
  color: #ccc;
  font-family: 'Poppins', sans-serif;
  padding: 40px 0 20px;
  font-size: 14px;
}
.footer-container {
  width: 80%;
  margin: 0 auto;
}
.site-info-first-row,
.site-info-second-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #444;
  padding: 20px 0;
}
.footer-logo {
  height: auto;
  display: flex;
  align-items: center;
}
.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo_img {
  height: 30px !important;
  width: auto !important;
  max-height: none !important;
  object-fit: contain;
  display: block;
}
.footer-slogan {
  color: #999;
  font-size: 15px;
  font-weight: 500;
}
.footer-logo--with-slogan {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo_link {
  display: inline-block;
}
.footer-copyright {
  color: #999;
}
.footer-copyright a {
  color: #c00;
  text-decoration: none;
}
.footer-separator {
  color: #999;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0 0.5rem;
}
.site-description {
  color: #999;
  font-size: 15px;
  margin-top: 5px;
}
.social-list__items {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.social-list__items li a {
  color: #999;
  font-size: 20px;
  transition: color 0.3s ease;
}
.social-list__items li a:hover {
  color: #c00;
}
.site-footer img {
  height: 24px;
  width: 24px;
  margin: 0 10px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.site-footer img:hover {
  filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(-50deg) brightness(1.5);
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, auto);
  }
}
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .logo img {
    height: 40px;
  }
  .banner-content h1 {
    font-size: 1.8rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, auto);
  }
  .site-info-first-row,
  .site-info-second-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .social-list__items {
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .footer-logo-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (min-width: 768px) {
  .footer-logo_img {
    height: 80px;
  }
}