body {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  
  background: linear-gradient(to bottom, 
  #E6CFC1 0%, #fdf7f3 100%);
  color: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

/* ====================
  HEADER & NAVIGATION
==================== */
header {
  background: #0277a3;
  color: #E6CFC1;
  text-align: center;
  padding: 50px 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 10px;
}

nav a:focus, .btn:focus {
  outline: 2px dashed #fff;
  outline-offset: 3px;
}

/* SECTION NAV */
.section-2 {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.section-2 a {
  margin-right: 20px;
  text-decoration: none;
  color: whitesmoke;
}

.section-2 a:hover {
  text-decoration: underline;
  color: black;
}

/* ====================
  BANNER & LOGO
==================== */
.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;

}

.logo-container {
    text-align: center;
    margin: 20px 0;
}

.company-logo {
    max-width: 350px;
    height: auto;
    animation: zoomIn 1s ease-in-out;
    transition: transform 0.3s ease;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ====================
    SECTION STYLES
==================== */
.section-1 {
  padding: 20px;
  background: #fff;
  margin: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.company-block {
  flex: 1 1 300px; 
  background: #fff;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid #ddd;
}

.company-block h2 {
  font-size: 1.5em;
  color: #1a1a1a;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.company-block p {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

.company-block ul {
  list-style: none;
  padding-left: 0;
}

.company-block li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.company-block li i {
  margin-right: 8px;
  color: #1e88e5;
}


/* ====================
    WATERMARK
==================== */


.watermark-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  opacity: 0.20;
  pointer-events: none;
  animation: fadeZoom 3s ease-in-out;
}

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 0.05;
    transform: scale(1);
  }
}

.watermark-logo {
  max-height: 250px;
  mix-blend-mode: multiply;
  height: auto;
  max-width: 80%;
}

@media (max-width: 768px) {
  .main-content {
    padding: 50px 20px;
  }
}

/* ====================
  NAV MENU (RESPONSIVE)
==================== */
#nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#nav-menu li {
  margin: 10px 0;
}

#nav-menu a {
  text-decoration: none;
  color: black;
  font-size: 18px;
}

@media (min-width: 768px) {
  #toggle-button {
      display: none;
  }

  #nav-menu {
      display: block !important;
  }

  #nav-menu ul {
      display: flex;
      gap: 20px;
  }

  #nav-menu li {
      margin: 0;
  }
}

/* ====================
    TEAM SECTION
==================== */

.white-block {
  position: relative;
  color: black;
  z-index: 1; /* content on top of watermark */
}


.profiles-container {
  padding: 50px 20px;
  text-align: center;
}


.team {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 60px auto;
  max-width: 800px;
  padding: 20px;
  animation: fadeIn 1.2s ease-in-out;
}
.profile-card {
  flex: 1 1 300px;
  min-width: 280px;
  text-align: left;
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}
.profile-card:hover {
  transform: translateY(-5px);
}
.profile-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #E6CFC1;
  margin-bottom: 15px;
}

.profile-name h3 {
  float: left;
  margin: 10px 0 5px;
  font-size: 1.3em;
  font-weight: 600;
  color: #333;
}

.profile-title {
  font-size: 16px;
  color: #555;
  margin: 5px 0 15px 0;
}

.profile-bio {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
    to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .team {
      flex-direction: column;
      align-items: center;
  }

  .person {
      width: 90%;
  }
}

/* ====================
  ERROR PAGE
==================== */
.error-page {
  background-color: #fff3cd;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #856404;
  text-align: center;
  padding: 60px 20px;
}
.error-page .container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  border: 3px dashed #ffc107;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.error-page h1 {
  font-size: 100px;
  color: #ff5722;
  margin: 0;
}

.error-page h2 {
  font-size: 28px;
  margin: 20px 0;
}

.error-page p {
  font-size: 18px;
  margin-bottom: 30px;
}
.error-page .btn {
  background-color: #ffc107;
  color: #000;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.error-page .btn:hover {
  background-color: #e0a800;
}

.error-img {
  width: 150px;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-15px);
  }
}

/* ====================
    SLOGAN & DECORATIVE
==================== */
.slogan {
  font-style: italic;
  font-size: 18px;
  color: #6c757d;
  margin-top: 30px;
  opacity: 0;
  animation: fadeIn 2.5s ease-in forwards;
  animation-delay: 1.5s;
}

.coffee-float {
  width: 60px;
  position: absolute;
  top: 20px;
  left: -100px;
  animation: floatCoffee 10s ease-in-out infinite;
  opacity: 0.8;
  z-index: 1;
}

@keyframes floatCoffee {
  0% {
      transform: rotate(0deg);
      left: -100px;
      top: 30px;
  }
  50% {
      transform: rotate(8deg);
      left: 50%;
      top: 50px;
  }
  100% {
      transform: rotate(-4deg);
      left: 110%;
      top: 30px;
  }
}

/* ====================
  FOOTER
==================== */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

footer ul li {
  display: inline;
  margin-right: 15px;
}

footer ul li a {
  color: white;
  text-decoration: none;
}

footer ul li a:hover {
  text-decoration: underline;
}