/* =========================================
   Reset & Base Styles
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette */
    --clr-bg-dark: #0f171e;
    --clr-bg-light: #18222b;
    --clr-primary: #d4af37;
    /* Gold */
    --clr-primary-dark: #aa8c2c;
    --clr-text: #f0f4f8;
    --clr-text-muted: #a0aec0;
    --clr-accent-green: #2c5545;
    /* Forest Green */

    /* Typography */
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Zen Kaku Gothic New', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;

}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding);
}

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

.text-gradient {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 23, 30, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span {
    font-size: 0.9rem;
    color: var(--clr-text);
    font-weight: 400;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--clr-text);
    transition: var(--transition);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Create an abstract premium background since we don't have images yet */
    background: radial-gradient(circle at 70% 30%, #2c5545 0%, #0f171e 60%);
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>');
    z-index: -1;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    z-index: 10;
}

.hero-catch {
    font-size: 1.2rem;
    color: var(--clr-primary);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.1em;
    max-width: 500px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--clr-primary);
    animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDrop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(300%);
    }
}

/* =========================================
   Section Headers
   ========================================= */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-primary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--clr-text);
    position: relative;
    display: inline-block;
}

.section-desc {
    color: var(--clr-text-muted);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* =========================================
   About Section
   ========================================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

.about-text p:first-of-type {
    font-size: 1.4rem;
    color: var(--clr-text);
    font-weight: 500;
    font-family: var(--font-heading);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--clr-primary);
    z-index: 0;
}

.abstract-bg {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--clr-bg-light) 0%, #1c2b36 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.abstract-bg::after {
    content: '和水';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
}

/* =========================================
   Gods Section
   ========================================= */
.gods {
    background-color: var(--clr-bg-light);
}

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

.god-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.god-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.god-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.god-card:hover::before {
    opacity: 1;
}

.god-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.god-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.god-card:hover .god-image {
    transform: scale(1.05);
}

.god-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
    position: relative;
    z-index: 2;
}

.god-shrine {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.god-desc {
    font-size: 0.95rem;
    color: var(--clr-text);
    position: relative;
    z-index: 2;
}

/* =========================================
   Route Section
   ========================================= */
.route-container {
    max-width: 900px;
    margin: 0 auto;
}

.route-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.route-card {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    gap: 2rem;
    align-items: center;
    transition: var(--transition);
}

.route-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.route-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(15, 23, 30, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.route-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.route-time {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--clr-accent-green);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.route-info p {
    color: var(--clr-text-muted);
}

.route-attention {
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--clr-primary);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    display: flex;
    gap: 1.5rem;
}

.attention-icon {
    font-size: 2rem;
}

.attention-title {
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.attention-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* =========================================
   Spots Section
   ========================================= */
.spots {
    background-color: var(--clr-bg-light);
}

.spots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.spot-card {
    background: var(--clr-bg-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

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

.spot-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.spot-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spot-content {
    padding: 2rem;
}

.spot-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.spot-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Map Section
   ========================================= */
.map-wrapper {
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* For glassmorphism feeling before map loads */
    background: rgba(255, 255, 255, 0.02);
}

.map-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: #0a1015;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-text);
}

.footer-copy {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }

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

    .route-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .route-attention {
        flex-direction: column;
        gap: 1rem;
        border-radius: 12px;
        border-left: none;
        border-top: 4px solid var(--clr-primary);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    .map-actions {
        flex-direction: column;
    }
}