:root {
  --secondary: #4F3864;/*#00a9a5; */
  --header: #0b5351; 
  --textPrimary: #343a40; 
  --backgroundColour: #333333;/*#4e8098;*/
  --projectCard: #222;/*#90c2e7;/*
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Arial, sans-serif;
  background: var(--backgroundColour);/*#333333;*/
  color: #eee;
  line-height: 1.6;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*padding: 0rem 0rem;*/
  padding-right: 2rem;
  background: var(--header);/*#4F3864;*/
  position: sticky;
  top: 0;
  z-index: 1000; 
}
.logo img {
    height: 4rem;
    width: auto; 
    display: block; 
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px; 
    margin: 0; 
    padding: 0; 
}
nav ul li {
  margin-left: 1.5rem;
}
nav a {
  color: #eee;
  text-decoration: none;
}
nav a:hover {
  color: #035AA7;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  padding-bottom: 8rem;
  background: linear-gradient(var(--secondary),var(--secondary),var(--secondary),var(--backgroundColour));/*#222;*/
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Projects */
#projects {
  padding: 3rem 2rem;
  text-align: center;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));/*repeat(3, 1fr);*/
  gap: 4.5rem;
  margin-top: 2rem;
}
@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--projectCard);
  padding: 1rem;
  border-radius: 10px;
  transition: transform 0.2s;
  position: relative;
  z-index: 1;
}
.card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
  transform: translateY(-2px); 
  transition: all 0.3s ease-in-out;
}
.card-link {
    display: block; 
    text-decoration: none; 
    color: inherit;      
}
.card img {
  width: 100%;
  height: auto;          
  max-height: 750px;     
  object-fit: cover;     
  border-radius: 10px;
}

/* About & Contact */
#about, #contact {
  padding: 3rem 2rem;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  padding-top: 4rem;
  background: linear-gradient(var(--backgroundColour),var(--secondary),var(--secondary));/*#222;*/
  margin-top: 2rem;
}
