@font-face {
  font-family: "Perfectly Noted";
  src: url("../fonts/PerfectlyNoted-Regular.eot");
  src: url("../fonts/PerfectlyNoted-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/PerfectlyNoted-Regular.woff2") format("woff2"), url("../fonts/PerfectlyNoted-Regular.woff") format("woff"), url("../fonts/PerfectlyNoted-Regular.ttf") format("truetype"), url("../fonts/PerfectlyNoted-Regular.svg#PerfectlyNoted-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "August Script Bold free";
  src: url("../fonts/AugustScriptBoldfree.eot");
  src: url("../fonts/AugustScriptBoldfree.eot?#iefix") format("embedded-opentype"), url("../fonts/AugustScriptBoldfree.woff2") format("woff2"), url("../fonts/AugustScriptBoldfree.woff") format("woff"), url("../fonts/AugustScriptBoldfree.ttf") format("truetype"), url("../fonts/AugustScriptBoldfree.svg#AugustScriptBoldfree") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------
   RESET / NORMALIZE
------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------------------------------------
   ROOT VARIABLES (COLORS + SPACING)
------------------------------------ */
:root {
    --perfectlynoted: "Perfectly Noted";
    --primary: #dedbd3;
    --secondary: #f5f5dc;
    --dark: #0F0505;
    --light: #CDC8CD;
    --gray:#9c9899;
 
    --white: #ffffff;
    --overlay:#3D3C38;
    --textcolor:#3e2723;
    --yellow:#C39B3B;
    --purple:#966de087;
    --dark-purple:#9746ef;
    --radius: 8px;
    --transition: 0.3s ease;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --container-width: 1200px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 48px;
  
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--textcolor);
  background:var(--overlay);
}
main{
    height: 100vh;
}
/* Remove default list and link styling */
ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Images responsive */
img {
  max-width: 100%;
  display: block;
}


/* ------------------------------------
   UTILITY CLASSES
------------------------------------ */

/* Container */
/* .container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
} */

/* Flex utilities */
.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-column{
    flex-direction: column;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.align-items-top{
  align-items: start;
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-md);
}

/* Text alignment */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* Margin / Padding utilities */
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn:hover {
  opacity: 0.8;
}
main>.row{margin: 0;}
main>.row>div{
    padding: 15px 15px;
    height: calc(100vh - 13px);
}
main>.row>div.col-6{
  padding-left: 0; padding-right: 0;
}

/* Card */
.card {
  background: var(--light);
  padding: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
}

/* ------------------------------------
   BASIC ELEMENT STYLES
------------------------------------ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--textcolor);
}

p {
  margin-bottom: var(--space-md);
    color: var(--textcolor);
}

/* ------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------ */
@media (max-width: 768px) {
  :root {
    --container-width: 90%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
}
.row {
  display: flex;
  flex-wrap: wrap;
  /* margin-left: -15px;
  margin-right: -15px; */
}

.col {
  padding-left: 15px;
  padding-right: 15px;
  flex: 1;
}

/* Fixed-width columns (like col-6, col-4, col-3 etc.) */
.col-1  { flex: 0 0 8.33%;  max-width: 8.33%; }
.col-2  { flex: 0 0 16.66%; max-width: 16.66%; }
.col-3  { flex: 0 0 25%;    max-width: 25%; }
.col-4  { flex: 0 0 33.33%; max-width: 33.33%; }
.col-5  { flex: 0 0 41.66%; max-width: 41.66%; }
.col-6  { flex: 0 0 50%;    max-width: 50%; }
.col-7  { flex: 0 0 58.33%; max-width: 58.33%; }
.col-8  { flex: 0 0 66.66%; max-width: 66.66%; }
.col-9  { flex: 0 0 75%;    max-width: 75%; }
.col-10 { flex: 0 0 83.33%; max-width: 83.33%; }
.col-11 { flex: 0 0 91.66%; max-width: 91.66%; }
.col-12 { flex: 0 0 100%;   max-width: 100%; }
.w-20  { flex: 0 0 20%;    max-width: 20%; }
.w-30  { flex: 0 0 30%;    max-width: 30%; }
.w-50  { flex: 0 0 50%;    max-width: 50%; }
.h-100{
height: 100% !important;
}

/* Card container */
.card.left-card {
  background-size: cover;
  background-position: center;
     padding: 20px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  height: 100%;
  overflow-y: auto;
}

/* 
.overlay {
  position: absolute;
  inset: 0;
  background-color: var(--overlay);
  border-radius: 12px;
  z-index: 0;
} */

/* Make content above overlay */
.card.left-card > *:not(.overlay) {
  position: relative;
  z-index: 1;
}

/* Top small text */
.card-top-text {
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.card-qr{
  background-color: #ffffff4f; padding: 10px; border-radius: 12px;
}
.card-qr svg{max-width: 100%; height: auto !important;}
/* Circle Image */
.card-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  border: 4px solid #ffd700; /* golden border */
  margin-bottom: 12px;
  min-height: 160px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.col-block:not(:last-child){margin-bottom: 0.5rem;}
.col-block .cols .pill{width: 100%;}
.col-block .cols p{margin: 0;}
.col-block .cols>div{flex:1;}
.col-block .cols{
  display: flex; gap: 5px; flex-direction: row; align-items: flex-start;
}


/* Names */
.card-name-small {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: normal;
    font-family: var(--perfectlynoted);
     letter-spacing: 2px;
}

.card-name-big {
  font-size: 36px;
  font-weight: normal;
  line-height: normal;
  margin-bottom: 8px;
    font-family: var(--perfectlynoted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Dates */
.card-dates {
  font-size: 14px;
  margin-bottom: 12px;
}

/* Separator */
.card-separator {
  width: 60%;
  border: 1px solid rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

/* Description */
.card-description {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* QR Code */
.card-qr svg{
  width: 80px;
  height: 80px;
}
.card.left-card>.flex{color: #fff;}
.card-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-name-small{color: #fff;}
.card-name-big{color: #fff;}
footer{position: fixed; bottom: 0; width: 100%; text-align: center; z-index: 1;}
footer p{
      margin: auto;
    width: max-content;
    background-color: #fff;
    padding: 7px 1rem;
    line-height: 1;
    border-radius: 10px 10px 0 0;
        font-size: 12px;
}

.middle-card{
  width: 100%;
  /* height:calc(100vh - 30px); */
  position: relative;
}
  .swiper {
      width: 100%;
      height: 100%;
    }
    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .swiper-slide {
      position: relative;
      height: 100%;
      width: 60%;
      overflow: hidden;
      border-radius: 30px;
      margin:0 auto;
      transition: all 0.5s linear;
    }
    .swiper-slide-active .img-wrapper{
      width: 55%;
      box-shadow: 0 0 10px #f2f2f2, 0 0 20px #f2f2f2;
    }
    .swiper-slide .img-wrapper{
      height: 100%;
      width: 100%;
      transform: scale(1.5);
      transition: 0.5s;
    }
    .swiper-slide-active .img-wrapper{
      transform: scale(1);

    }
    .swiper-slide img {
      user-select: none;
      filter: grayscale(1);
    }
    .swiper-slide-active img{
        filter: grayscale(0);
    }
.card-title{
   font-family: var(--perfectlynoted); letter-spacing: 2px; margin-bottom: 1rem;
}
.right-top>.card{overflow-y: auto;}
.right-top>.card>.card-title{display: flex; gap: 10px; }
.right-top>.card>.row{margin: 0;}
 /* Base pill */
.pill {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  color:var(--overlay);
  background-color: #555;
  line-height: 1;
  white-space: nowrap;
  min-height: 34px;
}

/* Colors */
.pill-primary { background: var(--yellow); }
.pill-success { background: #28a745; }
.pill-warning { background: #ffc107; color: #000; }
.pill-danger  { background: #dc3545; }
.pill-light  { background: #9c9899; }

/* Outline Style */
.pill-outline {
  background: transparent;
  border: 2px solid #007bff;
  color: #007bff;
}

/* Sizes */
.pill-small {
  padding: 4px 12px;
  font-size: 12px;
}

.pill-large {
  padding: 8px 20px;
  font-size: 16px;
}

.w-100{
  width: 100%;
}

.right-top .event-time-title{
  margin-left: 45px;
  margin-bottom: 10px;
}
.right-top{height: 40%;}
.right-bottom{height: 60%; padding-top: 15px;overflow: hidden;}



.right-bottom .swiper-slide:nth-child(even) .card-inner{
    background-color: var(--yellow); /* slightly darker */
}

.card-inner{
  padding: 1rem;border-radius: 15px;
  background-color: var(--overlay); color: var(--white);
}
.right-bottom .swiper-slide{border-radius:0px;}
.card-inner p{color: var(--white);}

.event-timeline-container {
    width: 100%;
    display: flex;
    height: 34px;
    border-radius: 6px;
    overflow: hidden;
    gap: 5px;
    align-items: center;
    margin-bottom: 18px;
}

.event-block {
    height: 100%;
    box-sizing: border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 4px 8px;
    border-radius: 22px;

}


.event-block.filled {
    background:var(--purple);
    min-width:30%;    
}


.event-block.filled-green {
    background:var(--dark-purple);
    color: var(--white);
    justify-content: center;
}
.event-block.filled div{
  font-size:12px;
  line-height:1;
}

.event-block.empty {
    background: var(--gray);
}
.event-block.empty[style*="width: -20%"] {
    flex-grow: 1;
}

.page-not-found{
  max-width: 500px;
  margin: 0 auto;
}


#message-slider .card-inner{
     height: 100%;
}








@media (max-width: 1280px) {
  #message-slider .card-inner{
     height: auto; font-size: 14px;
}

}

/* Responsive */
@media (max-width: 480px) {
  .card.left-card {
    max-width: 100%;
    padding: 16px;
  }

  .card-image {
    width: 100px;
    height: 100px;
    min-height: 100px;
  }

  .card-name-big {
    font-size: 20px;
  }

  .card-qr {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 992px) {
  .col-md-12  { flex: 0 0 100%; max-width: 100%; }
  .col-md-6   { flex: 0 0 50%;  max-width: 50%; }
  .col-md-4   { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-md-3   { flex: 0 0 25%; max-width: 25%; }

  .swiper-slide {
    width: 75%;
  }
  .swiper-slide-active {
    width: 65%;
  }


}

/* Small devices (mobile) */
@media (max-width: 768px) {
   .right-bottom .swiper {
      max-height: 400px;
    }
    #message-slider .card-inner{
      height: 100%;
    }

  main>.row>div{height: 100%;}
  main>.row>div.col-6{
    padding-left: 15px; padding-right: 15px;     height: calc(100vh - 13px);
  }
  .col-sm-12  { flex: 0 0 100%; max-width: 100%; }
  .col-sm-6   { flex: 0 0 50%;  max-width: 50%; }
  .col-sm-4   { flex: 0 0 33.33%; max-width: 33.33%; }
}

/* Extra small devices (phones) */
@media (max-width: 480px) {
  .col-xs-12  { flex: 0 0 100%; max-width: 100%; }
  .col-xs-6   { flex: 0 0 50%;  max-width: 50%; }

/* .swiper-slide {
      max-height: 400px;
  } */


  .swiper-slide {
    width: 80%;

  }
  .swiper-slide-active {
    width: 55%;
  }
}
