/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-green: #949e6c;
    --primary-green-light: #f9fdea;
    /* --primary-green-light: #acb087; */
    /* --primary-green-lighter: #b6d4b6; */
    --primary-green-dark: #949e6c;

    --decorative-font: 'Homemade Apple', cursive;
    --information-font: 'Courier', monospace;
    
    /* Background Colors */
    /* --bg-primary: #4a6741; */
    --bg-secondary: #949e6c;
    /* --bg-secondary-light: rgb(100, 109, 75); */
    --bg-secondary-light: #949e6c;
    --bg-light: #f0f4f0;
    --bg-white: #fff;
    
    /* Text Colors */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #888;
    --text-white: #fff;
    
    /* Accent Colors */
    --accent-pink: #f4b7d2;
    --accent-pink-light: #f8c8d8;
    
    /* Border Colors */
    --border-light: #e0e8e0;
    --border-medium: #d0e0d0;
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-green: rgba(74, 103, 65, 0.2);
    --navbar-height: 64px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--information-font);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-green-light);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-secondary-light);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    height: var(--navbar-height);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    font-family: var(--decorative-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.hidden {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green-light);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    margin-top: 0rem;
    margin-bottom: 2rem;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-green-light);
    position: relative;
    z-index: 1;
    padding-top: var(--navbar-height);
}

.save-the-date-container {
    position: relative;
    display: inline-block;
    width: 80vw;
    /* max-width: 500px; */
    max-width: clamp(300px, 60vh, 500px);
}

/* @media (width > 800px) and (height < 800px) {
    .save-the-date-container {
        width: 80vw;
        max-width: 400px;
    }
} */

.save-the-date-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    /* width: clamp(80vw, 60vh, 60vw); */
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2.5s ease;
    overflow: visible;
}

.save-the-date-bg.fade-in {
    opacity: 1;
}

.save-the-date-img {
    border-radius: 10px;
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
    display: block;
}

.save-the-date-img.loaded {
    transform: translateY(0);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-family: var(--decorative-font);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-green-light);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-date {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 40%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
    width: 100%;
    max-width: 20%;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-pink);
    border-bottom: 2px solid var(--accent-pink);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
    display: block;
}

/* Gallery Section */
.gallery {
    margin-bottom: 2rem;
    padding: 2rem 2rem 2rem 2rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    background: var(--primary-green-dark);
    z-index: 10;
}

.gallery-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* gap: 2rem; */
    width: max-content;
    will-change: transform;
    /* transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 50vw;
    height: 400px;
    object-fit: cover;
    /* border-radius: 15px; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* transition: transform 0.3s, box-shadow 0.3s; */
}

/* .gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
} */

/* Hide scrollbars for the gallery */
.gallery-track::-webkit-scrollbar {
    display: none;
}
.gallery-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 900px) {
    .gallery-image {
        width: 50vw;
        height: 250px;
    }
    .gallery-track {
        /* gap: 1rem; */
    }
}

.gallery-item {
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.gallery-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.story-image {
    max-width: 300px;
    text-align: center;
}

.story-img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.story-item.fade-in {
    /* opacity: 1;
    transform: translateY(0); */
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #5c8051 0%, #d0e0d0 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green-light);;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px dashed var(--primary-green-light);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(74, 103, 65, 0.2);
}

/* Wedding Details Section */
.wedding-details {
    padding: 0 2rem;
    background: var(--primary-green-light);
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--decorative-font);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-green-light);;
    margin-bottom: 3rem;
}

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

@media (max-width: 1000px) {
    .details-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.detail-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card h3 {
    font-family: var(--decorative-font);
    font-size: 1.5rem;
    color: var(--primary-green-light);;
    margin-bottom: 1rem;
}

.detail-card p {
    margin-bottom: 0.5rem;
    color: white;
}

/* Tabbed Content */
.tabbed-content {
    padding: 4rem 2rem;
    background: #fff;
}

.tab-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-green-light);;
    background: transparent;
    color: var(--primary-green-light);;
    font-family: var(--decorative-font);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-green-light);;
    color: #fff;
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h2 {
    font-family: var(--decorative-font);
    font-size: 2rem;
    color: var(--primary-green-light);;
    text-align: center;
    margin-bottom: 2rem;
}

/* Our Story Tab */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image {
    text-align: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Registry Tab */
.registry-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.registry-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.registry-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.registry-link {
    padding: 1rem 2rem;
    background: var(--primary-green-light);;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.registry-link:hover {
    background: #3a5a31;
    transform: translateY(-2px);
}

.registry-note {
    font-style: italic;
    color: #888;
}

/* RSVP Tab */
.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-content p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.rsvp-form {
    background: #f8faf8;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e8e0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-green-light);;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e8e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green-light);;
}

.radio-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-green-light);;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #3a5a31;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

@keyframes slideUpFromBottom {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Page Hero Styles */
.page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-green-light);
    position: relative;
}

.page-title {
    font-family: var(--decorative-font);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-green-dark);;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--primary-green-light);;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Our Story Page Styles */
.story-page {
    padding: 4rem 2rem;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
}

.story-section {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.story-section.reverse {
    direction: rtl;
}

.story-section.reverse .story-text {
    direction: ltr;
}

.story-section h2 {
    font-family: var(--decorative-font);
    font-size: 2rem;
    color: var(--primary-green-dark);
    margin-bottom: 1.5rem;
}

.story-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Registry Page Styles */
.registry-page {
    padding: 4rem 2rem;
    background: #fff;
}

.registry-container {
    max-width: 1000px;
    margin: 0 auto;
}

.registry-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.registry-intro h2 {
    font-family: var(--decorative-font);
    font-size: 2.5rem;
    color: var(--primary-green-light);;
    margin-bottom: 1.5rem;
}

.registry-intro p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

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

.registry-card {
    background: #f8faf8;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e0e8e0;
    transition: all 0.3s ease;
}

.registry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 103, 65, 0.2);
    border-color: var(--primary-green-light);;
}

.registry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.registry-card h3 {
    font-family: var(--decorative-font);
    font-size: 1.5rem;
    color: var(--primary-green-light);;
    margin-bottom: 1rem;
}

.registry-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.registry-note {
    background: var(--primary-green-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid var(--primary-green-light);
}

.registry-note h3 {
    font-family: var(--decorative-font);
    font-size: 1.5rem;
    color: var(--primary-green-light);;
    margin-bottom: 1rem;
}

.registry-note p {
    color: #555;
    margin-bottom: 1rem;
}

/* RSVP Page Styles */
.rsvp-page {
    padding: 4rem 2rem;
    background: #fff;
}

/* RSVP Hero with Background Image */
.rsvp-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/rsvp.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* RSVP Hero with Background Image */
.our-story-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/story.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.our-story-hero .page-title,
.our-story-hero .page-subtitle {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rsvp-hero .page-title,
.rsvp-hero .page-subtitle {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Google Forms Section */
.rsvp-form-section {
    padding: 4rem 2rem;
    background: var(--primary-green-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background: var(--primary-green-light);
}

.google-form {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
}

.rsvp-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.rsvp-intro h2 {
    font-family: var(--decorative-font);
    font-size: 2.5rem;
    color: var(--primary-green-light);;
    margin-bottom: 1.5rem;
}

.rsvp-intro p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.rsvp-form-container {
    background: #f8faf8;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e8e0;
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e8e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-family: var(--decorative-font);
    font-size: 1.3rem;
    color: var(--primary-green-light);;
    margin-bottom: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-green-light);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-green-light);
    border-radius: 50%;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.rsvp-note {
    background: var(--primary-green-light);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-green-light);
}

.rsvp-note h3 {
    font-family: var(--decorative-font);
    font-size: 1.3rem;
    color: var(--primary-green-light);;
    margin-bottom: 1rem;
}

.rsvp-note ul {
    list-style: none;
    padding: 0;
}

.rsvp-note li {
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.rsvp-note li::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--primary-green-light);;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.6s ease-in-out;
        box-shadow: 0 10px 27px var(--shadow-light);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        top: 70px;
        display: flex;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .save-the-date-container {
        margin-top: 3rem;
        margin-bottom: 3rem;
        padding: 1rem;
    }
    
    .save-the-date-image {
        max-width: 95%;
        max-height: 70%;
    }
    .save-the-date-bg {
        width: 100vw;
    }
    
    .story-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-section.reverse {
        direction: ltr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .registry-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .registry-links {
        flex-direction: column;
        align-items: center;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rsvp-hero {
        background-attachment: scroll;
    }
    
    .form-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .google-form {
        width: 100% !important;
    }
}

/* Work In Progress Popup Styles */
.wip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.wip-popup {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    margin: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.wip-popup h3 {
    font-family: var(--decorative-font);
    font-size: 1.8rem;
    color: #4a6741;
    margin-bottom: 1rem;
}

.wip-popup p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.wip-close {
    background: #4a6741;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wip-close:hover {
    background: #3a5a31;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rainbow-copyright {
    font-weight: bold;
    font-size: 1.2em;
    animation: rainbow-pulse 2s infinite linear;
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 0 6px #fff8);
    transition: filter 0.2s;
}

.rainbow-copyright:hover {
    filter: drop-shadow(0 0 16px #fff) brightness(1.2);
}

@keyframes rainbow-pulse {
    0% {
        background-position: 0% 50%;
        text-shadow: 0 0 8px #fff8;
        transform: scale(1);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 0 24px #fff8, 0 0 32px #fff4;
        transform: scale(1.18);
    }
    100% {
        background-position: 0% 50%;
        text-shadow: 0 0 8px #fff8;
        transform: scale(1);
    }
}

.carousel-speed-btn {
    position: absolute;
    top: 8px;
    right: 6px;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 1.2em;
    transition: background 0.2s;
    opacity: 0.5;
}
.carousel-speed-btn:hover {
    background: #f4b7d2;
}

.carousel-speed-slider-container {
    position: absolute;
    top: 52px;
    right: 18px;
    z-index: 11;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    padding: 10px 16px 8px 16px;
    display: none;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    animation: fadeIn 0.3s;
}
.carousel-speed-slider-container.active {
    display: flex;
}
.carousel-speed-label {
    font-size: 0.95em;
    margin-bottom: 4px;
    color: #5c8051;
}
.carousel-speed-slider {
    width: 100px;
    margin: 0 8px;
}
.carousel-speed-value {
    font-size: 1em;
    margin-top: 2px;
    color: #4a6741;
    font-weight: bold;
}

.gallery {
    position: relative;
}

/* Metallic pulsing effect for footer 'love' */
#footer-love {
  display: inline-block;
  font-weight: bold;
  background: linear-gradient(120deg, #bfc1c2 10%, #e6e7e8 30%, #a7a9ac 50%, #e6e7e8 70%, #bfc1c2 90%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: metallic-pulse 2s infinite, metallic-shine 3s linear infinite;
}

@keyframes metallic-pulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.12);
    filter: brightness(1.4);
  }
}

@keyframes metallic-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
