/* Custom CSS for Wedding Coming Soon Page */

:root {
    --primary-color: #f43f5e;
    --secondary-color: #ec4899;
    --accent-color: #a855f7;
    --light-pink: #fdf2f8;
    --light-purple: #faf5ff;
    --text-dark: #374151;
    --text-muted: #6b7280;
    --text-pink: #ff0481;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--light-pink) 0%, #fce7f3 25%, #f3e8ff 75%, var(--light-purple) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Decorations */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -200px;
    left: -200px;
    animation-delay: 2s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Typography */
.wedding-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
}

.wedding-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.coming-soon-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-weight: 500;
}

/* Hearts Animation */
.hearts-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.heart-icon {
    animation: heartbeat 2s ease-in-out infinite;
}

.heart-1 {
    color: #f87171;
    font-size: 2rem;
    animation-delay: 0s;
}

.heart-2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    animation-delay: 0.3s;
}

.heart-3 {
    color: #f87171;
    font-size: 2rem;
    animation-delay: 0.6s;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Cards */
.countdown-card,
.detail-card,
.email-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.countdown-card:hover,
.detail-card:hover,
.email-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Countdown */
.countdown-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.countdown-item {
    background: linear-gradient(135deg, #fce7f3, #f3e8ff);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: scale(1.05);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Detail Cards */
.detail-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.detail-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.detail-text {
    color: var(--text-muted);
}

/* Email Form */
.email-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.email-input {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(244, 63, 94, 0.25);
}

.subscribe-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #e11d48, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 63, 94, 0.3);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-item {
        padding: 1rem 0.5rem;
    }
    
    .countdown-card,
    .detail-card,
    .email-card {
        padding: 1.5rem;
    }
    
    .wedding-title {
        font-size: 3rem;
    }
    
    .wedding-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hearts-container {
        gap: 0.5rem;
    }
    
    .heart-1, .heart-3 {
        font-size: 1.5rem;
    }
    
    .heart-2 {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 1.75rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}

.text-pink {
  color: var(--text-pink);
}

.map-container {
  margin-top: 3rem;
  width: 100%;
  max-width: 64rem; /* same as max-w-4xl */
  text-align: center;
}

.map-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem; /* rounded-2xl */
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  position: relative;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #fdf2f8, #faf5ff);
  z-index: -1;
  filter: blur(60px);
}

.map-card iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 12px;
}

.ring-emoji {
  font-size: 2rem;
  color: var(--accent-color);
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.3);
}

.marriage-emoji {
  font-size: 2rem;
  color: var(--primary-color);
  text-shadow: 0 0 6px rgba(244, 63, 94, 0.3);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
}

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

.fade {
  animation: fadeEffect 12s infinite;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes fadeEffect {
  0% {opacity: 0;}
  10% {opacity: 1;}
  30% {opacity: 1;}
  40% {opacity: 0;}
  100% {opacity: 0;}
}

/* Delay for each image */
.slideshow:nth-child(1) { animation-delay: 0s; }
.slideshow:nth-child(2) { animation-delay: 4s; }
.slideshow:nth-child(3) { animation-delay: 8s; }

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.scroll-invitation-parent {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 2rem auto;
    background: #f2d8be; /* parchment background */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}


/* Scroll Content */
.scroll-content {
    padding: 2rem;
    text-align: center;
}

.scroll-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Top & Bottom Rods */
.scroll-rod {
    position: absolute;
    width: 110%; /* extend beyond scroll width */
    height: 20px;
    background: rgb(202, 172, 2);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 15px;
    z-index: 5;
}

.top-rod { top: 0; }
.bottom-rod { bottom: 0; }

/* Vertical Sticks */
.stick {
    position: absolute;
    width: 20px;
    height: 100%;
    background: gold;
    top: 0;
    border-radius: 10px;
    z-index: 4;
}

.left-stick { left: -30px; }
.right-stick { right: -30px; }

/* Couple Photo Frame */
.couple-photo-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf2f8, #faf5ff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  animation: float 6s ease-in-out infinite;
}

/* Decorative Ring */
.floral-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 6px dashed gold;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  z-index: 3; /* keep above image */
  pointer-events: none;
}

/* Couple Photo */
.couple-photo {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgb(244, 244, 244);
  z-index: 0; /* under the ring */
}

/* Optional floating bouquet icons */
.couple-photo-frame::before,
.couple-photo-frame::after {
  content: "💐";
  position: absolute;
  font-size: 1.8rem;
  animation: spin 10s linear infinite;
  color: #f43f5e;
  z-index: 4;
}

.couple-photo-frame::before {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.couple-photo-frame::after {
  bottom: -12px;
  right: 50%;
  transform: translateX(50%) rotate(180deg);
}

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

.video-frame-wrapper {
  position: relative;
  width: 90%;
  max-width: 700px;
  margin: 2rem auto;
}

.ornate-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-content {
  position: relative;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffaf0, #fefae0);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-content video {
  width: 100%;
  border-radius: 10px;
  display: block;
}


.bubble-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

/* Bubbles are always circular */
.bubble {
    position: relative;
    width: 20vw; 
    max-width: 130px;
    aspect-ratio: 1 / 1;    /* <— forces a perfect square on all devices */
    animation: floatUp 6s ease-in-out infinite;
}

.bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Keeps image inside circle */
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

@keyframes floatUp {
    0% { transform: translateY(20px); opacity: 0.5; }
    50% { transform: translateY(-40px); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0.5; }
}

/* Different sizes per bubble */
.bubble:nth-child(4) { animation-delay: -0.5s; }
.bubble:nth-child(3) { animation-delay: -1s; }
.bubble:nth-child(2) { animation-delay: -1.5s; }
.bubble:nth-child(1) { animation-delay: -2s; }
/* .bubble:nth-child(1) { animation-delay: -2.5s; } */

/* MOBILE FIX – smaller bubbles */
@media (max-width: 600px) {
    .bubble-container {
        height: 250px;
        gap: 10px;
    }
    .bubble {
        width: 28vw;
        max-width: 90px;
    }
}


.polaroid-gallery {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.polaroid {
    position: relative;
    width: 160px;
    aspect-ratio: 1 / 1.2;    /* perfect shape */
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: rotate(calc(-6deg + (var(--i) * 3deg)));
    animation: float 4s ease-in-out infinite alternate;
    overflow: visible;
}

/* Apply rotation differences */
.polaroid:nth-child(1) { --i: 1; }
.polaroid:nth-child(2) { --i: 2; }
.polaroid:nth-child(3) { --i: 3; }
.polaroid:nth-child(4) { --i: 4; }
.polaroid:nth-child(5) { --i: 5; }

.polaroid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Heart badge */
.heart {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 24px;
    animation: heartbeat 1.5s infinite;
    color: #ff4a6e;
}

/* Floating animation */
@keyframes float {
    0%   { transform: translateY(0) rotate(var(--rotate)); }
    100% { transform: translateY(-15px) rotate(var(--rotate)); }
}

/* Hearts animation */
@keyframes heartbeat {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* MOBILE FIX */
@media (max-width: 600px) {
    .polaroid-gallery {
        gap: 15px;
        padding: 20px 0;
    }

    .polaroid {
        width: 130px;
    }
}

.circle-slideshow {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 40px auto;
}

.center-image {
    position: absolute;
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-image img {
    width: 100%;
    height: 100%;
    border:10px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: opacity 0.6s ease;
}

.outer-ring {
    position: absolute;
    width: 100%;
    height: 100%;
}

.outer-ring img {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* ACTIVE THUMBNAIL HIGHLIGHT */
.thumb.active {
    transform: scale(1.25);
    box-shadow: 0 0 20px #ff5c8a;
}

.circle-slideshow {
    position: relative;
    width: 90vw;          /* responsive width */
    max-width: 400px;     /* stops growing too large */
    height: 90vw;         /* keep it a square */
    max-height: 400px;
    margin: 40px auto;
}

.center-image {
    position: absolute;
    width: 45%;           /* responsive center size */
    height: 45%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: opacity 0.6s ease;
}

.outer-ring img {
    position: absolute;
    width: 18vw;
    height: 18vw;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.thumb.active {
    transform: scale(1.25);
    box-shadow: 0 0 20px #ff5c8a;
}
