@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Modak&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Elsie:wght@400;900&display=swap');

:root {
  --durga-red: #af2f02;
  --durga-yellow: #e9c323;
  --durga-creme: #ebded0;
  --text-brown: #2b120a;
}

.yel{
  color:var(--durga-yellow);
}

.red{
  color: var(--durga-red);
}

.fullscreen{
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100dvw;
  height: 100vh;
  box-sizing: border-box;
}

html{
    background-color: #111111;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

.camo{
  color: inherit;         
  text-decoration: none;
}


.header {
  position: relative;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
}

.texture_text {
  font-family: "Elsie", serif;
  font-weight: 900;
  font-size: 1.5rem;
  white-space: nowrap;
  color: #ffffff;
  margin: 0;
}

@media (max-width: 768px) {
  .header {
    height: 90px;
  }
  .logo-link {
    flex-direction: column;
    gap: 0.25rem;
  }
  .logo-img {
    height: 50px;
  }
  .texture_text {
    font-size: 1rem;
  }
}


canvas {
  display: block;
}

.drop_in{
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drop_in_title{
  position: absolute;
  font-size: clamp(50px, 14vw + 1rem, 275px);
  font-family: "Elsie", serif;
  font-weight: 900;
  color: var(--durga-creme);
}

.title_outline{
  color: transparent;
  -webkit-text-stroke: 0.75px var(--durga-creme);
  text-stroke: 0.75px var(--durga-creme); 
}
.cnv{
  z-index: 2;
}

.scrolled_texts {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100dvh;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.textOnlySec{
  font-size: clamp(3rem, 15vw + 1rem, 31.25rem);
}

.halfwidthbuffer{
  flex: 0 0 50vw;
  height: 100dvh;
  scroll-snap-align: start;
}

.section_scroll {
  flex: 0 0 100vw;
  height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-content: center;
}
.card {
  background-color: #222222;
  aspect-ratio: 3 / 2;
  width: clamp(400px, 60vw, 960px);
  max-height: 90dvh;
  border-radius: 1rem;
  position: relative; 
  overflow: hidden;
}

.card_title {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: "Elsie", serif;
  font-weight: 900;
  font-size: clamp(1rem, 4vw + 0.5rem, 3rem);
  margin: 0.5rem;
  padding-left: 2%;
  width: 50%;
  line-height: 1.1;
}

.card_title > .card_desc{
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.5rem, 1rem, 1.25rem);
  font-weight: 400;
  margin-top: 0.25rem;
}

.card_date {
  position: absolute;
  top: 0;
  right: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(0.75rem, 2vw + 0.25rem, 1.5rem);
  margin: 0.5rem;
  text-align: right;
}

.card_background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: 0;
}

.showMeMore{
  background-color: transparent;
  position: absolute;
  width: 100%;
  height: 100%;
  border-color: transparent;
}

@media (max-width: 768px) {
  .scrolled_texts {
    flex-direction: column;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-snap-type: none;
  }

  .section_scroll {
    flex: none;
    width: 100vw;
    height: 45vh !important;
    scroll-snap-align: none;
  }
}

.eventInfo {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: saturate(180%) blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.eventInfo.active {
    opacity: 1;
    pointer-events: all;
}
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .eventInfo {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}
.eventBody {
    width: 90dvw;
    height: 90dvh;
    background-color: transparent;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem;
    overflow-y: hidden;
    overflow-x: hidden;
    flex-wrap: nowrap;
    position: relative;
}
.scrollable-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: max-content;
    height: 100%;
}
.eventBodyTitle {
    color: var(--durga-creme);
    font-family: "Elsie", serif;
    font-weight: 900;
    text-orientation: mixed;
    font-size: clamp(50px, 10vw, 125px);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-shrink: 0;
    width: 70dvw;
    text-align: left;
}
.eventDate {
    color: var(--durga-creme);
    font-family: "Montserrat", sans-serif;
    writing-mode: sideways-lr;
    text-orientation: mixed;
    font-size: clamp(25px, 5vw, 50px);
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-shrink: 0;
    min-width: 80px;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--durga-creme);
    color: #1a1a1a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10001;
    display: flex;               
    align-items: center;         
    justify-content: center;   
    line-height: 1;
}

.eventBodyTitle,
.eventTitle,
.eventDate {
  overflow: visible;
}

#scrollable-content{
  width: max-content;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
  transform: translate3d(0, 0, 0);
}

.eventTitle {
  color: var(--durga-creme);
  font-family: "Elsie", serif;
  font-weight: 900;
  text-orientation: mixed;
  font-size: clamp(25px, 5vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-shrink: 0;
  width: 30dvw;
  text-align: left;
}

.infoSection {
  display: flex;
  flex-direction: row;      
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: auto;
  gap: 0.5rem;
  text-align: left;
  height: 90dvh;
}

.imageWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  max-height: 75%;
  width: auto;
  height: auto;
  flex-shrink: 0;
  border-radius: 0.25rem;
  overflow: hidden;
}

.imageWrapper.circle .sectionImage {
  border-radius: 50%;
  object-fit: cover;
  width: 150px;
  height: 150px;
}

.sectionImage {
  display: block;
  max-height: 50dvh;
  width: auto;
  height: auto;
  object-fit: cover;
}

.infoSubtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--durga-creme);
  margin: 0;
}

.infoText {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.infoTitle {
  font-family: "Elsie", serif;
  font-weight: 900;
  font-size: clamp(20px, 4vw, 35px);
  margin: 0;
  color: var(--durga-creme);
  width: 30dvw;
}

.infoContent {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--durga-creme);
  margin: 0;
  width: 50dvw;
}

.mapouter {
  position: relative;
  text-align: right;
  width: 100%;
  height: 400px;
}

.gmap_canvas {
  overflow: hidden;
  background: none !important;
  width: 100%;
  height: 400px;
}

.gmap_iframe {
  height: 400px !important;
  width: 50dvw;
  filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(90%);
}

.scrollGrid {
    position: relative;
    height: 100%;
    width: max-content;
    min-width: 100%;
}
.manItem {
    position: absolute;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #f8f9fa;
    transition: transform 0.3s ease;
}
.manImg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .eventBody {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 2rem 1rem;
    }
    .scrollable-content {
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 100%;
        gap: 2rem;
    }
    .eventBodyTitle,
    .eventTitle {
        width: 100%;
        writing-mode: initial;
        text-orientation: initial;
        font-size: clamp(30px, 8vw, 60px);
        min-height: auto;
        padding: 1rem 0;
    }
    .eventDate {
        writing-mode: initial;
        text-orientation: initial;
        font-size: clamp(20px, 6vw, 40px);
        min-width: auto;
        width: 100%;
        min-height: auto;
        padding: 1rem 0;
    }
    .close-btn {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    .infoSection {
      width: 100%;
      flex-direction: column;
      gap: 1rem;
      text-align: center;
      align-items: center;
      height: auto;
    }
    .imageWrapper.circle .sectionImage {
      width: 60px;
      height: 60px;
    }
    .eventInfo {
      align-items: flex-start;     
      overflow-y: auto;            
    }
    .eventBody {
      flex-direction: column;      
      height: 100%;                
      max-height: 100dvh;          
      overflow-y: auto;            
      overflow-x: hidden;          
      padding: 2rem 1rem;
    }
    #scrollableContent {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      width: 100%;
      height: auto;
      transform: none !important;  
      will-change: auto !important;
    }
    .eventBodyTitle,
    .eventDate,
    .eventTitle {
      writing-mode: initial !important;
      text-orientation: initial !important;
      width: 100%;
      text-align: center;
      padding: 1rem 0;
    }
    .infoTitle,
    .infoContent {
      width: 100%;
    }
    .gmap_iframe {
      width: 100% !important;
      height: 250px !important;
    }
    .scrollGrid {
      width: 100% !important;
      min-width: 100% !important;
      position: relative !important;
      height: auto !important;
    }
    .manItem {
      position: relative !important;
      width: 100% !important;
      margin-bottom: 1rem;
    }
}

#imageOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
#imageOverlay.active {
  display: flex;
}
.image-overlay-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.image-overlay-img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.overlay-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.overlay-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
}
.overlay-arrow.left { left: -60px; }
.overlay-arrow.right { right: -60px; }


#Contact {
  background-color: var(--durga-red);
  padding: 10vh clamp(20px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  gap: 5vh;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}
#Contact a:hover span{
  color: black;
  background-image: url("src/met.gif");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-font-smoothing: antialiased;
  background-clip: text;
  -moz-background-clip: text;
}
.contact-item {
  margin: 0;
  width: 100%;
}
.animated-word {
  display: inline-block;
  white-space: nowrap;
}
.title {
  color: var(--text-brown);
  font-family: "Elsie", serif;
  font-weight: 900;
  font-size: clamp(32px, 6vw, 100px);
  line-height: 1.1;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.email-text {
  font-size: clamp(24px, 4vw, 50px);
  word-break: break-word;
}

@media screen and (max-width: 768px) {
  #Contact {
    padding: 8vh clamp(15px, 4vw, 30px);
    gap: 4vh;
  }
  .title {
    font-size: clamp(28px, 6vw, 60px);
  }
  .email-text {
    font-size: clamp(18px, 4vw, 32px);
  }
}
@media screen and (max-width: 480px) {
  #Contact {
    padding: 6vh clamp(12px, 4vw, 20px);
    gap: 3vh;
  }
  .title {
    font-size: clamp(24px, 6vw, 40px);
  }
  .email-text {
    font-size: clamp(16px, 4vw, 24px);
  }
}

.footer {
  width: 100%;
  height: 25dvh;
  background: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.titleFooter {
  color: #ebded0; 
  font-family: "Elsie", serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 100px);
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: 80%;
  line-height: 1;
  transform-origin: center;
  position: relative;
  left: -2%;
  text-align: center;
}
.footer p {
  color: var(--durga-creme, #ebded0);
  font-weight: 800;
  text-align: right;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .footer {
    height: 20dvh;
    padding: 0 4%;
  }
  .titleFooter {
    font-size: clamp(24px, 4vw, 60px);
  }
}


#main-footer {
    background-color: #f4f1ea;
    color: #1a1a1a;
    padding: 6vh 6vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid #e6e0d2;
}
#footer-logo-container {
    width: 260px;
    height: auto;
    flex-shrink: 0;
}
#footer-logo-container svg {
    width: 100%;
    height: auto;
    display: block;
}
.footer-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 1.5rem;
}
.footer-welcome {
    font-size: 1.5rem;
    font-family: "Elsie", serif;
    font-weight: 900;
    color: #a8720a;
    line-height: 1.4;
}
.footer-contact {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #333333;
    text-align: right;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
}
.footer-contact strong {
    color: #1a1a1a;
    font-weight: 600;
}
.footer-contact a {
    color: #a8720a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}
.footer-contact a:hover {
    color: #7d5507;
    text-decoration: underline;
}

@media (max-width: 800px) {
    #main-footer {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    #footer-logo-container {
        width: 180px;
    }
    .footer-content {
        align-items: center;
        text-align: center;
    }
    .footer-contact {
        text-align: center;
    }
}