/* Homepage Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000 0%, #2a2a2a 100%);
    color: #FFD700;
    padding: 70px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 20px;
    color: #FFF;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Container */
.content-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.section {
    background-color: #2a2a2a;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-left: 5px solid #FFD700;
}

.section h2 {
    color: #FFD700;
    font-size: 32px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.on-this-day {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

.on-this-day img {
    width: 100%;
    height: auto;
    border: 3px solid #FFD700;
}

.on-this-day-content h3 {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 15px;
}

.on-this-day-content p {
    line-height: 1.8;
    color: #c0c0c0;
    margin-bottom: 15px;
}

.latest-additions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.addition-card {
    background-color: #333;
    border: 2px solid #FFD700;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.addition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.addition-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

.addition-card h4 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 8px;
}

.addition-card p {
    color: #c0c0c0;
    font-size: 14px;
}

/* Share Your Story Section */
.share-story-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 50px 40px;
    margin-bottom: 30px;
    border: 3px solid #FFD700;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.share-story-section h3 {
    color: #FFD700;
    font-size: 36px;
    margin-bottom: 20px;
}

.share-story-section p {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.share-story-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.share-story-item {
    background-color: #333;
    color: #FFD700;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #FFD700;
    font-size: 16px;
    transition: all 0.3s;
}

.share-story-item:hover {
    background-color: #333;
    border-color: #FFD700;
    color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.share-story-item:hover h4 {
    color: #FFD700;
}

.share-story-item:hover p {
    color: #e0e0e0;
}

.share-story-item h4 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: bold;
}

.share-story-item p {
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.share-button {
    background-color: #FFD700;
    color: #000;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.share-button:hover {
    background-color: #FFF;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

/* Donation Section */
.donation-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 50px 40px;
    margin-bottom: 30px;
    border: 3px solid #FFD700;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.donation-section h3 {
    color: #FFD700;
    font-size: 36px;
    margin-bottom: 20px;
}

.donation-section p {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donation-items {
    display: flex;
    overflow: hidden;
    gap: 20px;
    margin-bottom: 30px;
    padding: 10px 0;
    position: relative;
}

.donation-scroll {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.donation-scroll:hover {
    animation-play-state: paused;
}

.donation-item {
    background-color: #333;
    color: #FFD700;
    padding: 12px 25px;
    border-radius: 25px;
    border: 2px solid #FFD700;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s;
}

.donation-item:hover {
    background-color: #FFD700;
    color: #000;
    transform: scale(1.05);
}

.donate-button {
    background-color: #FFD700;
    color: #000;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.donate-button:hover {
    background-color: #FFF;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .share-story-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .on-this-day {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .latest-additions {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
