/* === GENERAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  color: #fff;
  overflow-x: hidden;
}

body {
  background: #000;
  position: relative;
}

/* === ANIMATED MULTICOLOR BACKGROUND === */
.bg-animated {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(-45deg, #ff5f6d, #ffc371, #47b8e0, #7b2ff7);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  z-index: -1;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === HEADER === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 50px;
  height: 50px;
  background: #fff;
  color: #000;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.site-title small {
  color: #ccc;
}

/* === MENU === */
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
}

.nav-drawer {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 25px;
  top: 70px;
  background: rgba(0, 0, 0, 0.9);
  padding: 10px;
  border-radius: 8px;
}

.nav-drawer a {
  color: #fff;
  text-decoration: none;
  margin: 5px 0;
  transition: 0.3s;
}

.nav-drawer a:hover {
  color: #ffce00;
}

/* === CARDS / SECTIONS === */
.card {
  background: rgba(0, 0, 0, 0.5);
  margin: 40px auto;
  padding: 40px 20px;
  max-width: 1100px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.card h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  letter-spacing: 1px;
}

/* === INTRO SECTION === */
.intro {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.intro-left {
  flex: 1;
  min-width: 300px;
}

.intro-left h1 span {
  color: #ffce00;
}

.intro-showcase {
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* === DEFINITIONS === */
.def {
  margin-top: 15px;
}

.def h3 {
  color: #ffce00;
}

/* === GRAPHIC GALLERY === */
.gallery {
  overflow: hidden;
  position: relative;
}

.marquee {
  display: flex;
  animation: scroll-left 20s linear infinite;
}

.marquee img {
  width: 300px;
  height: auto;
  margin-right: 20px;
  border-radius: 10px;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === WEB DESIGN === */
.web-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: center;
}

.web-card {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.web-card:hover {
  background: rgba(255,255,255,0.2);
}

/* === DIGITAL MARKETING === */
.marketing-text p {
  animation: fadeIn 3s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  from { opacity: 0.4; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === ABOUT ME === */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.portrait-glow {
  border-radius: 50%;
  box-shadow: 0 0 40px #ffce00;
  padding: 5px;
}

.portrait img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
}


/* === CONTACT === */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.socials a:hover {
  background: #ffce00;
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form input, form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  outline: none;
}

form button {
  padding: 10px;
  background: #ffce00;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.comments {
  margin-top: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.comment {
  background: rgba(255,255,255,0.1);
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
}

/* === TESTIMONIALS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonials video {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
  }

  .nav-drawer {
    right: 10px;
    top: 60px;
  }
}