body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary: #2923d1;
  --secondary: #2d2fda;
  --accent: #e01912;
  --dark: #352fdb;
  --light: #1ce423;
  --text: #2633aa;
  --transition: all 0.5s ease;
}

body {
  background: linear-gradient(135deg, 0%, #1f2522 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(80, 79, 79, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 8px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 38px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 20px rgba(255, 65, 108, 0.6);
  background: #ff2b5e;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: white;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.about-image:hover {
  transform: translateY(-10px);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 15px;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  border-radius: 2px;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  color: #444;
}

.about-text .quote {
  font-style: italic;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  border-left: 4px solid var(--accent);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
  font-size: 1.1rem;
  color: #333;
}

/* Skills Section */
.skills {
  padding: 90px 0;
  background: linear-gradient(to bottom, #eef2f5, #d9e2ec);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3.5rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  border-radius: 3px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.skill-category {
  background: white;
  border-radius: 15px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-category:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.skill-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.skill-category h3 {
  color: var(--dark);
  margin-bottom: 25px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-category h3 i {
  color: var(--accent);
  font-size: 1.8rem;
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skills-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.skills-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.skill-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f6f9ff, #e6f0ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  color: var(--primary);
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.adobe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.adobe-skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #f6f9ff, #e6f0ff);
  padding: 22px 15px;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.adobe-skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #eef5ff, #d6e6ff);
}

.adobe-skill i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
}

.adobe-skill span {
  font-size: 0.95rem;
  text-align: center;
  font-weight: 600;
  color: var(--dark);
}

.skill-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark);
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background-color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 300px;
  cursor: pointer;
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: rgb(245, 245, 247);
  padding: 25px;
  transform: translateY(100%);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.portfolio-overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border: 3px solid white;
  box-shadow: 0 0 30px rgba(12, 12, 12, 0.658);
}

.lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border: 3px solid white;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: rgb(255, 255, 255);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--accent);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  border-radius: 2px;
}

.contact-details {
  margin-top: 30px;
}

.detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.detail i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-right: 15px;
  min-width: 30px;
}

.detail-content h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.3rem;
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

/* Footer */
footer {
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 20px;
  text-align: center;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  list-style: none;
  margin: 25px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .adobe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
