/* ---------- GLOBAL STYLES ---------- */
body {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  background: url(../img/background.png) center center fixed no-repeat;
  background-size: cover;
  color: #0F3A74;
  overflow-x: hidden;
}

header {
  width: 100%;
  background: #0F3A74;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 20px;
}



.logo img {
  height: 85px;
  width: auto;
}

/* desktop nav */
nav ul {
  display: flex;        /* ensures horizontal layout */
  gap: 45px;
  margin: 0;
  padding: 0;
  list-style: none;
  padding-right: 40px; 
  
}


nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 25px;
}

/* ---------- HERO SECTION ---------- */
/* ---------- HERO SECTION ---------- */
.hero-box {
  max-width: 900px;
  margin: 20vh auto;
  background: white;
  border-radius: 30px;
  text-align: center;
  padding: 80px 20px;
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-box h1 {
  font-size: 50px;
  text-align: center;
  color: #0F3A74;
  position: relative;
  z-index: 2; /* keeps name above corner photos */
}



/* ---------- CORNER PHOTO (Desktop Default) ---------- */

/* ---------- CORNER PHOTO (Desktop Default) ---------- */
.corner-photo {
  position: absolute;
  opacity: 0;
  width: 220px;
  transition: transform 1s ease, opacity 0.8s ease;
  z-index: 1; /* behind text */
}

.photo1 {
  top: -40px;
  left: -40px;
  transform: translateY(-100px) rotate(-10deg);
}

.photo2 {
  top: -40px;
  right: -40px;
  transform: translateY(-100px) rotate(10deg);
}

.show-photo {
  opacity: 1;
  transform: translateY(0) rotate(var(--rotate));
}




/* ---------- WORK SECTIONS ---------- */
.gallery-section,
.social-gallery-section,
.gallery-section-ad,
.banner-process-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  gap: 40px;
  background: #fdfdfd;
  color: #0F3A74;
}

.gallery-text,
.social-text,
.gallery-section-ad-text {
  max-width: 900px;
  background: #f6f6f6;
  padding: 30px;
  border-radius: 20px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.gallery-text h2,
.social-text h2,
.gallery-section-ad-text h2 {
  font-size: 2.5em;
  font-style: italic;
  margin-bottom: 20px;
}

.gallery-container {
  width: 100%;
  max-width: 1200px;
  height: 750px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px #00000033;
}

.gallery-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gallery-image.active {
  opacity: 1;
  z-index: 1;
}

.social-image-grid,
.gallery-images-row,
.banner-images-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-img,
.gallery-static-image,
.banner-images-row img,
.gallery-images-row img {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner-video-container,
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.banner-video {
  width: 70%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- SKILLS / REVEAL ---------- */
.reveal-section,
.reveal-section-two {
  position: relative;
  color: #0F3A74;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reveal-section {
  padding: 80px 20px;
  overflow: hidden;
  z-index: 1;
}

.lace-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 1000px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  filter: brightness(1.1); /* makes it 50% brighter */
         /* optional: make it slightly transparent */

  
}

.reveal-section h2,
.reveal-section p,
.reveal-section a {
  position: relative;
  z-index: 1;
}

.reveal-section h2 {
  font-size: 40px;
  margin-bottom: 15px;
  font-style: italic;
}

.reveal-section p {
  font-size: 22px;
  margin: 10px 0;
}

.reveal-section a.cta-button {
  margin-top: 15px;
  display: inline-block;
}

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 20px;
  background: #0F3A74;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.1);
  background: #09295b;
}

/* ---------- WORK SECTION TWO ---------- */
.work-section-two {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0F3A74;
  font-style: italic;
  text-align: center;
  border-radius: 30px;
  margin: 15vh auto;
  padding: 80px 20px;
  max-width: 900px;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.work-section-two h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.skills-row img {
  width: 80%;
  max-width: 700px;
  height: auto;
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.work-section-two p {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin: 20px 0;
}

/* ---------- CONTACT PAGE ---------- */
/* ---------- CONTACT PAGE ---------- */
.left-text-box {
  background: #ffffff;             /* white background */
  padding: 30px 40px 30px;        /* top | sides | bottom */
  border-radius: 20px;             /* rounded corners */
  text-align: center;              /* center the text */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* subtle shadow */
  max-width: 600px;                /* keeps it from stretching too wide */
  margin: 120px auto 20px;         /* push down below header */
  font-size: 1.2rem;               /* slightly bigger text */
}


/* CONTACT FORM */
.contact-form {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .top-content {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .left-text-box {
    width: 90%;
    padding: 20px;
  }

  .contact-form {
    width: 90%;
  }

  .resume-section.white-box {
    width: 90%;
  }
}

.contact-section {
  padding: 100px 20px;
  background: #ffffff;
  color: #0F3A74;
  text-align: center;
}

.top-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
  padding: 80px 20px 40px;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.1em;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: 'DM Serif Display', serif;
  font-size: 1em;
}

.contact-form button {
  font-family: 'DM Serif Display', serif;
}

.resume-section.white-box {
  background-color: #f6f6f6;
  padding: 40px;
  align-self: center;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto 80px;
  color: #0F3A74;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.resume-section.white-box {
  background-color: #f6f6f6;
  padding: 40px;               /* keeps the box nicely padded */
  border-radius: 15px;
  max-width: 600px;
  margin: 40px auto 80px;      /* more breathing room above the button */
  color: #0F3A74;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);

  display: flex;               /* flex layout for vertical alignment */
  flex-direction: column;
  align-items: center;         /* center everything horizontally */
  text-align: center;          /* center text inside */
}

.resume-section.white-box p {
  margin-bottom: 30px;         /* space between paragraph and button */
  font-size: 1.2rem;           /* slightly bigger text if desired */
}

.resume-section.white-box a.cta-button {
  align-self: center;           /* ensure button is centered */
  margin-top: 0;                /* remove extra spacing if any */
}


/* ---------- HAMBURGER MENU ---------- */
#menu-button {
  display: none;
  background: none;
  border: none;
  width: 38px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  padding: 2px 40px;
}

#menu-button::before,
#menu-button::after,
#menu-button span {
  content: "";
  background-color: #fff;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  display: block;
  transition: all 0.3s ease;
}

#menu-button.open::before {
  transform: rotate(45deg) translate(5px, 6px);
}

#menu-button.open::after {
  transform: rotate(-45deg) translate(5px, -6px);
}

#menu-button.open span {
  opacity: 0;
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 1024px) {
  .gallery-container { height: 500px; }
}

@media (max-width: 768px) {
/* ---------- MOBILE HERO & CORNER PHOTOS ---------- */
@media (max-width: 768px) {
  .hero-box {
    width: 90%;
    padding: 60px 15px;
    margin-top: 20vh;
    flex-direction: column;
    justify-content: center;
  }

  .hero-box h1 {
    font-size: 32px;
  }

  .corner-photo {
    position: absolute; /* keep absolute so text can overlap */
    width: 100px;
    opacity: 1;
    top: -20px;       /* adjust vertical positioning */
    z-index: 1;        /* behind the text */
    transform: rotate(0deg); /* optional: small rotation if desired */
  }

  .photo1 { left: -10px; transform: rotate(-10deg); }
  .photo2 { right: -10px; transform: rotate(10deg); }
}
  

  /* WORK SECTION TWO */
  .work-section-two {
    margin: 10vh auto;
    padding: 40px 15px;
    width: 90%;
  }
  .skills-row img {
    width: 100%;
    max-width: 400px;
  }

  /* REVEAL SECTIONS */
  .reveal-section, .reveal-section-two {
    padding: 40px 15px;
  }
  .reveal-section h2 { font-size: 28px; }
  .reveal-section p { font-size: 18px; }
  .reveal-section-two { font-size: 24px; }

  /* GALLERY TEXT */
  .gallery-text,
  .social-text,
  .gallery-section-ad-text {
    max-width: 90%;
    font-size: 18px;
    padding: 20px;
  }
  .gallery-text h2,
  .social-text h2,
  .gallery-section-ad-text h2 {
    font-size: 24px;
  }

  /* IMAGES RESPONSIVE */
  .gallery-container { height: 400px; }
  .gallery-image { width: 100%; height: 100%; object-fit: cover; }
  .social-img,
  .gallery-static-image,
  .banner-images-row img,
  .gallery-images-row img { width: 90%; max-width: 400px; }

  /* CONTACT PAGE */
  .top-content { flex-direction: column; align-items: center; padding: 60px 20px; }
  .contact-form { width: 90%; }
  .resume-section.white-box { width: 90%; }

  
  
}
