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

body {
    font-family: 'Noto Sans', system-ui, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #fefefe;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4F46E5 0%, #DC2626 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.brand-name {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: white;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.8;
}

/* Introduction Section */
.introduction {
    padding: 80px 0;
    background-color: #f8fafc;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #4F46E5;
    margin-bottom: 20px;
    font-weight: 400;
}

.intro-content p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
}

/* Content Sections */
.deity-profiles,
.yokai-guide,
.educational-resources,
.art-library,
.products,
.interactive-features,
.testimonials {
    padding: 80px 0;
    text-align: center;
}

.deity-profiles {
    background-color: white;
}

.yokai-guide {
    background-color: #f8fafc;
}

.educational-resources {
    background-color: white;
}

.art-library {
    background-color: #f8fafc;
}

.products {
    background-color: white;
}

.interactive-features {
    background-color: #f8fafc;
}

.testimonials {
    background-color: white;
}

/* Section Headings */
section h2 {
    font-size: 2.5rem;
    color: #DC2626;
    margin-bottom: 50px;
    font-weight: 400;
    text-align: center;
}

/* Content Grids */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.content-card h3 {
    color: #4F46E5;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.content-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Yokai Guide Section */
.yokai-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.yokai-text h3 {
    color: #4F46E5;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.yokai-text p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #374151;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: #DC2626;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.content-image-large {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Educational Resources */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
}

.resource-card h3 {
    color: #4F46E5;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.resource-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Art Library Section */
.art-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.art-text h3 {
    color: #4F46E5;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.art-text p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.art-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.feature h4 {
    color: #DC2626;
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card h3 {
    color: #4F46E5;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.product-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-price {
    color: #DC2626;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-button {
    background: linear-gradient(135deg, #4F46E5 0%, #DC2626 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Interactive Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-card h3 {
    color: #4F46E5;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.avatar-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial blockquote {
    color: #374151;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.testimonial cite {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contacts Section */
.contacts {
    background-color: #f8fafc;
    padding: 80px 0;
    text-align: center;
}

.contacts h2 {
    color: #DC2626;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 400;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-details h3 {
    color: #4F46E5;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-details p {
    color: #64748b;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section:first-child {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-section h4 {
    color: #DC2626;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.85rem;
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    color: #4F46E5;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
}

.form-group input[readonly] {
    background-color: #f9fafb;
    color: #6b7280;
}

.modal-content button[type="submit"] {
    background: linear-gradient(135deg, #4F46E5 0%, #DC2626 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-content button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .yokai-content,
    .art-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .yokai-text h3,
    .art-text h3 {
        font-size: 1.6rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section:first-child {
        min-width: auto;
    }
    
    .footer-section {
        min-width: auto;
    }
}