/* General Styles */
body {
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    /* Use Japanese-inspired font */
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    scroll-behavior: smooth;
}

.container {
    width: 80%;
    max-width: 1200px;
    /* Adjust as needed */
    background-color: #fff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    /* Prevent content overflow */
}

/* Header Styles */
header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
    /* Ensure header is above other elements */
    background-color: #fff;
}

.logo-container {
    animation: fadeIn 2s ease-in-out;
    display: flex;
    justify-content: center;
}

.logo {
    width: 150px;
    /* Adjust logo size */
    height: auto;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.main-nav {
    margin-top: 20px;
    width: 100%;
    position: relative;
}

.main-nav::after,
.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 2;
}

.main-nav::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.main-nav::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.menu-list {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.menu-list li {
    flex-shrink: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.menu-list::-webkit-scrollbar {
    display: none;
}

.menu-list li a {
    text-decoration: none;
    color: #424242;
    font-size: 1.1em;
    transition: all 0.3s ease-in-out;
    position: relative;
    padding-bottom: 5px;
    font-weight: 600;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.menu-list li a:hover {
    color: #B71C1C;
}

.menu-list li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #B71C1C;
    transition: width 0.3s ease-in-out;
}

.menu-list li a:hover::before {
    width: 100%;
}

/* Intro Section Styles */
.intro {
    padding: 40px 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='50%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%23D5D5D5'/%3E%3Cstop offset='100%25' stop-color='%23FFFFFF'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1200' height='800' fill='url(%23g)'/%3E%3C/svg%3E") center / cover no-repeat;
    text-align: center;
}

.main-heading {
    font-size: 2.8em;
    color: #B71C1C;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-family: "Times New Roman", serif;
}

.intro-text {
    font-size: 1.2em;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin: 0 auto 30px;
    font-family: "Arial", sans-serif;
}

/* Section Styles */
.section-heading {
    font-size: 2.2em;
    color: #B71C1C;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    font-family: "Georgia", serif;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #B71C1C;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
    /* Allow content to wrap */
}

.text-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
    font-family: "Arial", sans-serif;
}

.text-content p {
    margin-bottom: 20px;
}

.image-group {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.responsive-image {
    max-width: 48%;
    /* Adjust image size */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.responsive-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-group-1 {
    animation: slideInRight 1.5s ease-out forwards;
}

.image-group-2 {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-3 {
    animation: slideInRight 1.5s ease-out forwards;
}

.image-group-4 {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-5 {
    animation: slideInRight 1.5s ease-out forwards;
}

.image-group-6 {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-1 .responsive-image:nth-child(1) {
    animation: slideInLeft 1s ease-out forwards;
}

.image-group-1 .responsive-image:nth-child(2) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-1 .responsive-image:nth-child(3) {
    animation: slideInLeft 1s ease-out forwards;
}

.image-group-2 .responsive-image:nth-child(1) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-2 .responsive-image:nth-child(2) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-2 .responsive-image:nth-child(3) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-2 .responsive-image:nth-child(4) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-3 .responsive-image:nth-child(1) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-3 .responsive-image:nth-child(2) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-3 .responsive-image:nth-child(3) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-3 .responsive-image:nth-child(4) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-3 .responsive-image:nth-child(5) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-4 .responsive-image:nth-child(1) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-4 .responsive-image:nth-child(2) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-4 .responsive-image:nth-child(3) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-4 .responsive-image:nth-child(4) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-4 .responsive-image:nth-child(5) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-4 .responsive-image:nth-child(6) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-5 .responsive-image:nth-child(1) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-5 .responsive-image:nth-child(2) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-5 .responsive-image:nth-child(3) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-5 .responsive-image:nth-child(4) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-5 .responsive-image:nth-child(5) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-5 .responsive-image:nth-child(6) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-6 .responsive-image:nth-child(1) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-6 .responsive-image:nth-child(2) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

.image-group-6 .responsive-image:nth-child(3) {
    animation: slideInLeft 1.5s ease-out forwards;
}

.image-group-6 .responsive-image:nth-child(4) {
    animation: fadeIn 1.5s ease-out 0.5s forwards, slideInRight 1.5s ease-out forwards;
}

/* SEO Dofollow Links */
.seo-dofollow {
    color: #B71C1C;
    /* Main brand color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
    position: relative;
    border-bottom: 1px dotted #B71C1C;
}

.seo-dofollow:hover {
    color: #880E4F;
    border-bottom: 1px solid #880E4F;
    text-decoration: none;
}

/* Contact Section Styles */
.contact {
    padding: 40px 20px;
    background-color: #f5f5f5;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.4s ease-in-out;
}

.contact:hover {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.contact h2 {
    font-size: 2em;
    color: #B71C1C;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: "Georgia", serif;
}

.contact p {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.1em;
    line-height: 1.6;
    font-family: "Arial", sans-serif;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    font-family: "Arial", sans-serif;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact input[type="email"]:focus,
.contact textarea:focus {
    border-color: #B71C1C;
    box-shadow: 0 0 5px rgba(183, 28, 28, 0.5);
    outline: none;
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}

.contact .contact-link {
    background-color: #B71C1C;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-family: "Arial", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact .contact-link:hover {
    background-color: #880E4F;
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    margin-top: 20px;
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-size: 0.9em;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #B71C1C;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    font-weight: 600;
}

footer a:hover {
    color: #D4AF37;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    .main-heading {
        font-size: 2.2em;
    }

    .intro-text {
        font-size: 1em;
    }

    .section-heading {
        font-size: 1.8em;
    }

    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .text-content {
        text-align: center;
    }

    .responsive-image {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .contact input[type="email"],
    .contact textarea {
        font-size: 0.9em;
    }

    .contact .contact-link {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2em;
    }

    .intro-text {
        font-size: 0.9em;
    }

    .section-heading {
        font-size: 1.6em;
    }

    .menu-list li a {
        font-size: 1em;
    }

    .contact h2 {
        font-size: 1.6em;
    }

    .contact p {
        font-size: 0.9em;
    }
}