main {
    padding-top: 100px; /* adjust based on header height */
}
body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f3f3f3;
    color: #333;
}
.logo img {
  height: 100px;       /* adjust to your preferred size */
  width: auto;        /* keeps proportions */
  display: block;     /* removes inline spacing issues */
  margin-left: 20px;
}
    

header h1{
    margin: 0;
    font-size: 1.8rem; /*what does 1.8rem mean?*/
    letter-spacing: 1px;
}

/* PROJECTS SECTION CONTAINER */

/* INDIVIDUAL PROJECT CARD */
/*Styling of the project containers inside of the main container*/
.project{
    background-color: #1a1a1a;
    color: white;
    border-radius: 10px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: tranform 0.3 ease;
}
.project a{
    text-decoration: none;
    color: white;
}
.project:hover{
    transform: translateY(-5px);
    cursor: pointer;
}
.project h3{
    color: turquoise;
    margin-top: 10px;
}

h3{
    text-align: center;
}
.paragraphs{
    text-align: center;
}
#projects h2{
    padding: 60px 20px;
    }
#about{
    padding: 60px 20px;
}
#hero-section{
    display: flex; /*activate flex-box, allow you arrange elements in a container*/
    flex-direction: column; /*for elements to stack vertically*/
    justify-content: center;/*align center, horizontally*/
    align-items: center;/*align center, vertically*/
    padding: 20px; 
    text-align: center;
    margin-top: -90px;
}
#hero-section img{
    width: 180px;
    height: 180px;
    border-radius: 50%; /*circular image*/
    object-fit: cover;
    border: 4px solid teal;
    margin: 20px 0;
}
/*PROJECT SECTION CONTAINER*/
.projects-container{
    display:flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;

}
.btn { 
  padding: 10px 20px;
  background-color: teal;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.2s ease; 
  border: none; /*if styling link as a button you dont need border*/
  outline: none; /*if styling link as a button you dont need outline*/
}
.btn:hover{
    transform: scale(1.03);
    cursor: pointer;
}
/*CONTACT SECTION*/
#contact{
    background-color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
    color: #333;
    margin-top: 0px;
}
#contact h2{
    font-size: 32px;
    margin-bottom: 20px;
    color: teal;
}
.contact-details{
    font-size: 18px;
    line-height: 1.8;
}
.contact-details a{
    color: #007b7b;
    text-decoration: none;
    font-weight: bold;
}
.contact-details a:hover{
    text-decoration: underline;
}
footer {
  background-color: #222;
  color: #eee;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  margin-top: 40px;
  letter-spacing: 1px;
}

#certifications {
    padding: 60px 20px;
}

    
.certifications-container{
    background-color: #222222;
    color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
    margin: 0 auto;
}
/* Mobile adjustments (“IF the screen is smaller than 768px, THEN apply these styles.”)*/
@media (max-width: 768px) {
  .certifications-container {
    max-width: 100%;   /* use full width on small screens */
    margin: 0;         /* remove auto margin */
    padding: 15px;     /* less padding on mobile */
  }
}
.certificate-button{
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #007b7b;
    transition: transform 0.2s ease;
    padding: 5px;
    margin: 20px;
    border-radius: 5px;
    outline: 0px;
    border: 0px;
} 
.certificate-title{
    font-weight: bold;
}

.certificate-button:hover{
    transform: scale(1.03);
    cursor: pointer;
}
.kombuis, .benz, .sondela, .architect, .flyaway, .ntokozo, .pharamedic, .pharadise, .clothing, .dimitri, .silvva, .ur, .djs, .interior, .corolla{
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
   
}
.kombuis img, .ntokozo img, .clothing img, .dimitri img, .silvva img, .ur img, .djs img{
    height: 30%;
    width: 30%;
}
#film-body{
   background-color: #222222;
}

/* Mobile-specific rules */
@media (max-width: 768px) {
  .kombuis, .benz, .sondela, .architect, .flyaway, .ntokozo, .pharamedic, .pharadise, .clothing, .dimitri, .silvva, .ur, .djs, .interior, .corolla{
    width: 100%;      /* make images full width */
    height: auto;     /* keep proportions */
    display: block;   /* remove inline gaps */
  }
}
.sondela img, .architect img, .flyaway img, .pharadise img, .pharamedic img, .benz img, .interior img, .corolla img{
    height: 30%;
    width: 90%;
}

/*skills circles*/
#skills-map {
  text-align: center;
  padding: 40px 20px;
 margin: 60px;
  color: white;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 70px;
}

.skill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

/* Filled circles */
.filled {
  background-color: grey;
  color: white;
  border: 2px solid white;
}

/* Outlined circles */
.outlined {
  background-color: transparent;
  color: grey;
  border: 2px solid gray;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .skill {
    width: 120px;
    height: 120px;
    font-size: 14px;
  }
}

/*dropdown on the menu*/
/* Header container */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 120px;
}

.header-container h1 {
  color: white;
  margin: 0;
}

/* Navigation */
nav {
  display: flex;
  gap: 50px;

}

nav a {
  color: black;
  text-decoration: none;
  padding:  8px 0px;

}

nav a:hover {
  color: #007b7b;
  border-radius: 4px;
  
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown a {
  color: black;
  text-decoration: none;
  padding: 8px 12px;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;        /* directly below the parent */
  left: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 0;       /* remove extra padding */
}

/* Make links fill the dropdown */
.dropdown-content a {
  display: block;       /* fill full width */
  width: 100%;
  padding: 10px 15px;
  color: black;
  text-decoration: none;
  box-sizing: border-box;
}

.dropdown-content a:hover {
  background-color: #ddd; /* full-width hover effect */
  color: teal;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/*NAV LINKS RESPONSIVE*/
/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: teal;
  cursor: pointer;
  margin-right: 50px;
}

/* Mobile menu */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 40px;     /* height of your header */
    right: 10px;
    background-color: grey;
    padding: 1px;
    border-radius: 8px;
    z-index: 1000; /* make sure it sits above content */
    gap: 1px;
  }

  nav.active {
    display: flex;
  }

  nav a {
    color: black;         /* ensure links are visible */
    text-decoration: none;
    padding: 8px 12px;
    display: inline-block;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .dropdown-content {
    position: absolute; /* keep dropdown inside menu */
    background-color: #222;
    box-shadow: none;
    
  }

  .dropdown-content a{
    color: white;
  }
  
}
