* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast {
    background-color: #BC002D;
    color: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(188, 0, 45, 0.3);
    margin: 0;
    width: 500px;
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    max-height: 80vh;
    overflow-y: auto;
}

.toast h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.toast p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.toast-map-container {
    width: 100%;
    height: 300px;
    margin: 1rem 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #FFFFFF;
    position: relative;
}

.toast-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.toast-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}



.toast-close {
    background-color: transparent;
    color: #FFFFFF;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin-left: 1rem;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleDown {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.toast.removing {
    animation: scaleDown 0.4s ease-out forwards;
}

/* Color Theme Variants */
.theme-light {
    background-color: #FFFFFF;
    color: #BC002D;
}

.theme-dark {
    background-color: #BC002D;
    color: #FFFFFF;
}

/* Header & Navigation */
header {
    background-color: #BC002D;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 2px;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #000000;
}

/* Hero Section */
.hero {
    background: #000000;
    color: #FFFFFF;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.cta-btn {
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    background-color: #FFFFFF;
    color: #BC002D;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 800px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fade-active {
    display: block !important;
    animation: fadeIn 0.5s, zoomIn 7s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(188, 0, 45, 0.7);
    color: #FFFFFF;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.carousel-btn:hover {
    background-color: rgba(188, 0, 45, 1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #BC002D;
    width: 14px;
    height: 14px;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 1);
}

.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    width: 80%;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
}

.hero-content-overlay h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #FFFFFF;
    border-bottom: 3px solid #BC002D;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #000000;
}

.about p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #333333;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature {
    padding: 2rem;
    background-color: #f9f9f9;
    border-left: 4px solid #BC002D;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #BC002D;
}

.feature p {
    color: #666666;
}

/* Traditions Section */
.traditions {
    padding: 4rem 0;
    background-color: #BC002D;
}

.traditions h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #FFFFFF;
}

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

.tradition-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border: 2px solid #000000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.tradition-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    background-color: #f0f0f0;
}

.tradition-card h3 {
    color: #BC002D;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tradition-card p {
    color: #000000;
}

.wiki-info {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #555555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Architecture Section */
.architecture {
    padding: 4rem 0;
    background-color: #FFFFFF;
    border-top: 3px solid #BC002D;
}

.architecture h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #000000;
}

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

.arch-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-left: 4px solid #BC002D;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.arch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(188, 0, 45, 0.15);
}

.arch-item h3 {
    color: #BC002D;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.arch-item p {
    color: #666666;
    line-height: 1.6;
}

/* Etiquette Section */
.etiquette-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.etiquette-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-left: 4px solid #BC002D;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.etiquette-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(188, 0, 45, 0.15);
}

.etiquette-item h3 {
    color: #BC002D;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.etiquette-item p {
    color: #666666;
    line-height: 1.6;
}

/* Shrines Section */
.shrines-section {
    padding: 4rem 0;
    background-color: #FFFFFF;
    border-top: 3px solid #BC002D;
}

.shrines-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #000000;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #BC002D;
    margin-bottom: 3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.shrines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.shrine-item {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 2rem;
    border: 2px solid #BC002D;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.shrine-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(188, 0, 45, 0.2);
    border-color: #000000;
}

.shrine-item.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #BC002D 0%, #8b0020 100%);
    color: #FFFFFF;
    padding: 2.5rem;
    border: none;
    box-shadow: 0 0 30px rgba(188, 0, 45, 0.8), 0 0 60px rgba(188, 0, 45, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: featuredGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.shrine-item.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes featuredGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(188, 0, 45, 0.8), 0 0 60px rgba(188, 0, 45, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 50px rgba(188, 0, 45, 1), 0 0 80px rgba(188, 0, 45, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.15);
    }
}

@keyframes shimmer {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50px, 50px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.shrine-item.featured h3 {
    color: #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    padding-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(188, 0, 45, 0.4);
    position: relative;
    z-index: 1;
}

.shrine-item.featured p {
    color: #E8E8E8;
    position: relative;
    z-index: 1;
}

.shrine-item.featured .deity {
    color: #FFD700;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8), 0 0 15px rgba(188, 0, 45, 0.5);
    position: relative;
    z-index: 1;
}

.shrine-item h3 {
    color: #BC002D;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #BC002D;
    padding-bottom: 0.5rem;
}

.shrine-item .deity {
    color: #666666;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.shrine-item p {
    color: #555555;
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
    margin: 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .shrines-grid {
        grid-template-columns: 1fr;
    }
    
    .shrine-item.featured {
        grid-column: 1 / -1;
    }

    .shrines-section h2 {
        font-size: 1.8rem;
    }
}

/* Omamori Section */
.omamori {
    padding: 4rem 0;
    background-color: #F7F3F0;
}

.omamori h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #BC002D;
    text-align: center;
}

.omamori .section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.omamori-container {
    display: grid;
    gap: 3rem;
}

.omamori-category {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid #BC002D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.omamori-category h3 {
    font-size: 1.8rem;
    color: #BC002D;
    margin-bottom: 1rem;
}

.omamori-category > p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.omamori-type {
    background-color: #FFFBF8;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #E8DDD8;
    transition: all 0.3s ease;
}

.omamori-type:hover {
    border-color: #BC002D;
    box-shadow: 0 4px 12px rgba(188, 0, 45, 0.15);
    transform: translateY(-4px);
}

.omamori-type h4 {
    font-size: 1.1rem;
    color: #BC002D;
    margin-bottom: 0.8rem;
}

.omamori-type p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.goshuin-detail {
    background-color: #FFFBF8;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #E8DDD8;
    transition: all 0.3s ease;
}

.goshuin-detail:hover {
    border-color: #BC002D;
    box-shadow: 0 4px 12px rgba(188, 0, 45, 0.15);
    transform: translateY(-4px);
}

.goshuin-detail h4 {
    font-size: 1.2rem;
    color: #BC002D;
    margin-bottom: 1rem;
}

.goshuin-detail p {
    color: #555;
    line-height: 1.8;
}

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

.souvenir-item {
    background-color: #FFFBF8;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #E8DDD8;
    transition: all 0.3s ease;
}

.souvenir-item:hover {
    border-color: #BC002D;
    box-shadow: 0 4px 12px rgba(188, 0, 45, 0.15);
    transform: translateY(-4px);
}

.souvenir-item h4 {
    font-size: 1.1rem;
    color: #BC002D;
    margin-bottom: 0.8rem;
}

.souvenir-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.result {
    font-size: 1.2rem;
    color: #BC002D;
    margin-top: 1rem;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #000000;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    min-height: 200px;
    align-items: flex-end;
    border-bottom: 2px solid #BC002D;
}

.contact-left {
    text-align: left;
}

.social-media {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.social-media h3 {
    display: none;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #BC002D;
    border: 2px solid #BC002D;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background-color: #BC002D;
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(188, 0, 45, 0.3);
}

.contact-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form h3 {
    font-size: 1.3rem;
    color: #BC002D;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #000000;
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #BC002D;
}

.submit-btn {
    padding: 1rem;
    background-color: #BC002D;
    color: #FFFFFF;
    border: none;
    border-radius: 2px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

/* Seimei Section */
.seimei-section {
    padding: 6rem 0;
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    min-height: 800px;
}

#smoke-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.seimei-section .container {
    max-width: 1000px;
}

.seimei-header {
    text-align: center;
    margin-bottom: 3rem;
}

.seimei-header h2 {
    font-size: 2.8rem;
    color: #BC002D;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(188, 0, 45, 0.3);
}

.seimei-subtitle {
    font-size: 1.3rem;
    color: #D4AF37;
    font-style: italic;
}

.seimei-content {
    background-color: rgba(12, 8, 3, 0.8);
    border: 2px solid #BC002D;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(188, 0, 45, 0.2);
    position: relative;
    z-index: 2;
}

.seimei-bio {
    margin-bottom: 3rem;
}

.seimei-bio h3 {
    font-size: 1.5rem;
    color: #D4AF37;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.seimei-bio h3:first-child {
    margin-top: 0;
}

.seimei-bio p {
    color: #E0E0E0;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.seimei-abilities h3 {
    font-size: 1.5rem;
    color: #D4AF37;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.ability-card {
    background-color: rgba(188, 0, 45, 0.1);
    border: 2px solid #BC002D;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.ability-card:hover {
    background-color: rgba(188, 0, 45, 0.2);
    border-color: #D4AF37;
    box-shadow: 0 4px 16px rgba(188, 0, 45, 0.3);
    transform: translateY(-4px);
}

.ability-card h4 {
    font-size: 1.2rem;
    color: #D4AF37;
    margin-bottom: 0.8rem;
}

.ability-card p {
    color: #D0D0D0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.seimei-legacy {
    margin-top: 2rem;
    background-color: rgba(212, 175, 55, 0.08);
    border-left: 4px solid #D4AF37;
    padding: 2rem;
    border-radius: 8px;
}

.seimei-legacy h3 {
    font-size: 1.5rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.seimei-legacy p {
    color: #E0E0E0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.fact {
    background-color: rgba(188, 0, 45, 0.15);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #D4AF37;
    color: #E0E0E0;
    font-size: 0.95rem;
}

.fact strong {
    color: #D4AF37;
}

/* Footer */
footer {
    background-color: #E0E0E0;
    color: #BC002D;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    border-top: 3px solid #BC002D;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    color: #BC002D;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #8b0020;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 2rem;
    border-top: 1px solid #BC002D;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-content-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-content-overlay p {
        font-size: 1rem;
    }

    .about h2,
    .traditions h2,
    .contact h2 {
        font-size: 2rem;
    }

    .omamori h2 {
        font-size: 2rem;
    }

    .omamori-types,
    .goshuin-info,
    .souvenir-types {
        grid-template-columns: 1fr;
    }

    .omamori-category {
        padding: 1.5rem;
    }

    .seimei-header h2 {
        font-size: 2rem;
    }

    .seimei-subtitle {
        font-size: 1rem;
    }

    .seimei-content {
        padding: 1.5rem;
    }

    .abilities-grid {
        grid-template-columns: 1fr;
    }

    .seimei-facts {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0 1rem;
    }

    .carousel-btn {
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }

    .carousel {
        height: 500px;
    }

    .carousel-slide {
        height: 500px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
        min-height: auto;
    }

    .social-media {
        align-items: flex-start;
        justify-content: flex-start;
    }


    .social-icons {
        justify-content: flex-start;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero-content-overlay {
        width: 90%;
        padding: 1.5rem;
    }

    .hero-content-overlay h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-content-overlay p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .cta-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .shrines-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .shrine-item {
        padding: 1.5rem;
        min-height: auto;
    }

    .shrine-item h3 {
        font-size: 1.1rem;
    }

    .shrine-item .deity {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 1rem;
    }
}
