/* ============================= */
/* ROOT VARIABLES */
/* ============================= */

:root {
  --primary-color: #0b6f73;
  --dark-color: #000;
  --light-bg: #f2f2f2;
  --card-radius: 20px;
  --section-padding: clamp(60px, 8vw, 120px);
  --text-large: clamp(32px, 5vw, 56px);
  --text-medium: clamp(22px, 3vw, 40px);
  --text-small: clamp(16px, 2vw, 20px);
}

/* ============================= */
/* GLOBAL */
/* ============================= */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--light-bg);
  color: var(--dark-color);
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

.nav {
  background: var(--primary-color);
  padding: 16px clamp(20px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;

  .logo {
    color: white;
    font-weight: bold;
    font-size: 18px;
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    background: black;
    padding: 10px 22px;
    border-radius: 30px;

    a {
      color: white;
      text-decoration: none;
      font-size: 14px;
    }

    .active a {
      color: var(--primary-color);
    }
  }
}

/* ============================= */
/* HERO */
/* ============================= */

.hero {
  min-height: 420px;
  background-image: url("images/background2.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 40px;

  h1 {
    font-size: var(--text-large);
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 14px 28px;
  }

  button {
    padding: 10px 24px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
  }
}

/* ============================= */
/* INTRO + ABOUT */
/* ============================= */

.intro,
.about {
  background: white;
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;

  h1 {
    font-size: var(--text-large);
  }

  h2 {
    font-size: var(--text-medium);
  }

  h4, p {
    font-size: var(--text-small);
  }
}

.intro-image,
.about-image {
  width: 100%;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: var(--card-radius);
}

.intro-image {
  background-image: url("images/me.png");
}

.about-image {
  background-image: url("images/me.png");
}

/* ============================= */
/* DARK SECTIONS */
/* ============================= */

.dark-section {
  background: var(--dark-color);
  color: white;
  padding: var(--section-padding);
  text-align: center;

  h2 {
    font-size: var(--text-medium);
    margin-bottom: 40px;
  }
}

.flex-row {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 6vw, 100px);
  flex-wrap: wrap;
}

/* Cards */

.card {
  width: 250px;
  height: 310px;
  border-radius: var(--card-radius);
  background-image: url("images/perfume1.png");
  background-size: cover;
  background-position: center;
}

/* ============================= */
/* ASPIRATIONS */
/* ============================= */

.aspirations {
  background: rgb(214, 231, 229);
  padding: var(--section-padding);
  text-align: center;

  h2 {
    font-size: var(--text-medium);
    margin-bottom: 50px;
  }
}

.aspiration-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.aspiration-card {
  width: 280px;
  height: 360px;
  border-radius: var(--card-radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.aspiration-card:hover {
  transform: translateY(-8px);
}

/* ============================= */
/* PROJECTS */
/* ============================= */

.project-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.project-item {
  width: 300px;
  text-align: center;
}

.project-image {
  width: 100%;
  height: 180px;
  border-radius: 40px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}



footer {
  background: #0b6f73;
  color: white;
  text-align: center;
  padding: 30px;
}


@media (max-width: 768px) {

  .intro,
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav {
    flex-direction: column;
    gap: 15px;

    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
    }
  }

  .hero {
    min-height: 350px;
  }

  .flex-row {
    gap: 40px;
  }
}

/* ============================= */
/* MEDIA QUERY: 520px AND UNDER */
/* ============================= */

@media (max-width: 520px) {

  body {
    font-size: 18px;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
  }

  .hero {
    min-height: 300px;
  }

  .card,
  .project-item {
    width: 100%;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

}
/* ============================= */
/* PROJECT PAGE STYLING */
/* ============================= */

/* Intro Section */

.projects-intro {
  background: rgb(214, 231, 229);
  color: black;
  padding: var(--section-padding);
  text-align: center;
}

.projects-intro-box {
  max-width: 800px;
  margin: 0 auto;

  h1 {
    font-size: var(--text-large);
    margin-bottom: 20px;
  }

  p {
    font-size: var(--text-small);
  }
}

/* Dark + Light Sections */

.projects-dark {
  background: black;
  color: white;
  padding: var(--section-padding);
  text-align: center;
}

.projects-light {
  background: white;
  color: black;
  padding: var(--section-padding);
  text-align: center;
}

.projects-dark h2,
.projects-light h2 {
  font-size: var(--text-medium);
  margin-bottom: 50px;
}

/* Project Row already styled earlier */
/* This keeps consistency */

/* Project Images */

.project-image {
  width: 100%;
  height: 200px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
}

/* Specific Images */

.pd-1 { background-image: url("images/pitchdeck1.png"); }
.pd-2 { background-image: url("images/pitchdeck2.png"); }
.pd-3 { background-image: url("images/pitchdeck3.png"); }

.ow-1 { background-image: url("images/other1.png"); }
.ow-2 { background-image: url("images/other2.png") }
.ow-3 { background-image: url("images/other3.png") }

