:root {
    --primary-green: #2D5A27;
    --primary-red: #D44C4C;
    --text-color: #333333;
    --background-color: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-color);
    background: var(--background-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(to bottom, rgba(45, 90, 39, 0.05), transparent);
    border-radius: 0 0 2rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.author {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.emoji-decor {
    font-size: 2rem;
    margin: 2rem 0;
}

.emoji-decor span {
    margin: 0 0.5rem;
}

/* About Section */
.about {
    padding: 4rem 1rem;
    background: #fff;
}

.about h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

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

.feature {
    background: rgba(45, 90, 39, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.feature h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Items Section */
.item {
    padding: 3rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.item-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.item-content img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}

.item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-details h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.price {
    font-size: 1.4rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.description {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.buy-button {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
    max-width: 200px;
}

.buy-button:hover {
    background: #234620;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2D5A27 0%, #1a3518 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.holiday-message {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-nav {
    margin-top: 1rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    border-radius: 1rem;
    max-height: 90vh;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.policy-content {
    margin-top: 2rem;
}

.policy-content h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.policy-content h4 {
    margin: 1.5rem 0 0.5rem;
}

.about-content, .contact-content {
    color: #333;
    line-height: 1.6;
}

.about-content h3, .contact-content h3 {
    color: var(--primary-green);
    margin: 1.5rem 0 1rem;
}

.about-content p, .contact-content p {
    margin-bottom: 1rem;
}

.about-content ul, .contact-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.about-content li, .contact-content li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background: rgba(45, 90, 39, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details strong {
    color: var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .item-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .wishlist-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .footer-nav a {
        display: block;
        margin: 1rem 0;
    }
}
