/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.4;
  color: #333;
  background-color: #fafafa;
  font-weight: 400;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #000;
}

/* Hero Social Links */
.hero-social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
}

.hero-social-links a {
  color: #000;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 4px;
}

.hero-social-links a:hover {
  color: #666;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 4rem 3rem 4rem;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  overflow: hidden;
}

.hero-welcome {
  position: absolute;
  top: 10rem;
  right: 3rem;
  max-width: 500px;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInFromTop 1s ease-out 0.3s forwards;
}

.hero-welcome h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
  color: #000;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-welcome p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.about-btn {
  background: none;
  border: none;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
}

.hero-main {
  margin-top: 8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 55%;
}

.hero-image-container {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInFromBottom 1s ease-out 0.6s forwards;
}

.hero-welcome-text {
  font-weight: 8000;
  margin-bottom: 1rem;
  color: #000;
}

.hero-image {
  width: 100%;
  max-width: 650px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-name {
  margin-top: 1 rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInFromBottom 1s ease-out 0.9s forwards;
}

.hero-name h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  color: #666;
  font-size: 0.9rem;
}

/* Hero Animations */
@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Section Labels */
.section-label {
  color: #999;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  position: relative;
}

.section-label::before {
  content: "";
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 1px;
  background-color: #999;
}

/* About Section */
.about {
  padding: 6rem 3rem;
  background-color: white;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.about-left h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #000;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about-left p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact-btn {
  background: none;
  border: none;
  font-size: 1rem;
  color: #000;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
}

.experience-item {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.company-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  background-color: #fff;
  padding: 4px;
  border: 1px solid #eee;
}

.experience-content {
  flex: 1;
  position: relative;
}

.experience-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.experience-content .company {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.experience-content .year {
  color: #999;
  font-size: 0.8rem;
  position: absolute;
  right: 0;
  top: 0;
}

/* Works Section */
.works {
  padding: 6rem 3rem;
  background-color: #fafafa;
}

.works-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.works-header h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
  text-align: right;
  max-width: 800px;
  margin-left: auto;
  letter-spacing: -0.025em;
}

/* Featured Work in Works Section */
.featured-work {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.featured-work-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-work-info h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.featured-work-info p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.work-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-badge {
  background: #f1f5f9;
  color: #64748b;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 400;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  color: white;
  padding: 0.45rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.2s ease;
}

.view-btn svg {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}

.view-btn:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

.view-btn:hover svg {
  opacity: 1;
}

.featured-work-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.featured-work-image img {
  width: 100%;
  height: auto;
  display: block;
}

.works-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 300px);
  gap: 1rem;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: scale(1.02);
}

.work-item.large {
  grid-row: span 2;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: white;
}

.work-overlay h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.work-overlay p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Services Section */
.services {
  padding: 6rem 3rem;
  background-color: white;
}

.services-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.services-left h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #eee;
}

.service-number {
  font-size: 1rem;
  color: #999;
  font-weight: 500;
}

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.service-content p {
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
}

.service-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Reviews Section */
.reviews {
  padding: 6rem 3rem;
  background-color: #fafafa;
}

.reviews-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.reviews h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 3rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.reviews-embed {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviews-embed iframe {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.reviews-embed iframe::-webkit-scrollbar {
  display: none; /* WebKit */
}

/* Footer */
.footer {
  padding: 6rem 3rem 3rem;
  background-color: #000;
  color: white;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: end;
}

.footer-left h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.footer-left p {
  color: #ccc;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-left .contact-btn {
  color: white;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-right {
  text-align: right;
}

.footer-brand {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer-right p {
  color: #666;
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1.5rem;
    flex-direction: row;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .hero-social-links {
    gap: 0.75rem;
    margin: 1.25rem 0;
  }

  .hero {
    padding: 4rem 1.5rem 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
  }

  .hero-welcome {
    position: static !important;
    top: auto !important;
    order: 1;
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
  }

  .hero-main {
    order: 2;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image {
    max-width: 280px;
    height: 300px;
    margin-bottom: 1.5rem;
  }

  .hero-name {
    margin-top: 0;
    text-align: center;
  }

  .hero-name h2 {
    font-size: 2.2rem;
    white-space: nowrap;
  }

  .hero-welcome h1 {
    font-size: 2rem;
  }

  .hero-welcome p {
    font-size: 0.85rem;
  }

  .scroll-indicator {
    position: static;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
  }

  .about,
  .services {
    padding: 4rem 1.5rem;
  }

  .about-content,
  .services-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .works {
    padding: 4rem 1.5rem;
  }

  .reviews {
    padding: 4rem 1.5rem;
  }

  .reviews h2 {
    font-size: 1.8rem;
  }

  .reviews-embed section {
    max-width: 100% !important;
    height: 400px !important;
  }

  .featured-work-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .featured-work-info h3 {
    font-size: 1.75rem;
  }

  .work-tech {
    justify-content: center;
  }

  .featured-work-image {
    order: -1;
  }

  .works-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 250px);
  }

  .work-item.large {
    grid-row: span 1;
  }

  .footer {
    padding: 4rem 1.5rem 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Button Hover Effects */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
}

/* Image Hover Effects */
img {
  transition: transform 0.3s ease;
}

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