/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-content {
  padding-left: 2.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-divider {
  /* moved to global.css -> .hero-divider */
  margin-bottom: 2rem;
}

.hero-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #d1d5db;
  margin-bottom: 2rem;
}

/* Unified Glass Button */
.btn.glass-btn {
  /* Uses shared .btn.glass-btn in global.css; small override for larger hero size */
  font-size: 1.15rem;
  padding: 0.9rem 1.6rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 1rem 0;
  }
  .hero-content {
    padding-left: 0;
    padding-top: 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-image {
    max-height: 400px;
  }
}

/* Projects */
.projects-section {
  padding: 100px 0;
  color: white;
}

/* projects-divider moved to global.css */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exactly 2 columns */
  gap: 2rem;
}

.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 300px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.project-card:hover .project-image {
  filter: blur(3px) brightness(0.7);
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.project-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    height: 250px;
  }
}

/* Contact */
.contact-section {
  padding: 100px 0;
  color: white;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: #5a6c7d;
  margin: 0 auto 2rem auto;
  border-radius: 2px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-label {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px;
  color: white !important;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

@media (max-width: 400px) {
  .contact-form {
    padding: 1.5rem;
  }
}
