@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&display=swap');

/* Dubbele reset van toepassing, omdat het anders niet meer binnen de bowsergrootte past*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-image: url('../images/elements/gradientbackground.png');
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed; 
  font-family: 'Cinzel', serif;
  color: #66001A;
  min-height: 100vh;
  overflow-y: auto;
}

/* ============================================
   HEADER STYLES
   ============================================ */

/* Header voor Homepage (simpel logo) */
.page-home header {
  padding: 25px 0 0 3%; 
}

.page-home .logo img {
  max-height: 100px; 
  display: block;
}

/* Header voor About & Contact pagina's (met navigatie) */
#SiteHeader {
  width: 100%;
  padding: 0px 5% 0 3%;    /* Verhoogd naar 30px om het logo te laten zakken */
  margin-bottom: -100px;    /* Veranderd van -100 naar -130px om de rest op zijn plek te houden */
  position: relative; 
  z-index: 100;
}

.header-container {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.header-container .logo {
  grid-column: 1;
}

.header-container .logo img {
  height: 80px;
  display: block;
}

.main-nav {
  grid-column: 2;
  justify-self: end;
  margin-top: 0;
  padding-top: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 50px;
}

.main-nav a {
  text-decoration: none;
  color: #66001A;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 20px;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #000000;
  letter-spacing: 4px;
}

/* ============================================
   HOMEPAGE HERO SECTION
   ============================================ */
#HomepageHero {
  padding: 0; 
  margin-top: -235px;
  text-align: center;
  position: relative;
}

#HomepageHero .container {
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
}

#HomepageHero .hero-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#HomepageHero .hero-cards img {
  width: 100%;
  height: auto;
  display: block;
}

#HomepageHero nav {
  position: absolute; 
  top: 27%;    
  left: 36%;    
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 20;
}

#HomepageHero nav ul {
  display: flex;
  list-style: none;
  gap: clamp(20px, 10vw, 150px);
}

#HomepageHero nav a {
  text-decoration: none;
  color: #66001A;
  font-weight: 550;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: clamp(14px, 1.6vw, 22px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

#HomepageHero nav a:hover {
  color: #000000;
  letter-spacing: 4px;
}

/* ============================================
   HOMEPAGE HIGHLIGHTS SECTION
   ============================================ */
#homepageHighlights {
  margin-top: -12vw; 
  position: relative;
  z-index: 10;
}

#homepageHighlights .container {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

#homepageHighlights h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 18px; 
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #66001A;
  font-weight: 700;
}

#homepageHighlights .card:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px; 
  flex-wrap: nowrap;
}

#homepageHighlights img {
  width: 105px; 
  height: 105px;
  object-fit: cover;
  border-radius: 18px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

#homepageHighlights img:hover {
  transform: scale(1.1);
}

/* ============================================
   HOMEPAGE WORK SECTION
   ============================================ */
#HomepageWork .container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px; 
  grid-template-rows: auto auto; 
  gap: 15px 25px;
  margin-bottom: 30px; 
  padding: 20px 5% 40px 5%; 
  overflow-x: auto;
  scrollbar-width: none;
}

#HomepageWork .container::-webkit-scrollbar {
  display: none;
}

#HomepageWork h2 {
  grid-row: 1;
  grid-column: 1 / -1; 
  text-align: center; 
  position: sticky;
  left: 0;
  right: 0;
  width: 90vw;
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #000000;
  font-weight: 700;
}

#HomepageWork .card {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px); 
  animation: fadeIn 0.6s ease-out forwards;
}

#HomepageWork .card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

#HomepageWork .card img:hover {
  transform: scale(1.1);
}

#HomepageWork .card h3 {
  margin-top: 15px; 
  font-size: 13px;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  text-align: center;
  transition: all 0.3s ease;
}

#HomepageWork .card:hover h3 {
  color: #000000;
  transform: translateY(8px); 
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ABOUT ME PAGE SECTION
   ============================================ */
#AboutSection {
  padding: 40px 5% -20px; /*onthouden dit is voor de marge*/
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

#AboutSection .container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 100px; /* Verlaagd van 230px naar 100px */
  margin-bottom: 100px; /* Voeg dit toe voor ruimte boven de footer */
}

/* Text box met PNG achtergrond */
.text-box {
  position: relative;
  width: 450px;
  min-height: 520px;
  flex-shrink: 0;
  margin-top: 50px;
  margin-bottom: 55px;
}

.text-box .box-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.text-content {
  position: relative;
  z-index: 2;
  padding: 50px 45px 50px 45px;
  color: #000000;
}

.text-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: capitalize;
  color: #000000;
}

.text-content p {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 400;
  text-align: left;
}

.text-content .closing {
  margin-top: 25px;
  font-style: italic;
}

/* Photo box */
.photo-box {
  width: 380px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  margin-top: 170px;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   CONTACT PAGE SECTION
   ============================================ */
#ContactSection {
  padding: 0px 5% 0px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: auto;
}

#ContactSection .container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0px; 
}

/* Contact box met PNG achtergrond */
.contact-box {
  position: relative;
  width: 380px;
  max-width: 85vw;
  height: 520px;
  flex-shrink: 0;
  margin-top: 230px;
  margin-bottom: 160px;
}

.contact-box .box-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 1;
}

.form-content {
  position: relative;
  z-index: 2;
  padding: 40px 40px 40px 40px;
  color: #000000;
}

.form-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 3px;
  text-transform: capitalize;
  color: #000000;
  text-align: center;
}

.form-content .subtitle {
  font-size: 10px;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 400;
  text-align: center;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-bottom: 2px solid #000000;
  background: transparent;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  color: #000000;
  text-align: center;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #66001A;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.send-btn {
  width: 110px;
  padding: 10px 25px;
  margin: 12px auto 0;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.send-btn:hover {
  background-color: #66001A;
  transform: scale(1.05);
}

/* ============================================
   FOOTER STYLES (SHARED)
   ============================================ */
#SiteFooter {
  padding: 0px 0 50px;
  display: flex;
  justify-content: center;
}

#SiteFooter .container {
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.footer-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 5px solid #000;
  width: fit-content;
  margin: 0 auto;
}

.footer-nav li, 
.footer-nav a {
  text-decoration: none;
  color: #66001A;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: #000000;
  text-decoration: underline;
}

.footer-title:hover {
  color: #66001A;
  text-decoration: none;
}

.footer-nav a:visited {
  color: #66001A;
}

.footer-title {
  font-weight: 700;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Responsive voor navigatie (About & Contact) */
@media (max-width: 1400px) {
  .main-nav ul {
    gap: 30px;
  }
  
  .main-nav a {
    font-size: 18px;
    letter-spacing: 1px;
  }
}

@media (max-width: 1200px) {
  .main-nav ul {
    gap: 25px;
  }
  
  .main-nav a {
    font-size: 17px;
    letter-spacing: 0.5px;
  }
}

/* Responsive voor About pagina */
@media (max-width: 1024px) {
  .about-content {
    gap: 40px;
  }

  .text-box {
    width: 400px;
  }

  .photo-box {
    width: 340px;
    height: 420px;
  }
}

/* Mobile responsive (About, Contact, en Header) */
@media (max-width: 768px) {
  .header-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-nav {
    justify-self: center;
  }

  .main-nav ul {
    gap: 25px !important;
  }

  .main-nav a {
    font-size: 16px !important;
    letter-spacing: 1px !important;
  }

  /* About content responsive */
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .text-box {
    width: 100%;
    max-width: 450px;
  }

  .text-content {
    padding: 40px 35px;
  }

  .photo-box {
    width: 100%;
    max-width: 380px;
    height: 450px;
  }

  /* Contact content responsive */
  .contact-box {
    width: 100%;
    max-width: 450px;
  }

  .form-content {
    padding: 40px 35px;
  }

  .form-content h1 {
    font-size: 30px;
  }
}