/* === BASE STYLES === */
body {
    font-family: 'Sans-serif', Arial, sans-serif;
    background: linear-gradient(to bottom, white, #f8f9fa);
    margin-top: 80px; /* prevent overlap from fixed navbar */
}

/* === NAVBAR === */
.navbar-brand img {
    max-height: 50px;
}

.custom-nav-link {
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    background-color: #092635;
    color: white !important;
    border-radius: 5px;
    margin-left: 10px;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.custom-nav-link:hover {
    background-color: #5c2b2b;
}

/* === CAROUSEL === */
.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
}

/* === ABOUT & CONTACT === */
.about-section, .team-section,
.contact-section {
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1rem;
}

.about-section {
    background: linear-gradient(to bottom, white, #e0e0e0);
}

.team-section {
    background: linear-gradient(to bottom, white, #d6cfcf);
}

.contact-section {
    background: linear-gradient(to bottom, white, #e0e0e0);
}

.section-title {
  font-size: 3.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.about-text {
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 720px;
  padding: 0 1rem;
  
  text-align: justify;
  text-justify: inter-word;
}

.team-text {
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 720px;
  padding: 0 1rem;
  
  text-align: justify;
  text-justify: inter-word;
}

.contact-text {
  font-size: 2.1rem;
  line-height: 1.6;
  max-width: 720px;
  padding: 0 1rem;
}

/* === FOOTER === */
.footer {
    background-color: #000000;
    color: white;
    font-size: 1rem;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .about-text {
        font-size: 1.4rem;
        max-width: 90%;
        padding: 0 1rem;
        
         text-align: justify;
        text-justify: inter-word;
    }
    
    .team-text {
        font-size: 1.4rem;
        max-width: 90%;
        padding: 0 1rem;
        
         text-align: justify;
        text-justify: inter-word;
    }
    
    .contact-text {
        font-size: 1.2rem;
        max-width: 90%;
        padding: 0 1rem;
    }

    .about-section, .team-section,
    .contact-section {
        padding: 2rem 1rem;
        height: auto;
        flex-direction: column;
    }

    .carousel-item {
        height: auto;
    }

    .carousel-item img {
        height: auto;
        max-height: 60vh;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1.4rem;
        
         text-align: justify;
        text-justify: inter-word;
    }
    
    .team-text {
        font-size: 1.4rem;
        
         text-align: justify;
        text-justify: inter-word;
    }
    
    .contact-text {
        font-size: 1rem;
    }

    .custom-nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        margin: 5px auto;
        width: 100%;
    }

    .navbar-brand img {
        max-height: 40px;
    }
    .navbar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-item {
    margin: 0.3rem 0;
    width:100%;
  }

  .custom-nav-link {
    width: 100%;
    display: block;
    padding: 12px 10px;
    font-size: 1rem;
  }
  
  .footer {
    font-size: 0.9rem;
  }
}