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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    color: #333;
    background-color: #FEFEFE;
}

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

/* Header Styles */
.header {
    background-color: #FFF;
    padding: 24px 0;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo svg {
    display: block;
}

.brand-name h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2D5016;
    margin-bottom: 4px;
    line-height: 1.2;
}

.brand-name h1 a {
    color: inherit;
    text-decoration: none;
}

.brand-name p {
    font-size: 14px;
    color: #8B4513;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F4F9F0 0%, #E8F5E8 100%);
    padding: 60px 0 80px;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2D5016;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: #555;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
}

/* Section Base Styles */
section {
    padding: 80px 0;
}

section h3 {
    font-size: 36px;
    font-weight: 700;
    color: #2D5016;
    margin-bottom: 48px;
    text-align: center;
    line-height: 1.2;
}

section h4 {
    font-size: 24px;
    font-weight: 600;
    color: #2D5016;
    margin-bottom: 16px;
    line-height: 1.2;
}

section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Introduction Section */
.introduction {
    background-color: #FFF;
    text-align: center;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 48px;
}

.intro-card {
    text-align: center;
    padding: 40px 24px;
    background: #F9FDF6;
    border-radius: 16px;
    border: 1px solid #E8F5E8;
}

.intro-card .icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.intro-card h4 {
    margin-bottom: 16px;
    color: #2D5016;
}

.intro-card p {
    color: #666;
    margin: 0;
}

/* Nijushi Sekki Section */
.nijushi-sekki {
    background: linear-gradient(135deg, #F9FDF6 0%, #F4F9F0 100%);
    text-align: center;
}

.sekki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.sekki-card {
    background: #FFF;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.08);
    text-align: center;
    border: 1px solid #E8F5E8;
}

.season-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.sekki-card h4 {
    color: #2D5016;
    margin-bottom: 12px;
}

.sekki-card p {
    color: #666;
    margin-bottom: 24px;
    font-size: 14px;
}

/* Shichijuni Kou Section */
.shichijuni-kou {
    background-color: #FFF;
    text-align: center;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 18px;
    color: #555;
}

.kou-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.kou-card {
    background: #F4F9F0;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #E8F5E8;
}

.kou-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.kou-card h4 {
    color: #2D5016;
    margin-bottom: 12px;
    font-size: 20px;
}

.kou-card p {
    color: #666;
    margin: 0;
}

/* Festivals Section */
.festivals {
    background: linear-gradient(135deg, #F9FDF6 0%, #F4F9F0 100%);
    text-align: center;
}

.festival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.festival-card {
    background: #FFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.08);
    border: 1px solid #E8F5E8;
}

.festival-card h4 {
    padding: 24px 24px 16px;
    color: #2D5016;
    margin-bottom: 8px;
}

.festival-card p {
    padding: 0 24px 24px;
    color: #666;
    margin: 0;
}

/* Lunar Calendar Section */
.lunar-calendar {
    background-color: #FFF;
    text-align: center;
}

.lunar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.lunar-info h4 {
    color: #2D5016;
    margin-bottom: 24px;
}

.lunar-info p {
    color: #666;
    margin-bottom: 32px;
}

.lunar-features {
    list-style: none;
    padding: 0;
}

.lunar-features li {
    padding: 12px 0;
    border-bottom: 1px solid #E8F5E8;
    color: #666;
    font-size: 16px;
}

.lunar-features li:last-child {
    border-bottom: none;
}

/* Seasonal Observances Section */
.seasonal-observances {
    background: linear-gradient(135deg, #F9FDF6 0%, #F4F9F0 100%);
    text-align: center;
}

.observances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.observance-item {
    background: #FFF;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.08);
    border: 1px solid #E8F5E8;
}

.observance-item .icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.observance-item h4 {
    color: #2D5016;
    margin-bottom: 12px;
}

.observance-item p {
    color: #666;
    margin: 0;
}

/* Services Section */
.services {
    background-color: #FFF;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background: #F9FDF6;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #E8F5E8;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.service-card h4 {
    color: #2D5016;
    margin-bottom: 16px;
}

.service-card p {
    color: #666;
    margin-bottom: 32px;
}

/* Service Card Pricing */
.service-price {
    font-size: 18px;
    font-weight: 600;
    color: #F4A900;
    margin-bottom: 24px;
    padding: 12px;
    background: rgba(244, 169, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(244, 169, 0, 0.2);
}

.service-btn {
    display: inline-block;
    background-color: #F4A900;
    color: #FFF;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #F4A900;
}

.service-btn:hover {
    background-color: #E5980A;
    border-color: #E5980A;
}

.service-btn-phone {
    background-color: #2D5016;
    border-color: #2D5016;
}

.service-btn-phone:hover {
    background-color: #3D6526;
    border-color: #3D6526;
}

/* Image Styles */
.sekki-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 16px;
}

.festival-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-top: 0;
}

.lunar-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
}

/* Contacts Section */
.contacts {
    background: linear-gradient(135deg, #2D5016 0%, #3D6526 100%);
    color: #FFF;
}

.contacts h3 {
    color: #FFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-top: 48px;
}

.contact-item {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-item h4 {
    color: #F4A900;
    margin-bottom: 16px;
}

.contact-item p {
    color: #FFF;
    margin: 0;
}

.contact-item a {
    color: #F4A900;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1A2E0D;
    padding: 40px 0;
    color: #FFF;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 600;
    color: #F4A900;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
}

.footer-links a:hover {
    color: #F4A900;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    color: #AAA;
    font-size: 14px;
    margin: 0;
}

/* Placeholder Styles */
.placeholder-box, .image-placeholder {
    background: linear-gradient(135deg, #E8F5E8 0%, #D4E6D4 100%);
    border: 2px dashed #8BC34A;
    border-radius: 12px;
    padding: 64px 32px;
    text-align: center;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin: 24px 0;
}

.image-placeholder.large {
    padding: 120px 32px;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    section h3 {
        font-size: 32px;
    }
    
    .lunar-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 64px 0;
    }
    
    .hero {
        padding: 64px 0;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    section h3 {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .brand-name h1 {
        font-size: 24px;
    }
    
    .intro-grid,
    .sekki-grid,
    .kou-examples,
    .festival-grid,
    .observances-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .brand-name h1 {
        font-size: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    section h3 {
        font-size: 24px;
    }
    
    .intro-card,
    .sekki-card,
    .kou-card,
    .observance-item,
    .service-card {
        padding: 24px 16px;
    }
    
    .contact-item {
        padding: 24px 16px;
    }
}