/* GENERAL */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

:root {
  --font-main: 'Montserrat', sans-serif;

  --coral: #FF5E5B;
  --noir: #1A1A1A;
  --blush: #F4D3C4;
  --bone: #F9F6F0;
  --bright-red: #FF0000; /* kept since you might use it */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bone);
  color: var(--noir);
}

html {
  scroll-behavior: smooth;
}

p {
  color: var(--noir);
}

/* TRANSITION */
a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */
nav,
.nav-links {
  display: flex;
}

.nav-links a.active {
  font-weight: bold;
  text-decoration: underline;
  color: var(--coral);
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  background-color: var(--bone);
  position: fixed;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(26, 26, 26, 0.1);
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  order: -1;
}

.profile-image-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--blush);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.nav-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: var(--noir);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--coral);
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--noir);
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */
#hamburger-nav {
  display: none;
  background-color: var(--bone);
  position: fixed;
  width: 100%;
  z-index: 100;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--noir);
  transition: all 0.3s ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bone);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--noir);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
  background-color: var(--coral);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
  background-color: var(--coral);
}

/* SECTIONS */
section {
  padding-top: 17vh;
  padding-bottom: 17vh; /* Added for even padding */
  box-sizing: border-box;
  min-height: fit-content;
}
/* this changes the height of the photo for about */
.section-container {
  display: flex;
  gap: 5rem;
  height: 70%;
}

/* PROFILE SECTION */
#profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background-image: url('./assets/image.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  padding: 2rem;
  position: relative; /* needed for overlay */
}

body.index-page #profile {
  background-image: url('./assets/indexbg.png');
}

body.spanish-page #profile {
  background-image: url('./assets/spanishbg.png');
}

body.style-page #profile {
  background-image: url('./assets/stylebg.png');
}
body.wellness-page #profile {
  background-image: url('./assets/wellnessbg.png');
}


#profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(rgba(249, 246, 240, 0.6), rgba(249, 246, 240, 0.6)); */
  z-index: 0;
}

#profile > * {
  position: relative;
  z-index: 1;
}

/* .section__pic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  height: auto;
  width: 100%;
} */

.profile-pic {
  width: 30px;  /* smaller than current 10% */
  height: 30px;
  object-fit: cover;
}

.section__text {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.section__text p {
  font-weight: 600;
  color: var(--coral);
}

.section__text__p1 {
  color: var(--coral);
  text-align: center;
}

.section__text__p2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--coral); /* only last color kept */
  text-align: center; 
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */
.icon {
  cursor: pointer;
  height: 2rem;
  /* filter: brightness(0.8); */
}

.icon:hover {
  filter: brightness(1.2) sepia(1) hue-rotate(300deg) saturate(5);
  transform: translateY(-10px) scale(1.1);

}


/* BUTTONS */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.btn {
  font-weight: 600;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 300ms ease;
}

.btn-color-1,
.btn-color-2 {
  border: 0.1rem solid var(--white);
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
  transform: translateY(-3px);
}

.btn-color-1 {
  background: var(--coral);
  color: var(--bone);
}

.btn-color-1:hover {
  background: rgba(255, 94, 91, 0.1);
}

.btn-color-2 {
  background: var(--coral);
  color: var(--bone);
}

.btn-color-2:hover {
  background: rgba(255, 94, 91, 0.1);
}

/* ABOUT SECTION */
#about {
  height: 96vh;
  position: relative;
  background-color: var(--bone);
  padding: 10vh 10rem 3vh 10rem; /* top right bottom left */
  margin
}

#about .section-container {
  margin-top: 0;
}

#about .title {
  margin-top: 7rem;
  margin-bottom: 3.5rem;
  font-family: var(--font-main);
}

.about-containers,
.about-details-container {
  display: flex;
}

.about-containers {
  gap: 2rem;
  margin: 2rem 0;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-pic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}


.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: var(--bone);
  border-radius: 2rem;
  border: 0.1rem solid var(--blush);
  text-align: center;
}

/* EXPERIENCE SECTION */
#experience {
  position: relative;
  background-color:var(--bone);
  height: 60vh;
}

.experience-sub-title {
  color: var(--bone);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2, h3 {
  text-align: center;
}


.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-around;
  text-align: center;
  
}

article {
  display: flex;
  width: 10rem;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bone);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--blush);
}

article .icon {
  cursor: default;
}

/* PROJECTS SECTION */
/* #projects {
  position: relative;
  background-color: var(--bone);
  display: none;
} */

body.index-page #projects {
  display: none;
}

body.spanish-page #projects {
  position: relative;
  background-color: var(--bone);
}
body.style-page #projects {
  position: relative;
  background-color: var(--bone);
}
body.wellness-page #projects {
  position: relative;
  background-color: var(--bone);
}


.color-container {
  border-color: var(--blush);
  background: var(--bone);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
  object-fit: cover;
}

.project-title {
  margin: 1rem;
  color: var(--noir);
}

.project-btn {
  color: var(--bone);
  border-color: var(--coral);
}

/* CONTACT */
#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 50vh;
  background-color: var(--bone);
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: 0.1rem solid var(--blush);
  background: var(--bone);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
  color: var(--noir);
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */
footer {
  height: 26vh;
  margin: 0 1rem;
  background-color: var(--coral);
  padding: 2rem 0;
}

footer p {
  text-align: center;
  color: var(--bone);
}

/* ABOUT TEXT STYLING */
.about-details-container .text-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-details-container p {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--noir);
  text-align: justify;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.about-details-container p:first-child::first-letter {
  font-size: 1.5em;
  color: var(--coral);
  font-weight: bold;
}

.about-details-container p + p {
  margin-top: 1.5rem;
}

#booking {
  padding: 60px 0 0 0;
  background-color: var(--bone);
}

#booking h2 {
  font-size: 2.5rem;
  color: var(--coral);
  margin-bottom: 2rem;
  text-align: center;
}

/* Make the calendar stretch full width */
.calendar-container {
  width: 100%;
  display: block;
}

/* Full-width, full-height iframe */
.calendar-container iframe {
  width: 100%;
  height: 90vh;
  border: none;
  border-radius: 0;
}

/* If you want to still use centered text for other sections */
.centered-text {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}
body.morespanish-page .section-container,
body.morespanish-page .about-details-container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  display: block;
}
.youtube-frame {
  border: 4px solid var(--coral);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
}
.audio-player {
  margin-bottom: 2rem; /* creates space under the audio bar */
}
#immersion .title{
  margin-top: 10rem;
}

#transcript span {
  padding: 0.2rem;
  transition: background-color 0.3s;
}

#transcript span.active {
  background-color: var(--coral);
  color: white;
  border-radius: 5px;
}

html {
  scroll-behavior: smooth;
}
