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

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  background: #fafafa;
  color: #1a1a1a;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Header */
.header {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 200;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 1px;
  background: #ff6f61;
}

.nav {
  display: flex;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #ff6f61;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('imgs/hero.jpg') no-repeat center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(255, 255, 255, 0.02) 100px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 98px,
      rgba(255, 255, 255, 0.02) 100px
    );
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 2rem;
  font-weight: 100;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 3rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.btn {
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 0;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #ff6f61;
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 111, 97, 0.3);
}

.btn-primary:hover {
  background: #ff5a4a;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 111, 97, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 8rem 0;
  text-align: center;
  background: #fff;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #ff6f61, transparent);
  transform: translateX(-50%);
}

.about h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  font-weight: 100;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.about p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #666;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* Projects Section */
.projects {
  padding: 8rem 0;
  background: #f8f9fb;
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 111, 97, 0.3), transparent);
}

.projects h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 5rem;
  color: #1a1a1a;
  font-weight: 100;
  letter-spacing: -0.02em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-top: 2px solid transparent;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6f61, #ff8a75);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(20%);
}

.project-card:hover img {
  transform: scale(1.02);
  filter: grayscale(0%);
}

.project-content {
  padding: 2.5rem 2rem;
}

.project-card h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.project-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.project-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 111, 97, 0.1);
  color: #ff6f61;
  padding: 0.4rem 1rem;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 111, 97, 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: #ff6f61;
  color: #fff;
}

/* Contact Section */
.contact {
  padding: 6rem 2rem;
  background: #fff;
  max-width: 800px;
  margin: 0 auto 6rem auto;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 60px;
  height: 1px;
  background: #ff6f61;
  transform: translateX(-50%);
}

.contact h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  font-weight: 100;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
}

.contact form label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 300;
  color: #1a1a1a;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 1.2rem 0;
  margin-bottom: 2.5rem;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1.1rem;
  font-family: inherit;
  background: transparent;
  transition: all 0.3s ease;
  font-weight: 300;
}

.contact form input:focus,
.contact form textarea:focus {
  border-bottom-color: #ff6f61;
  outline: none;
  background: rgba(255, 111, 97, 0.02);
}

.contact form input::placeholder,
.contact form textarea::placeholder {
  color: #bbb;
  font-weight: 300;
}

.contact form button {
  width: 100%;
  background: #1a1a1a;
  color: white;
  font-weight: 300;
  border: none;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.contact form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.contact form button:hover::before {
  left: 100%;
}

.contact form button:hover {
  background: #ff6f61;
  transform: translateY(-2px);
}

.form-response {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  color: green;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  padding: 5rem 0 2rem 0;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff6f61, transparent);
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 1px;
  background: #ff6f61;
}

.footer-section p,
.footer-section li {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  font-weight: 300;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 300;
  position: relative;
}

.footer-section ul li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff6f61;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover::before {
  width: 100%;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: #888;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  color: #888;
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.8rem;
  border: 1px solid #333;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ff6f61;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.social-icons a:hover::before {
  left: 0;
}

.social-icons a:hover {
  color: #fff;
  border-color: #ff6f61;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    width: 250px;
    flex-direction: column;
    display: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav ul li {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-toggle {
    display: block;
  }

  .hero h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .about,
  .projects {
    padding: 5rem 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .social-icons {
    justify-content: center;
  }

  .contact {
    padding: 4rem 1rem;
  }
}

/* Additional architectural elements */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 111, 97, 0.3), transparent);
  margin: 2rem 0;
}

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

/* Selection styling */
::selection {
  background: rgba(255, 111, 97, 0.2);
  color: #1a1a1a;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ff6f61;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff5a4a;
}
