body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8efcc;
  color: #0d2a2a;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'cinzel', sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 15px; }

a {
  color: #c9b17c;
  text-decoration: none;
}

a:hover { color: #a68d56; }

.navbar {
  background-color: #0d2a2a;
  border-bottom: 4px solid #c9b17c;
}

.navbar-nav .nav-link {
  color: #f4f1e6 !important;
  margin: 0 10px;
  font-weight: 600;
}

.navbar-nav .nav-link.active {
  color: #c9b17c !important;
}

.nav-logo {
  max-height: 50px;
  margin-top: 5px;
  margin-bottom: 5px;
}


.hero {
  position: relative;
  background: url('../images/scottish-highlands.jpg') center/cover no-repeat;
  color: #f4f1e6;
  padding: 150px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 42, 42, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; 
}

.hero h1 span {
  color: #c9b17c; 
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  margin: 5px 0;
}

.hero .btn-cta {
  margin-top: 20px;
  background-color: #c9b17c;
  color: #0d2a2a;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.hero .btn-cta:hover {
  background-color: #a68d56;
  color: #f4f1e6;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px;
  }

  .hero h1 span {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.about {
  padding: 60px 20px;           
  max-width: 1000px;            
  margin: 0 auto;              
  text-align: center;           
}

.about h2 {
  font-size: 2rem;
  color: #0d2a2a;
  margin-bottom: 30px;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #0d2a2a;
  margin-bottom: 15px;
}

.about p:first-of-type {
  font-weight: 600;
}
section {
  padding: 60px 20px;
}

.skills {
  margin-top: 40px;
}

.skills h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #0d2a2a;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.skill {
  background-color: #0d2a2a;
  color: #f4f1e6;
  padding: 15px 20px;
  border-radius: 10px;
  min-width: 120px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 2px solid #c9b17c;
}

.skill i {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
  color: #c9b17c;
}

.skill:hover {
  transform: translateY(-5px);
  background-color: #123636;
}
.projects {
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  background-color: #0d2a2a;
  border-top: 3px solid #c9b17c;
  border-bottom: 3px solid #c9b17c;
}

.projects h2 {
  font-size: 2rem;
  color: #c9b17c;
  margin-bottom: 40px;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;       
  gap: 30px;                 
  justify-content: space-evenly;
}

.project-card {
  flex: 1 1 300px;         
  max-width: 400px;        
  display: flex;
}

.project-card .card {
  flex: 1;                   
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8efcc;
  border: 5px solid #c9b17c;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card .card-body {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card h3 {
  font-size: 2rem;
  color: #0d2a2a;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 1rem;
  color: #0d2a2a;
  line-height: 1.6;
  margin-bottom: 0;
}


@media (max-width: 768px) {
  .project-card {
    flex: 1 1 100%; 
  }

  .projects h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .project-card h3 {
    font-size: 1.5rem;
  }

  .project-card p {
    font-size: 0.95rem;
  }
}

.contact {
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #0d2a2a;
  margin-bottom: 30px;
}


.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px; 
}


.contact label {
  font-weight: 600;
  text-align: left;
}


.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #c9b17c;
  box-shadow: 0 0 5px rgba(201, 177, 124, 0.5);
}


.contact textarea {
  min-height: 120px;
  resize: vertical;
}


.contact .btn-cta {
  background-color: #c9b17c;
  color: #0d2a2a;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.contact .btn-cta:hover {
  background-color: #a68d56;
  color: #f4f1e6;
}


#formMessage {
  margin-top: 15px;
  font-weight: 600;
  min-height: 20px; 
}


@media (max-width: 768px) {
  .contact h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .contact input,
  .contact textarea {
    font-size: 0.95rem;
  }

  .contact .btn-cta {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}
footer {
  background-color: #0d2a2a;
  color: #f4f1e6;
  text-align: center;
  padding: 30px 20px;
  border-top: 3px solid #c9b17c;
}

.footer-logo {
  max-height: 60px;
  margin-bottom: 15px;
}

footer .p {
  font-size: 0.9rem;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}