/* ---------------------------
   GENERAL STYLES
---------------------------- */
body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #fdf6ec; /* Light cream */
    color: #2c2c2c;
}
html {
  scroll-behavior: smooth;
}

/* ---------------------------
   NAVIGATION MENU
---------------------------- */
nav {
  position: sticky;
  top: 0;
  background-color: #fffdf7;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar {
  background-color: #f8f0dc;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3e3e3e;
  font-family: 'Georgia', serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #a6824b;
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #4a3b2a;
  background-color: #f4e9d8;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background-color: #fffaf3;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .logo {
    text-align: center;
    width: 100%;
  }
}

/* ---------------------------
   HERO SECTION
---------------------------- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  background-color: #fdf6ec;
}

.hero-content {
  position: relative;
  z-index: 2; /* Ensures text stays above the image */
}

.feather-left {
  left: 30px;
}

.hero-content {
  position: relative;
}
.hero-content h1 {
  font-size: 4rem; /* Increased from 3rem */
  color: #2b3a42;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem; /* Increased from 1.2rem */
  color: #4f4f4f;
  font-style: italic;
}

@media (max-width: 768px) {
  .feather-left {
    width: 120px; /* reduce size */
    top: 20px;
    left: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ---------------------------
   MEET KAMYA (ABOUT SECTION)
---------------------------- */

.about-section {
  background-color: #fdf6ec;
  padding: 4rem 2rem;
  font-family: 'Georgia', serif;
}

.about-container {
  padding: 0; /* No padding at all */
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}


.about-text {
  flex: 1;
  min-width: 320px;
  color: #2f2f2f;
  padding: 2rem;
  background: #fffdf9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  animation: fadeInUp 1.2s ease both;
  transition: all 0.3s ease;
}



.about-text p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: #3a3a3a;
  text-align: justify;
}

.about-text .signature {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  border-left: 3px solid #c9a137;
  padding-left: 1rem;
  margin-top: 2rem;
}

.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1.2s ease both;
}

.about-img img {
  width: 100%;
  max-width: 480px;
  height: 650px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    padding: 1.5rem;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
    padding: 0.6rem 1rem;
    border-left: none;
    border-top: 4px solid #c9a137;
    border-radius: 8px;
    font-size: 2.2rem;
    background-color: #fdf6ec;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  }

  .about-text p {
    text-align: center;
  }

  .about-img {
    margin-bottom: 2rem;
  }
}


/* ---------------------------
   PORTFOLIO SECTION
---------------------------- */
.portfolio {
  background-color: #f8f1e4;
  padding: 4rem 2rem;
  text-align: center;
}

.portfolio h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #3a3a3a;
}

.work-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffdf7;
  border: 1px solid #e2d9cc;
  border-radius: 12px;
  margin: 1.5rem auto;
  max-width: 750px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.work-card img {
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.work-info h3 {
  color: #2d2d2d;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.work-info p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.8rem;
}

.work-info a {
  text-decoration: none;
  color: #0645AD;
  font-weight: 500;
  margin: 0 0.5rem;
}

/* ---------------------------
   SERVICES SECTION
---------------------------- */
.services {
  background-color: #fdf8ef;
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background-color: #fffdf7;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 2rem 1.5rem;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 60px;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #2d2d2d;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* ---------------------------
   MEET KAMYA (ABOUT LONG)
---------------------------- */
.about-section {
  background-color: #fdf6ec;
  padding: 4rem 2rem;
  font-family: 'Georgia', serif;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  min-width: 300px;
  color: #2f2f2f;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: #2c2c2c;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.about-text .signature {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  border-left: 3px solid #c9a137;
  padding-left: 1rem;
  margin-top: 1.8rem;
}

.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-text,
.about-img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-text.visible,
.about-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-img img {
  width: 100%;
  max-width: 480px;
  height: 650px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    padding: 0 1rem;
  }

  .about-img {
    margin-bottom: 2rem;
  }
}
.about-text h2 {
  font-size: 2.8rem;
  color: #2c2c2c;
  text-align: center;
  position: relative;
  margin-bottom: 1.2rem;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.5rem auto 0;
  background-color: #a6824b;
  opacity: 0;
  transition: opacity 0.6s ease, width 0.6s ease;
}

.about-text.visible h2::after {
  opacity: 1;
  width: 60px;
}

/* ---------------------------
   WRITING SAMPLES SECTION
---------------------------- */
.samples-section {
    background-color: #fffaf3;
    padding: 4rem 2rem;
    text-align: center;
}

.samples-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #2c2c2c;
}

.sample-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.sample-card {
    background-color: #ffffff;
    border: 1px solid #ebdfcc;
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
}

.sample-card:hover {
    transform: translateY(-5px);
}

.sample-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.sample-snippet {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ---------------------------
   ACHIEVEMENTS SECTION
---------------------------- */
.achievements-section {
    background-color: #fdf6ec;
    padding: 4rem 2rem;
    text-align: center;
}

.achievements-section .section-title {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.achievements-section .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.achievement-card {
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    width: 280px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.achievement-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    padding: 0.5rem;
    background-color: #fffaf3;
    display: block;
    border-bottom: 1px solid #eee;
}


.caption {
    padding: 1rem;
    font-size: 1rem;
    color: #333;
    background-color: #f8f1e8;
    font-weight: 500;
    border-top: 1px solid #e8e1d7;
}

@media (max-width: 768px) {
    .achievement-card {
        width: 100%;
        max-width: 90%;
    }
}
/* ---------------------------
   CONTACT SECTION
---------------------------- */
.contact-section {
  background-color: #fffaf3;
  padding: 4rem 2rem;
  text-align: center;
  font-family: 'Georgia', serif;
}

.contact-section h2 {
  font-size: 2.5rem;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #e2d9cc;
  border-radius: 8px;
  font-family: inherit;
}

.contact-form button {
  padding: 0.9rem;
  font-size: 1rem;
  border: none;
  background-color: #a6824b;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #8a6d38;
}


/* ---------------------------
   FOOTER SECTION
---------------------------- */
.footer {
    background-color: #f6efe3;
    padding: 2rem 1rem;
    text-align: center;
    font-family: 'Georgia', serif;
    border-top: 1px solid #e1d3bd;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    color: #4a4a4a;
}

.footer p {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.footer-links {
    font-size: 0.95rem;
}

.footer-links a {
    color: #5a4c36;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a6824b;
}

.footer-links span {
    color: #9a9a9a;
}


/* ---------------------------
   ANIMATIONS
---------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------------------------
   ANIMATION CLASSES
---------------------------- */
.fade-in-up {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.fade-in {
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

.zoom-in {
  animation: zoomIn 0.8s ease forwards;
  opacity: 0;
}

/* ---------------------------
   APPLYING ANIMATIONS
---------------------------- */
.hero h1,
.hero p {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.about-text,
.about-img {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.work-card,
.service-card,
.sample-card,
.achievement-card {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

.contact-section .contact-form {
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}

.footer {
  animation: fadeIn 2s ease forwards;
  opacity: 0;
}

/* Optional: Add animation delay on sections if you want a staggered effect */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* ---------------------------
   GLOBAL HEADING BACKGROUND STYLES
---------------------------- */
h2 {
  background-color: #f4e9d8; /* Light warm background */
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
  box-shadow: 0 3px 6px rgba(66, 42, 42, 0.05);
  position: relative;
}





h2::before{
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80%;
  background-color: #a6824b; /* Gold-brown highlight */
  border-radius: 4px;
}


.developer-credit {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.5rem;
}

.developer-credit a {
  color: #5a4c36;
  text-decoration: none;
}

.developer-credit a:hover {
  color: #a6824b;
}
