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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #2d3748;
    background-color: #fdfcfb;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 58, 138, 0.85) 100%);
    position: relative;
    padding: 20px 0;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgIDwvcGF0dGVybj4KICA8L2RlZnM+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIgLz4KPC9zdmc+') repeat;
    opacity: 0.3;
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
}

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

.logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.brand-text {
    color: white;
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
}

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

.brand-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxwYXR0ZXJuIGlkPSJ3YXNoaSIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMSIgZmlsbD0icmdiYSgzMCwgNTgsIDEzOCwgMC4wNSkiLz4KICAgICAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjAuNSIgZmlsbD0icmdiYSgyMjAsIDM4LCAzOCwgMC4wNSkiLz4KICAgICAgPGNpcmNsZSBjeD0iNDAiIGN5PSI0MCIgcj0iMC41IiBmaWxsPSJyZ2JhKDIyMCwgMzgsIDM4LCAwLjA1KSIvPgogICAgPC9wYXR0ZXJuPgogIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3dhc2hpKSIgLz4KPC9zdmc+') repeat;
    opacity: 0.7;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
    align-items: center;
    min-height: 500px;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.feature-icon {
    font-size: 1.4rem;
}

.cta-button {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    font-family: 'Noto Sans JP', sans-serif;
}

.cta-button:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.02em;
}

.section-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* About Section */
.about {
    text-align: center;
}

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

/* Services Grid */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.service-image {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.service-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.service-card p {
    color: #4a5568;
    line-height: 1.8;
}

/* Kumano Kodo Section */
.kumano-kodo {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(30, 58, 138, 0.02) 100%);
}

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

.route-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.route-info h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 24px;
}

.route-info p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 2;
    margin-bottom: 30px;
}

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

.route-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    color: #2d3748;
    font-weight: 500;
}

.route-list li:before {
    content: "⛩️";
    margin-right: 12px;
}

/* Shrines & Temples */
.temples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.temple-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.temple-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.temple-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a8a;
    padding: 20px 24px 12px;
}

.temple-card p {
    color: #4a5568;
    padding: 0 24px 24px;
    line-height: 1.7;
}

/* Local Guides */
.local-guides {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(220, 38, 38, 0.02) 100%);
}

.guides-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.guide-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

/* Products Section */
.products {
    background: linear-gradient(135deg, #fefefe 0%, #f9fafb 100%);
}

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

.product-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
    text-align: center;
}

.product-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.product-description {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 24px;
}

.product-button {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

.product-button:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(30, 58, 138, 0.01) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #dc2626;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card cite {
    color: #1e3a8a;
    font-weight: 500;
    font-style: normal;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

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

.contact-item {
    text-align: center;
    font-size: 1.1rem;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #e2e8f0;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-brand {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links-section {
    display: flex;
    gap: 40px;
}

.footer-column h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* 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: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.close:hover {
    color: #1f2937;
}

.order-form h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

.submit-button:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        min-height: auto;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .route-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .guides-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links-section {
        justify-content: center;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-description {
        max-width: none;
        text-align: center;
    }
    
    .footer-main {
        align-items: center;
        text-align: center;
    }
    
    .service-image {
        height: 150px;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .footer-links-section {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}