/* =========================================
   Photo stroll - Home Landing Page Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Noto+Serif+JP:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    --bg-dark: #07070a;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #f59e0b; /* Amber */
    --accent-glow: rgba(245, 158, 11, 0.4);
    --glass-bg: rgba(7, 10, 18, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-sans: 'Outfit', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Noto Serif JP', 'Georgia', serif;
    --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 3rem 1rem;
}

/* Background Sky Image with Overlay */
.bg-sky {
    position: fixed;
    inset: 0;
    background-image: url('img/main-back01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    animation: zoomBg 20s infinite alternate ease-in-out;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(7, 10, 18, 0.1) 0%, rgba(7, 10, 18, 0.7) 100%);
    z-index: -1;
}

/* Load Animations */
@keyframes zoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Main Container */
.container {
    width: 100%;
    max-width: 960px;
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hub Header Section */
.hub-header {
    margin-bottom: 3rem;
    max-width: 680px;
}

/* Brand Logo / Title */
.brand-title {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    margin-bottom: 0.3rem;
}

.brand-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--accent);
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--accent-glow);
    margin-left: 0.4em; /* Center correction for letter-spacing */
}

/* Description */
.description {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

/* Projects Grid */
.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-bottom: 4rem;
    text-align: left;
}

/* Project Card */
.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    transition: var(--transition-premium);
    height: 100%;
    width: 100%;
    max-width: 440px;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
}

/* Coming Soon Card */
.coming-soon-card {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(7, 10, 18, 0.2);
    opacity: 0.65;
}

.coming-soon-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Project Tag */
.project-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.active-tag {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.25);
    text-shadow: 0 0 10px var(--accent-glow);
}

.placeholder-tag {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card Typography */
.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.project-desc {
    font-size: 0.88rem;
    color: #cbd5e1;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

/* Project Actions */
.project-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition-premium);
    cursor: pointer;
    box-sizing: border-box;
    letter-spacing: 0.05em;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
    color: #070a12;
    box-shadow: 
        0 4px 15px rgba(255, 255, 255, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 255, 255, 0.12),
        0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

/* Secondary Button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Disabled Button */
.btn-disabled {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
}

/* Footer style */
.footer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 0.8s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 2rem 1rem;
    }

    .brand-title {
        font-size: 2.8rem;
    }
    
    .brand-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .description {
        font-size: 0.88rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 2.5rem 1.8rem;
        border-radius: 20px;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
}
