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

body {
    font-family: 'Yu Gothic', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #FAFAFA;
}

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

/* Header Styles */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.logo {
    margin-right: 20px;
}

.brand-text {
    flex: 1;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #C41E3A;
    margin-bottom: 5px;
}

.brand-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

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

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.hero-image-placeholder {
    background-color: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    padding: 40px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-fallback {
    background-color: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    padding: 40px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.centered-section {
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #C41E3A;
    font-weight: bold;
}

/* About Taiko Section */
.about-taiko {
    background-color: #F8F8F8;
}

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

.content-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.image-placeholder {
    background-color: #E0E0E0;
    border: 2px dashed #999;
    padding: 60px 20px;
    border-radius: 8px;
    text-align: center;
    color: #666;
    font-size: 1rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.content-image,
.training-image,
.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    border-radius: 12px;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.philosophy-item {
    text-align: center;
    padding: 40px 20px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.philosophy-item .icon {
    margin-bottom: 20px;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    color: #C41E3A;
    margin-bottom: 10px;
    font-weight: bold;
}

.philosophy-item p {
    color: #666;
    font-size: 1rem;
}

/* Training Section */
.training {
    background-color: #F8F8F8;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.training-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.training-item h3 {
    font-size: 1.3rem;
    color: #C41E3A;
    margin: 20px;
    font-weight: bold;
}

.training-item p {
    color: #666;
    margin: 0 20px 20px;
}

.training-item .image-placeholder {
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: #E0E0E0;
    color: #999;
}

/* Performances Section */
.performance-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.performance-item {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    border-left: 5px solid #FFD700;
}

.performance-item h3 {
    font-size: 1.4rem;
    color: #C41E3A;
    margin-bottom: 10px;
    font-weight: bold;
}

.performance-item p {
    color: #666;
}

/* Products Section */
.products {
    background-color: #F8F8F8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.product-image-placeholder {
    background-color: #E0E0E0;
    border: 2px dashed #999;
    padding: 40px 20px;
    color: #666;
    font-size: 0.9rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-item h3 {
    font-size: 1.2rem;
    color: #C41E3A;
    margin: 20px 20px 10px;
    font-weight: bold;
}

.product-item p {
    color: #666;
    margin: 0 20px 10px;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFD700;
    margin: 15px 20px;
}

.cta-button {
    background-color: #C41E3A;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 20px;
    width: calc(100% - 40px);
}

.cta-button:hover {
    background-color: #8B0000;
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-item {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #FFD700;
}

.testimonial-item p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-item cite {
    color: #666;
    font-weight: bold;
}

/* Events Section */
.events {
    background-color: #F8F8F8;
}

.events-list {
    display: grid;
    gap: 20px;
}

.event-item {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.event-date {
    background-color: #C41E3A;
    color: white;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    margin-right: 30px;
    min-width: 150px;
    text-align: center;
}

.event-details h3 {
    font-size: 1.3rem;
    color: #C41E3A;
    margin-bottom: 5px;
    font-weight: bold;
}

.event-details p {
    color: #666;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-item {
    text-align: center;
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    color: #C41E3A;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 0;
}

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

.footer-copyright p {
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .content-grid,
    .philosophy-grid,
    .training-grid,
    .performance-list,
    .products-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: auto;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .cookie-modal {
        padding: 10px;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accessibility */
.cta-button:focus,
a:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2C2C2C;
    color: white;
    padding: 24px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    line-height: 1.5;
}

.cookie-policy-link {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-btn.accept {
    background-color: #C41E3A;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #8B0000;
}

.cookie-btn.reject {
    background-color: #666;
    color: white;
}

.cookie-btn.reject:hover {
    background-color: #555;
}

.cookie-btn.customize {
    background-color: #FFD700;
    color: #2C2C2C;
}

.cookie-btn.customize:hover {
    background-color: #E6C200;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 24px;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #2C2C2C;
    font-size: 1.4rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #C41E3A;
}

.cookie-modal-body {
    padding: 0 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-header h4 {
    margin: 0;
    color: #2C2C2C;
    font-size: 1.1rem;
}

.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-category-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}