@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* =========================
   GLOBAL RESET + BASE
========================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  color: #04292a;
  overflow-x: hidden;
  background: #fff;
}

/* =========================
   NAVIGATION BAR
========================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #01696e;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #04292a;
  font-weight: 600;
}

/* =========================
   FULL SCREEN SECTIONS
========================= */
.screen {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  scroll-margin-top: 80px;
  background: #fff;
  overflow: hidden;
}

.screen::before {
  content: "";
  position: absolute;
  top: 80px;
  bottom: 40px;
  left: 5%;
  right: 5%;
  border-radius: 20px;
  background: linear-gradient(180deg, #d6ecea, #a6d5b5, #5ba995);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 0;
}

/* =========================
   HERO SECTION
========================= */
#home.screen {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#home .hero-logo {
  max-width: 320px;
  width: auto;
  height: auto;
  animation: floating 3s infinite ease-in-out;
  margin-bottom: 2rem;
  z-index: 1;
}

#home .screen-inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 800px;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  margin: 0 auto;
}

/* =========================
   OTHER SECTIONS
========================= */
.screen-inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1100px;
  margin: 80px auto 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  backdrop-filter: blur(6px);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #01696e;
}

/* =========================
   FROSTED CONTAINERS
========================= */
.container {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin: 1.5rem auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

/* =========================
   PROJECT GRID
========================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.project-card img {
  max-width: 150px;
  margin-bottom: 1rem;
  height: auto;
}

.project-logo {
  max-width: 180px;
  margin: 0 auto 1rem auto;
  display: block;
  height: auto;
}

/* =========================
   PROJECT POST
========================= */
#projects.screen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.project-post {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
  margin: 0;
}

.project-post .post-left {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.project-post .post-left h3 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #01696e;
}

.project-post .post-left p {
  margin: 1rem 0;
  line-height: 1.6;
}

.project-post .post-right {
  width: 480px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.project-post .post-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 8px;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.project-post .post-images a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.project-post .post-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.project-post .post-images a:hover img {
  transform: scale(1.05);
}

.project-post .post-images a.extra span {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}

/* =========================
   CONTACT FORM
========================= */
.contact-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 3rem 2.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 600;
  color: #01696e;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid #01696e;
  box-shadow: 0 0 0 3px rgba(1,105,110,0.15);
}

.thank-you-box {
  display: none;
  text-align: center;
  animation: fadeInUp 0.6s ease forwards;
}

.thank-you-box h3 {
  color: #01696e;
  margin-bottom: 0.5rem;
}

.thank-you-box p {
  margin: 0;
}


/* =========================
   BUTTONS
========================= */
.button {
  display: inline-block;
  background-color: #01696e;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;   /* match your rounded theme */
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  border: none;          /* remove browser default border */
  cursor: pointer;       /* ensure it's clickable */
}

.button:hover {
  background-color: #04292a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* =========================
   ANIMATIONS
========================= */
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
