/*-----------------------------------*\
  #about.css - TeaTimeAnytime About Page
\*-----------------------------------*/

/**
 * Import base styles from main stylesheet
 */
@import url("./style.css");

/*-----------------------------------*\
  #ABOUT PAGE SPECIFIC STYLES
\*-----------------------------------*/

/**
 * ABOUT HERO SECTION
 */

.about-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.about-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.about-hero .hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    hsla(0, 0%, 0%, 0.7),
    hsla(0, 0%, 0%, 0.5),
    hsla(0, 0%, 0%, 0.7)
  );
  z-index: 1;
}

.about-hero .hero-bg .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-inline: 20px;
}

.about-hero .section-subtitle::after {
  margin-block: 14px 20px;
}

.about-hero .hero-text {
  margin-block: 20px 0;
  max-width: 600px;
  margin-inline: auto;
}

.about-hero .shape {
  position: absolute;
  z-index: -1;
}

.about-hero .shape-1 {
  top: 10%;
  right: 5%;
  opacity: 0.6;
}

/**
 * OUR STORY SECTION
 */

.our-story {
  padding-block: 100px;
  position: relative;
}

.our-story .story-content {
  display: grid;
  gap: 60px;
  margin-block-start: 50px;
}

.our-story .story-text {
  max-width: 600px;
  margin-inline: auto;
}

.our-story .story-text .section-text {
  margin-block-end: 30px;
  text-align: left;
  line-height: var(--lineHeight-5);
}

.our-story .story-text .section-text:last-child {
  margin-block-end: 0;
}

.our-story .story-banner {
  position: relative;
  margin-block-end: 80px;
}

.our-story .story-banner > .w-100 {
  padding-inline-start: 50px;
  border-radius: var(--radius-24);
}

.our-story .abs-img {
  position: absolute;
}

.our-story .abs-img::before {
  z-index: -1;
}

.our-story .abs-img-1 {
  bottom: -80px;
  left: 0;
  width: 200px;
  padding-block: 30px;
  border-radius: var(--radius-24);
  overflow: hidden;
}

.our-story .abs-img-2 {
  top: -40px;
  right: 20px;
  overflow: hidden;
}

.our-story .abs-img-1::before {
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  background-image: url("../images/img-pattern.svg");
  background-repeat: repeat;
}

.our-story .abs-img-2::before {
  inset: 0;
  background-image: url("../images/badge-2-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  animation: rotate360 15s linear infinite;
}

.our-story .shape {
  position: absolute;
  top: 20%;
  right: 10%;
  opacity: 0.7;
  z-index: -1;
}

/**
 * MISSION & VISION SECTION
 */

.mission-vision {
  padding-block: 80px;
}

.mission-vision-grid {
  display: grid;
  gap: 60px;
  max-width: 1000px;
  margin-inline: auto;
  margin-block-start: 50px;
}

.mission-card,
.vision-card {
  background-color: var(--eerie-black-3);
  padding: 50px 30px;
  border-radius: var(--radius-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-card::before,
.vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-crayola) 0%, transparent 70%);
  opacity: 0.1;
  z-index: -1;
}

.mission-card .card-icon,
.vision-card .card-icon {
  margin-inline: auto;
  margin-block-end: 30px;
  transition: var(--transition-2);
}

.mission-card:hover .card-icon,
.vision-card:hover .card-icon {
  transform: scale(1.1);
}

.mission-card .card-title,
.vision-card .card-title {
  margin-block-end: 20px;
  color: var(--gold-crayola);
}

.mission-card .card-text,
.vision-card .card-text {
  color: var(--quick-silver);
  line-height: var(--lineHeight-5);
}

.mission-vision .shape {
  position: absolute;
  z-index: -1;
}

.mission-vision .shape-1 {
  top: 20%;
  left: 5%;
  opacity: 0.6;
}

.mission-vision .shape-2 {
  bottom: 20%;
  right: 5%;
  opacity: 0.6;
}

/**
 * VALUES SECTION
 */

.values {
  padding-block: 100px;
}

.values-grid {
  margin-block-start: 60px;
}

.value-item .value-card {
  background-color: var(--smoky-black-3);
  padding: 40px 30px;
  border-radius: var(--radius-24);
  text-align: center;
  height: 100%;
  transition: var(--transition-2);
  position: relative;
  overflow: hidden;
}

.value-item:nth-child(2n) .value-card {
  background-color: var(--eerie-black-3);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--gold-crayola) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-2);
  z-index: -1;
}

.value-card:hover::before {
  opacity: 0.1;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-1);
}

.value-card .card-icon {
  margin-inline: auto;
  margin-block-end: 25px;
  transition: var(--transition-2);
}

.value-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.value-card .card-title {
  margin-block-end: 20px;
  color: var(--gold-crayola);
}

.value-card .card-text {
  color: var(--quick-silver);
  line-height: var(--lineHeight-4);
}

/**
 * TEAM HIGHLIGHT SECTION
 */

.team-highlight {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.team-banner {
  height: 100%;
  overflow: hidden;
}

.team-banner .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content {
  padding: 80px 20px;
  position: relative;
}

.team-content .container {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.team-content .abs-img {
  margin-inline: auto;
  margin-block-end: 20px;
}

.team-content .section-text {
  margin-block: 20px 40px;
  line-height: var(--lineHeight-5);
}

.team-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-block: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  color: var(--gold-crayola);
  margin-block-end: 10px;
}

.stat-label {
  color: var(--quick-silver);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-3);
}

.team-highlight .shape {
  position: absolute;
  z-index: -1;
}

.team-highlight .shape-1 {
  top: 20%;
  left: 5%;
  opacity: 0.7;
}

.team-highlight .shape-2 {
  bottom: 20%;
  right: 5%;
  opacity: 0.7;
}

/**
 * AWARDS SECTION
 */

.awards {
  padding-block: 100px;
}

.awards-grid {
  margin-block-start: 60px;
}

.award-card {
  background-color: var(--smoky-black-3);
  border-radius: var(--radius-24);
  overflow: hidden;
  transition: var(--transition-2);
  position: relative;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-1);
}

.award-card .card-banner {
  position: relative;
  overflow: hidden;
}

.award-card .card-banner .img-cover {
  transition: var(--transition-2);
}

.award-card:hover .card-banner .img-cover {
  transform: scale(1.1);
}

.award-year {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--gold-crayola);
  color: var(--black);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--letterSpacing-1);
}

.award-card .card-content {
  padding: 30px 25px;
  text-align: center;
}

.award-card .card-title {
  margin-block-end: 15px;
  color: var(--gold-crayola);
}

.award-card .card-subtitle {
  color: var(--quick-silver);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-2);
}

/**
 * SUSTAINABILITY SECTION
 */

.sustainability {
  padding-block: 100px;
  position: relative;
}

.sustainability-content {
  display: grid;
  gap: 60px;
  margin-block-start: 50px;
  align-items: center;
}

.sustainability-text {
  max-width: 600px;
  margin-inline: auto;
}

.sustainability-text .section-text {
  margin-block-end: 40px;
  text-align: left;
  line-height: var(--lineHeight-5);
}

.sustainability-features {
  display: grid;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background-color: var(--eerie-black-4);
  border-radius: var(--radius-24);
  transition: var(--transition-2);
}

.feature-item:hover {
  background-color: var(--smoky-black-3);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2.4rem;
  color: var(--gold-crayola);
  flex-shrink: 0;
  margin-block-start: 5px;
}

.feature-content .title-4 {
  margin-block-end: 8px;
  color: var(--white);
}

.feature-content .body-4 {
  color: var(--quick-silver);
  line-height: var(--lineHeight-4);
}

.sustainability-banner {
  border-radius: var(--radius-24);
  overflow: hidden;
}

.sustainability .shape-1 {
  position: absolute;
  bottom: 10%;
  right: 5%;
  opacity: 0.6;
  z-index: -1;
}

/*-----------------------------------*\
  #RESPONSIVE DESIGN
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {
  /**
   * ABOUT HERO
   */

  .about-hero .hero-content {
    padding-inline: 40px;
  }

  /**
   * OUR STORY
   */

  .our-story .story-banner > .w-100 {
    padding-inline-start: 90px;
  }

  .our-story .abs-img-1 {
    width: 250px;
  }

  /**
   * MISSION & VISION
   */

  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /**
   * TEAM STATS
   */

  .team-stats {
    gap: 80px;
  }
}

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {
  /**
   * REUSED STYLES
   */

  .values-grid,
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /**
   * OUR STORY
   */

  .our-story .story-content {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .our-story .story-text {
    text-align: left;
  }

  /**
   * TEAM HIGHLIGHT
   */

  .team-highlight {
    grid-template-columns: 1fr 1fr;
  }

  .team-content {
    padding: 100px 40px;
  }

  /**
   * SUSTAINABILITY
   */

  .sustainability-content {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .sustainability-text {
    text-align: left;
  }
}

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {
  /**
   * ABOUT HERO
   */

  .about-hero {
    height: 100vh;
    min-height: 700px;
  }

  /**
   * VALUES
   */

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /**
   * AWARDS
   */

  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /**
   * TEAM HIGHLIGHT
   */

  .team-content {
    padding: 120px 60px;
  }

  .team-content .container {
    max-width: 500px;
  }
}

/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * REUSED STYLES
   */

  .container {
    max-width: 1200px;
    margin-inline: auto;
  }
  .nav-open-btn,
  .navbar > *:not(.navbar-list),
  .header .overlay {
    display: none;
  }

  .header .container {
    max-width: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .navbar,
  .navbar.active {
    all: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
    margin-left: -150px;
    flex: 1;
  }

  .navbar-list {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .navbar-item {
    border-block-start: none;
  }

  .navbar .separator {
    display: none;
  }

  .navbar-link:is(:hover, :focus-visible, .active) .span {
    transform: unset;
  }

  .navbar-link {
    font-weight: var(--weight-bold);
    letter-spacing: var(--letterSpacing-1);
  }

  .navbar-link::after {
    display: block;
  }

  .navbar-link.active::after {
    transform: scaleX(1);
    opacity: 1;
  }

  .header .btn {
    margin-inline-start: 0;
  }

  /**
   * OUR STORY
   */

  .our-story .story-content {
    gap: 100px;
  }

  /**
   * MISSION & VISION
   */

  .mission-vision-grid {
    gap: 60px;
  }

  .mission-card,
  .vision-card {
    padding: 60px 40px;
  }

  /**
   * SUSTAINABILITY
   */

  .sustainability-content {
    gap: 100px;
  }
}

/**
 * responsive for larger than 1400px screen
 */

@media (min-width: 1400px) {
  /**
   * ABOUT HERO
   */

  .about-hero .shape-1 {
    display: block;
  }

  /**
   * OUR STORY
   */

  .our-story .shape {
    display: block;
  }

  /**
   * MISSION & VISION
   */

  .mission-vision .shape-1,
  .mission-vision .shape-2 {
    display: block;
  }

  /**
   * TEAM HIGHLIGHT
   */

  .team-highlight .shape-1,
  .team-highlight .shape-2 {
    display: block;
  }

  /**
   * SUSTAINABILITY
   */

  .sustainability .shape-1 {
    display: block;
  }
}
@media screen and (max-width: 500px) {
  .preload .text {
    font-size: 2rem;
  }
}
@media screen and (max-width: 570px) {
  .header .container {
    padding-inline: 2px;
    height: 50px;
  }
  .header .container img {
    width: 180px;
  }
}

@media screen and (max-width: 1200px) {
  #topbar-email {
    display: none;
  }
}
@media screen and (max-width: 1000px) {
  .header .container {
    padding-inline: 2px;
    height: 50px;
  }
  .header .container img {
    width: 180px;
  }
  .topbar-item {
    display: none;
  }
}
/*-----------------------------------*\
  #CAROUSEL STYLES
\*-----------------------------------*/

/* Carousel Styles - Add to about.css */
.carousel-section {
  padding-block: 50px;
  background-color: var(--eerie-black-2);
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 20px 0;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 15px;
}

.carousel-item {
  position: relative;
  flex: 0 0 calc(20% - 12px);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  transform-origin: center;
  border-radius: 12px;
  overflow: hidden;
  background: var(--eerie-black-4);
}

.carousel-item:hover {
  transform: scale(1.1);
  z-index: 10;
}

.carousel-item img,
.carousel-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.carousel-item .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-crayola);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.carousel-item:hover .play-overlay {
  opacity: 1;
}

.carousel-item video:not([data-playing]) + .play-overlay::before {
  content: "▶";
}

.carousel-item video[data-playing] + .play-overlay::before {
  content: "⏸";
}

.carousel-loading {
  text-align: center;
  padding: 40px;
  color: var(--quick-silver);
}

.carousel-error {
  text-align: center;
  padding: 40px;
  color: var(--quick-silver);
  font-style: italic;
}

/* Responsive design */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - 10px);
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - 7.5px);
  }

  .carousel-item img,
  .carousel-item video {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 calc(100% - 0px);
  }

  .carousel-item img,
  .carousel-item video {
    height: 180px;
  }
}

/* Instagram Embed Section - Add to your CSS */
.instagram-section {
  padding-block: 100px;
  background-color: var(--eerie-black-2);
  position: relative;
  overflow: hidden;
}
.instagram-embeds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-block: 60px;
  max-width: 1200px;
  margin-inline: auto;
} /* Style the Instagram embeds to match your theme */
.instagram-media {
  max-width: 100% !important;
  border-radius: var(--radius-24) !important;
  background: var(--smoky-black-3) !important;
  border: 1px solid var(--white-alpha-10) !important;
  box-shadow: var(--shadow-1) !important;
  transition: var(--transition-2) !important;
}
.instagram-media:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0px 15px 35px 0px hsla(0, 0%, 0%, 0.4) !important;
} /* Responsive adjustments */
@media (max-width: 768px) {
  .instagram-embeds-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
} /* Loading state */
.instagram-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--quick-silver);
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--white-alpha-20);
  border-top: 3px solid var(--gold-crayola);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

#instagram-follow-btn-div {
  display: flex;
  justify-content: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
