/* Save the Date List Styles */

.save-the-date-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
}

/* Header Section */
.std-header {
    text-align: center;
    margin-bottom: 3rem;
}

.std-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.std-subtitle {
    font-size: 1.2rem;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.std-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Responsive: Maximum 3 columns */
@media (min-width: 1200px) {
    .std-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .std-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .std-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styles */
.std-card {
    background: var(--card-bg);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.std-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.std-card hr {
    border: none;
    border-top: 1px solid #ecf0f1;
    margin: 0.5rem 0;
}

/* Image Container */
.std-image-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--primary-gradient);
    position: relative;
}

.std-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.std-card:hover .std-image {
    transform: scale(1.05);
}

.std-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.std-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Content Section */
.std-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.std-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0;
    line-height: 1.3;
}

.std-description {
    font-size: 1rem;
    color: var(--muted-text);
    line-height: 1.6;
    flex-grow: 1;
}

/* Tags Section */
.std-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.std-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--secondary-color);
    color: var(--light-text);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.std-tag:hover {
    transform: scale(1.05);
}

/* Modifications Section */
.std-modifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.std-modification {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--accent-color);
    color: var(--light-text);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

/* Footer Section */
.std-footer {
    padding: 1rem 1.5rem 1.5rem;
}

.std-btn {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    text-decoration: none;
    border-radius: calc(var(--card-border-radius) - 1.5rem);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.std-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: var(--light-text);
}

/* Empty State */
.std-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: #7f8c8d;
}

.std-empty i {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

.std-empty p {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.std-empty-subtitle {
    font-size: 1rem;
    color: #95a5a6;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .save-the-date-container {
        padding: 2rem 1rem;
    }

    .std-header h1 {
        font-size: 2rem;
    }

    .std-subtitle {
        font-size: 1rem;
    }

    .std-image-container {
        height: 220px;
    }

    .std-name {
        font-size: 1.3rem;
    }

    .std-description {
        font-size: 0.95rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.std-card {
    animation: fadeInUp 0.5s ease-out;
}

.std-card:nth-child(1) { animation-delay: 0.1s; }
.std-card:nth-child(2) { animation-delay: 0.2s; }
.std-card:nth-child(3) { animation-delay: 0.3s; }
.std-card:nth-child(4) { animation-delay: 0.4s; }
.std-card:nth-child(5) { animation-delay: 0.5s; }
.std-card:nth-child(6) { animation-delay: 0.6s; }
