/* =====================
   Typography & Layout
===================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f6;
  color: #2e2e2e;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #2e2e2e;
  margin-top: 40px;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0;
}

h2 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #3a3a3a;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.4rem;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 1rem;
}

.subheading {
  font-size: 1.1rem;
  color: #3a3a3a;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

a {
  color: #2e2e2e;
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: #2e2e2e;
}

/* =====================
   Layout Containers
===================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

section,
.section {
  padding: 60px 20px;
  margin-bottom: 40px;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
}

.section-divider {
  border: none;
  border-top: 1px solid #ddd;
  width: 80%;
  margin: 4rem auto;
}

/* =====================
   Text Blocks
===================== */
section p {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  text-align: center;
}

.content-block {
  margin-bottom: 3rem;
}

/* =====================
   Buttons
===================== */
.cta-button {
  background-color: #f3c77b;
  color: #2e2e2e;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background-color 0.3s;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #e2b95f;
}

.cta-button-outline {
  border: 2px solid #2e2e2e;
  color: #2e2e2e;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
}

.cta-button-outline:hover {
  background-color: #2e2e2e;
  color: #fff;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* =====================
   Form Styling
===================== */
form input,
form textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  background-color: #fff;
}

.form-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

/* =====================
   Floating LinkedIn Button
===================== */
.linkedin-float-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 9999;
  width: 38px;
  height: 38px;
  background-color: #0A66C2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
  overflow: hidden;
}

.linkedin-float-btn:hover {
  background-color: #004182;
}

.linkedin-float-btn img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain;
}

.linkedin-float-btn.hidden {
  display: none;
}

/* =====================
   Animations
===================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   Background Layer
===================== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('./assets/3d_background.jpg') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  filter: blur(2px) brightness(0.85);
  z-index: -1;
  opacity: 0.65;
}

/* =====================
   Footer
===================== */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  background-color: #f0f0f0;
  padding: 40px 20px;
  line-height: 1.6;
}

footer p {
  margin: 8px 0;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.footer-icons img {
  width: 28px;
  vertical-align: middle;
  transition: 0.3s ease;
}

.footer-icons a:hover img {
  transform: scale(1.1);
}

/* =====================
   Back Link Utility
===================== */
.back-link {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.9rem;
  color: #444;
  text-decoration: none;
  z-index: 999;
}

.back-link:hover {
  text-decoration: underline;
}

/* =====================
   Responsive
===================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .cta-button,
  .cta-button-outline {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 0 1rem;
  }

  .linkedin-float-btn {
    bottom: 60px;
    right: 16px;
    width: 32px;
    height: 32px;
  }

  .linkedin-float-btn img {
    width: 16px;
    height: 16px;
  }
}
