@font-face {
    font-family: 'Chloe';
    src: url('/fonts/chloe-regular.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'PPPlayground';
    src: url('/fonts/PPPlayground-Light.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'PPFragment';
    src: url('/fonts/PPFragment-GlareLight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PPFragment', Arial, sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
}

hr {
    border-color: #632837;
    -width: 1px;
    margin: 0 1rem;
    /* margin-right: 1rem; */
}

a { 
    color: inherit;
    text-decoration: none;
 } 


/* Hero Section */
.hero {
    height: 100vh;
    background: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* color: white; */
    position: relative;
}

.hero-content {
    max-width: 600px;
    padding: 2rem;
    /* opacity: 1; */
}

.hero-vector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);  width: 90%;
  z-index: 1;
  pointer-events: none; /* Makes sure clicks go through */
}

.top-vector {
    top: 0;
    margin-top: 5vh;
    height: 10vh;
    animation: fadeInUpCenteredX 1.5s ease-out;
}

.bottom-vector {
    bottom: 0;
    margin-bottom: 10vh;
    height: 10vh;
    animation: fadeInUpCenteredX 1.5s ease-out;
}

/* Date Section */
.position-grid {
  position: relative;
  width: 100%;
  height: 80vh;
  z-index: 1;
}

.top-left,
.top-center,
.center,
.bottom-right,
.center-right,
.bottom{
  position: absolute;
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 300px;
  font-size: 1.2rem;
}

.top-left {
  top: 2rem;
  left: 2rem;
  text-align: left;
}

.top-center {
  /* top: 5rem; */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.center-right {
  top: 50%;
  /* left: 50%; */
  right: 2rem;
  /* transform: translate(-50%, -50%); */
  text-align: right;
}

.bottom-right {
  bottom: 2rem;
  right: 2rem;
  text-align: right;
}

.bottom-left {
  position: absolute;
  font-size: 1.5rem;
  max-width: 300px;
  bottom: 10rem;
  left: 2rem;
  text-align: left;
}

.bottom {
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.left,
.right {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  /* width: 70vw; */
  margin: 10vh 1rem;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.top-left-img,
.bottom-center-img,
.bottom-right-img,
.center-right-img {
  position: absolute;
  max-height: 30vh;
  max-width: 30vw;
}

.top-left-img {
    top: 2rem;
    text-align: left;
    z-index: 2;
}

.bottom-center-img {
  bottom: 0rem;
  left: 30%;
}

.center-right-img {
  top: 40%;
  right: 0rem;
}

.bottom-right-img {
    bottom: 0rem;
    right: 0rem;
    z-index: 0;
}

.wedding-date {
    position: absolute;
    /* animation: fadeInUpCentered 1s ease-out 0.3s both; */
    top: 50%;
    left: 50%;
    height: 50vh;
    /* transform: translate(-50%, -50%); */
    z-index: 1;
}


/* Information Section */
.info-section {
    height: 140vh;
    background-color: #F1E7D9;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-text {
    /* font-size: 1.2rem; */
    line-height: 1.8;
    margin: 1rem;
    margin-bottom: 0rem;
    color: #632837;

}

.info-text p {
    margin-bottom: 1rem;
}

.description-title {
    font-family: 'PPPlayground','serif';
    text-align: left;
    font-size: 2rem;
    font-weight: 100;
    margin: 2rem 0;
}

.description-text {
    font-family: 'PPFragment','serif';
    font-size: 3rem;
    text-align: left;
    line-height: 0.8;
}

/* .description-section {
  position: relative;
}

.description-time {
    left:0rem;
    font-size: 1.2rem;
    text-align: left;
    position: absolute;
    max-width: 50vw;
    line-height: 2.5;
}

.description-place {
    right:1rem;
    text-align: right;
    font-size: 1.2rem;
    position: absolute;
} */

.description-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap; /* handles mobile gracefully */
}

.description-time,
.description-place {
  font-size: 1.2rem;
  line-height: 2.5;
  max-width: 70%;
}

.description-time {
  text-align: left;
}

.description-place {
  text-align: right;
}

.section-title {
    display: block;
    margin-left: 1rem;
    top: 2vh; /* slight margin from the top */
    /* left: 10%; */
    transform: translateY(60px); /* initial offset down */
    /* height: 35vh; */
    max-width: 75vw;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    pointer-events: none;
}

.section-title.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* ========== Squares Section ========== */
.squares-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 1rem; */
  /* margin: 0; */
  /* padding: 4rem 2rem;
  background: #f9f9f9; */
}

@media (min-width: 768px) {
  .squares-section {
    grid-template-columns: repeat(4, 1fr);
  }
}

.square {
  background-color: black;
  position: relative;
  /* aspect-ratio: 1; */
  height: 33vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.square-inner {
  background-color: white;
  width: 50%;
  aspect-ratio: 1 / 1;
  position: relative;

}

/* ========== Square Modifiers ========== */
.square.bg-green-dress {
  background-image: url('img/green_dress.png');
  background-size: cover;
  background-position: center;
}

.square-inner.bg-color-green {
  background-color: #B4AF41;
}

.square.bg-color-green {
  background-color: #ACAC82;
}

.square-inner.bg-green-suit {
  background-image: url('img/green_suit.jpg');
  background-size: cover;
  background-position: center;
}

.square.bg-color-orange {
  background-color: #E75B31;
}

.square-inner.bg-orange-dress {
  background-image: url('img/orange_dress.jpg');
  background-size: cover;
  background-position: center;
}

.square.bg-brown-suit {
  background-image: url('img/brown_suit.jpg');
  background-size: cover;
  background-position: center;
}

.square-inner.bg-color-brown {
  background-color: #A37D66;
}

.square.bg-blue-dress {
  background-image: url('img/blue_dress.jpg');
  background-size: cover;
  background-position: center;
}

.square-inner.bg-color-blue {
  background-color: #A1D1EE;
}

.square.bg-color-purple {
  background-color: #B794A9;
}

.square-inner.bg-purple-suit {
  background-image: url('img/purple_suit.jpg');
  background-size: cover;
  background-position: center;
}

.square.bg-color-fuschia {
  background-color: #C54189;
}

.square-inner.bg-fuschia-dress {
  background-image: url('img/fuschia_dress.jpg');
  background-size: cover;
  background-position: center;
}

.square.bg-grey-suit {
  background-image: url('img/grey_suit.jpg');
  background-size: cover;
  background-position: center;
}

.square-inner.bg-color-grey {
  background-color: #C6E4F1;
}

.square.bg-pink-dress {
  background-image: url('img/pink_dress.png');
  background-size: cover;
  background-position: center;
}

.square-inner.bg-color-pink {
  background-color: #E995C2;
}

.square.bg-color-beige {
  background-color: #C7BBAF;
}

.square-inner.bg-beige-suit {
  background-image: url('img/beige_suit.png');
  background-size: cover;
  background-position: center;
}

.square.bg-black-dress {
  background-image: url('img/black_dress.png');
  background-size: cover;
  background-position: center;
}

.square-inner.bg-color-black {
  background-color: black;
}
.square-inner.x::before,
.square-inner.x::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: #F1E7D9;
  transform-origin: center;
}

.square-inner.x::before {
  transform: rotate(45deg);
}

.square-inner.x::after {
  transform: rotate(-45deg);
}
.square.bg-black-suit {
  background-image: url('img/black_suit.png');
  background-size: cover;
  background-position: center;
}


/* Gift Section */
.gift-title {
    font-family: 'PPPlayground','serif';
    text-align: center;
    font-size: 2.5rem !important;
    font-weight: 100 !important;
}

.gift-grid {
  position: relative;
  width: 100%;
  height: 50vh;
}

.gift-grid p {
  /* position: relative; */
  width: 90vw;
  /* height: 50vh; */
}

.circle {
  width: 8vh;   /* Responsive width */
  height: 8vh;  /* Responsive height */
  border-radius: 50%;
  margin: 0 auto;
}

.circle-row {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  z-index: 2;
}

.top-circles {
  position: absolute;
  bottom: -4vh; /* Half overlaps the hero */
  left: 0;
  width: 100%;
}

.section-top-circles {
  margin-top: -4vh;
  margin-bottom: -4vh;
  z-index: 2;
  position: relative;
}

.yellow-section {
    background-color: #CCB33A;
}

.orange-section {
    background-color: #E75B31;
}

/* .beige-section {
    background-color: #F1E7D9;
} */

.pink-section{
    padding: 2rem;
    background-color: #FCD1CD;
    color:#E75B31;
}

.blue-section {
    padding: 2rem;
    background-color: #A1D1EE;
    color: white;
}

/* .square:hover {
    transform: scale(1.05);
} */


.event-details {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.event-details h3 {
    font-family: 'PPFragment', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.detail-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

/* RSVP Section */
.rsvp-section {
    background-color: #2c3e50;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.rsvp-content h2 {
    font-family: 'PPFragment', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.rsvp-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #bdc3c7;
}

.rsvp-button {
    background-color: transparent;
    position:absolute;
    border-color: #632837;
    border-width: 2px;
    padding: 1rem 1rem;
    font-size: 1.1rem;
    font-weight: 300;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'PPFragment', Arial, sans-serif;
    /* letter-spacing: 1px; */
}

.rsvp-button:hover {
    background-color: white;
}

/* Registry Section */
.registry-section {
    background-color: #ecf0f1;
    padding: 6rem 2rem;
    text-align: center;
}

.registry-content {
    max-width: 800px;
    margin: 0 auto;
}

.registry-content h2 {
    font-family: 'PPFragment', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.registry-content > p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: #666;
    line-height: 1.8;
}

.registry-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.registry-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.registry-item:hover {
    transform: translateY(-5px);
}

.registry-item h3 {
    font-family: 'PPFragment', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.registry-item p {
    color: #666;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUpCenteredX {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeInUpCentered {
  from {
    opacity: 0;
    transform: translate(-50%, -20%); /* up and centered */
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%); /* perfectly centered */
  }
}


/* Responsive Design */
@media (max-width: 768px) {
    .p
    .decorative-text {
        right: 1rem;
    }
    
    .gallery-grid {
        max-width: 300px;
    }
    
    .event-details {
        padding: 2rem;
    }
    
    .registry-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    
    .gallery-section {
        padding: 2rem 1rem;
    }
    
    .info-section,
    .rsvp-section,
    .registry-section {
        padding: 4rem 1rem;
    }
    
    .large-text {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for gallery items */
.gallery-item {
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    position: relative;
    overflow: hidden;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.auto-scroll-gallery {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: visible;
}

.scroll-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.scroll-row img {
  object-fit: cover;
  position: absolute;
  top: 0;
  will-change: transform;
  opacity: 0;
  transition: opacity 1s ease-in;
}

.scroll-row img.fade-in {
  opacity: 1;
}




/* Hover effects for sections */
/* .info-section,
.rsvp-section,
.registry-section {
    transition: all 0.3s ease;
} */

/* Custom scrollbar */
/* ::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #F4D03F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F1C40F;
} */

