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

:root {
    --primary-color: #E74C3C;
    --secondary-color: #2D3E50;
    --accent-color: #F39C12;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --text-white: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #2D3E50;
    --border-color: #E9ECEF;
    --shadow: 0 2px 20px rgba(45, 62, 80, 0.1);
    --shadow-hover: 0 4px 30px rgba(45, 62, 80, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-large: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section centering */
.section-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-center .service-content,
.section-center .tours-content {
    text-align: left;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #C0392B);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: #34495E;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Header */
.header {
    padding: 1rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Noto Sans JP', sans-serif;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #F0F4F8 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23E74C3C" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
}

.service-image, .tours-image {
    position: relative;
}

.service-main-image, .tours-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, var(--bg-light), #E9ECEF);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    min-height: 300px;
}

.image-placeholder.small {
    min-height: 200px;
    font-size: 0.9rem;
}

/* Festival and Product Images */
.festival-image, .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Featured Festivals */
.featured-festivals {
    padding: 5rem 0;
    background: var(--bg-white);
}

.festivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.festival-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.festival-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.festival-card h3 {
    margin: 1rem 0 0.5rem 0;
    color: var(--secondary-color);
}

.festival-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.season-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.season-tag.spring { background: #E8F5E8; color: #27AE60; }
.season-tag.summer { background: #FFF3CD; color: #F39C12; }
.season-tag.autumn { background: #FCE4EC; color: #E91E63; }
.season-tag.winter { background: #E3F2FD; color: #2196F3; }

/* Kimono Rental & Local Tours */
.kimono-rental, .local-tours {
    padding: 5rem 0;
}

.kimono-rental {
    background: var(--bg-light);
}

.local-tours {
    background: var(--bg-white);
}

.service-content, .tours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tours-features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
}

.feature-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Etiquette Guides */
.etiquette-guides {
    padding: 5rem 0;
    background: var(--bg-white);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.guide-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.guide-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.guide-card p {
    color: var(--text-light);
}

/* Vendor Directory */
.vendor-directory {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.vendor-category {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.vendor-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vendor-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Festival Calendar */
.festival-calendar {
    padding: 5rem 0;
    background: var(--bg-white);
}

.calendar-preview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calendar-months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.month-card {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-large);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.month-card.active,
.month-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-white);
}

.month-card h4 {
    margin-bottom: 0.5rem;
}

.events-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

.calendar-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.calendar-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.calendar-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Products */
.products {
    padding: 5rem 0;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card h3 {
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem 0;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

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

/* Membership */
.membership {
    padding: 5rem 0;
    background: var(--bg-white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.plan-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.plan-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    stroke: var(--text-white);
}

.contact-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
    flex-shrink: 0;
}

.footer-brand .logo-section {
    margin-bottom: 1rem;
}

.footer-brand .brand-name {
    color: var(--text-white);
}

.footer-brand p {
    color: #BDC3C7;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    flex: 1;
}

.footer-column h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #BDC3C7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495E;
    color: #95A5A6;
}

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

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

#orderForm input,
#orderForm select,
#orderForm textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

#orderForm input:focus,
#orderForm select:focus,
#orderForm textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Cookie Settings Modal Styles */
.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

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

.cookie-category h3 {
    margin: 0;
    color: var(--secondary-color);
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

input:disabled + .toggle-slider {
    background-color: var(--secondary-color);
    cursor: not-allowed;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 20px rgba(45, 62, 80, 0.1);
    padding: 1.5rem 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: var(--text-white);
}

.cookie-btn-accept:hover {
    background: #C0392B;
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.cookie-btn-decline:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.cookie-btn-settings {
    background: var(--secondary-color);
    color: var(--text-white);
    font-size: 0.8rem;
}

.cookie-btn-settings:hover {
    background: #34495E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content,
    .service-content,
    .tours-content,
    .contact-grid,
    .calendar-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .tours-features {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .calendar-months {
        grid-template-columns: 1fr;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        font-size: 0.9rem;
    }
    
    .cookie-btn-settings {
        font-size: 0.85rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-btn-settings {
        font-size: 0.75rem;
    }
}