@import "./variables.css";

/* =====================================================
   FONT IMPORTS
   Paste Google Fonts @import or <link> code below
   (Gothic A1 & Josefin Sans)
   ===================================================== */

/* @import url('PASTE GOOGLE FONTS CODE HERE'); */


/* =====================================================
   CSS VARIABLES (COLOR SYSTEM)
   ===================================================== */

:root {
  --CP1-Primary-Red: #ED1C28;
  --CP1-Accent-Secondary-Blue: #0C5AA9;
  --CP1-Light-Background-Yellow: #F4BE18;
  --CP1-Dark-Text: #262323;
  --CP1-Grey-Neutral: #DFDFDF;
}


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

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

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

body {
  font-family: "Gothic A1", sans-serif;
  color: var(--CP1-Dark-Text);
  background-color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}


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

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--CP1-Grey-Neutral);
}

.nav-left .logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--CP1-Dark-Text);
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 2rem;

  font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-center a:hover {
  color: var(--CP1-Primary-Red);
}

.nav-right {
  display: flex;
  gap: 1rem;
}

.social-icon {
  font-size: 0.9rem;
}

/* =====================================================
   THEME TOGGLE BUTTON
   ===================================================== */

.theme-toggle {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--CP1-Grey-Neutral);
  background-color: transparent;
  color: var(--CP1-Dark-Text);

  font-size: 1rem;
  cursor: pointer;
}

.theme-toggle:hover {
  background-color: var(--CP1-Grey-Neutral);
}

/* =====================================================
   BANNER / HEADER
   ===================================================== */

.banner {
  height: 60vh;
  background-color: var(--CP1-Light-Background-Yellow);
  display: flex;
  align-items: center;
  justify-content: center;

  /* moving graphics will live here */
}


/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about {
  padding: 5rem 2rem;
}

.about-content {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
}

.about-image {
  width: 50%;
  height: 200px;
  background-color: var(--CP1-Grey-Neutral); /* placeholder */
}

/*
/* =====================================================
   PROCESS SECTION
   ===================================================== */

.process {
  padding: 5rem 2rem;
  background-color: #f9f9f9;
}

.process-cards {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  padding: 2rem;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid var(--CP1-Grey-Neutral);
}

.process-card img {
  margin: 0 auto 1rem auto;
}

.process-card p {
  font-size: 0.95rem;
}
*/

/* =====================================================
   PORTFOLIO SECTION
   ===================================================== */

.portfolio {
  padding: 5rem 2rem;
}

.portfolio-gallery {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  border: 1px solid var(--CP1-Grey-Neutral);
  padding: 1rem;
}

.portfolio-item h3 {
  font-family: "Josefin Sans", sans-serif;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.portfolio-item p {
  font-size: 0.9rem;
}


/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact {
  padding: 5rem 2rem;
  background-color: var(--CP1-Grey-Neutral);
}

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

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form button {
  margin-top: 1rem;
  padding: 0.75rem;
  border: none;
  background-color: var(--CP1-Primary-Red);
  color: #ffffff;
  font-family: "Josefin Sans", sans-serif;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: var(--CP1-Accent-Secondary-Blue);
}


/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  background-color: #ffffff;
  border-top: 1px solid var(--CP1-Grey-Neutral);
}
