/* CSS (styles.css) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body, h1, h2, p {
  box-sizing: border-box;
  color:white;
}


body {
    font-family: Inter, "serif";
    background-color: #f9f9f9;
    color: #000000;
}

a {
	color:antiquewhite;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

.bgCoverBody{
  background-image: url(bgs/3.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

.bgCover{
  background-image: url(bgs/3.png);
  background-size: cover;
  background-repeat: no-repeat
}

.bgCover2{
  background-image: url(bgs/2.png);
  background-size: cover;
  background-repeat: no-repeat
}


header.intro-section {
  text-align: left;
  padding: 10px 10px;
  color: white;
}

.intro-section {
  padding-top:8rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap; /* Enables wrapping for mobile */
}

.logo-container {
  flex: 0.8 0.6 150px; /* Fixed size for logo on widescreen */
}

.logo {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.text-container {
  flex: 1;
  min-width: 250px;
}

.titles {
  display: flex;
  justify-content: space-between; /* Ensures titles are side by side */
  align-items: flex-end;
  margin-bottom: 10px;
  gap:10px;
}

.main-title {
    font-size: 2rem;
    color: #BEA345;
    align-items: flex-start;
}

.subtitle {
    font-size: 1.5rem;
    color: #9F8C47;
    align-items: flex-end;
    margin-left: 10px;
}

.description {
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.carousel-section {
  padding: 50px 20px;
  text-align: left;
}

.glide {
  position: relative;
}

.glide__slide img {
  width: 100%;
  object-fit: cover;
  overflow:hidden;
  aspect-ratio:4/3;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.6);
}

.glide__arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.glide__arrow {
  pointer-events: auto; 
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.glide__arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.glide__arrow--left {
  position: absolute;
  left: 10px;
}

.glide__arrow--right {
  position: absolute;
  right: 10px;
}

.project-link {
  display: block;
  margin-top: 10px;
  text-decoration: none;
  color: #4CAF50;
  font-weight: bold;
}

.contact-section {
  display:flex;
  justify-content: space-between;
  flex-direction:row;
  flex-flow:wrap;
  align-items:center;
  position:fixed;
  z-index:3;
  width:100%;
  min-height: 5%;
  padding:30px;
  font-size: 1.5rem;
  font-weight: bold;
}

.contacts{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content:center;
}

.contact-button {
  text-align:center;
  white-space: nowrap;
  word-break: break-word;
  background-repeat:no-repeat;
  border-radius: 1.5rem;
  padding:0.3rem;
  border:medium solid;
  box-sizing: border-box;
}

form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 8px;
}

form input, form textarea, form button {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: #45a049;
}

@media (max-width: 768px) {
	
  .contact-section {
    flex-direction: column;
    padding: 20px;
  }
	
  .contact-button {
    width: 100%;
    flex-direction: column;
	text-align:center;
  }
	
  .intro-section {
	padding-top:16rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .padding-section {
	padding-top:30vh;
  }

  .logo-container {
    margin-bottom: 20px;
  }

  .titles {
    justify-content: space-between; /* Ensures titles stay side by side */
    gap: 10px;
  }

  .text-container {
    width: 100%;
  }
}

@media (min-width: 768px){
  .intro-section {
	padding-top:4rem;
	}
  .padding-section {
	padding-top:6rem;
  }
}