:root {
  --color-primary: #D6DDE7;
  --color-background: #0D0909;
  --color-accent: #B38973;
  --color-secondary: #B98B72;
  --color-highlight: #F696A2;
  --color-neutral: #b0b0b0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  color: var(--color-primary);
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

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

.header {
  background: #000;
  color: var(--color-primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--color-neutral);
  font-size: 0.9rem;
  background: #000;
  border-radius: 0;
  box-shadow: none;
}

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

.logo {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

.logo img {
  border: 3px solid var(--color-accent);   /* Accent (brown) border */
  border-radius: 8px;                      /* Slightly rounded square corners */
  padding: 2px;
  background: #181818;
}

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

.nav-link,
.project-link {
  color: var(--color-secondary);
  text-decoration: none;  
  font-weight: 700;        
}
.nav-link:hover,
.project-link:hover {
  color: var(--color-highlight);
  text-decoration: none;  
}

/* HERO SECTION */
.hero {
  background: #181818;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.hero-content {
  max-width: 500px;
  width: 100%;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.highlighted {
  color: var(--color-highlight);
  background: rgba(255,255,255,0.08);
  padding: 0 0.4em;
  border-radius: 6px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #e0e7ff;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-image img {
  width: 320px;
  max-width: 40vw;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  object-fit: cover;
  border: 4px solid var(--color-accent);
  background: #181616;
}

/* CONTACT FORM */
.contact-form {
  background: transparent; /* inherit section bg */
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  max-width: 420px;
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.section {
  background: #181818; /* lighter black */
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.modal {
  display: none;
  position: fixed;
  top: 5%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 1000;
  padding: 1rem;
  overflow: auto;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  background: #232021;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 100%;
}

.project-img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.project-info {
  flex: 1;
}

.project-link {
  display: inline-block;
  margin-right: 1em;
  margin-top: 0.5em;
  color: #007acc;
  text-decoration: none;
  font-weight: 600;
}

.project-link:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}

.contact-form label {
  font-weight: 600;
  color: var(--color-primary);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 24px;
  border: 3px solid var(--color-accent); /* Brown border */
  outline: none;
  background: var(--color-accent);   /* button color */
  color: var(--color-primary);       /*button text */
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}

#scrollTopBtn:hover {
  background: var(--color-secondary); /*button hover */
  border-color: var(--color-secondary);
}

.section,
.project-card,
.modal {
  background: rgba(19, 17, 17, 0.98); /* Very dark gray with slight transparency */
  color: var(--color-primary);
}

/* Responsive  */
@media (max-width: 900px) {
  .hero, .section {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 98vw;
  }
  .project-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
