/* Add styles here */
:root {
    --primary-color: #ff6347;
    --secondary-color: #20B2AA;
    --text-color: #333;
    --bg-color: #fff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: none;
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for bottom navbar */
    
}

.cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 99, 71, 0.6);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-shadow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 99, 71, 0.2);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
}

.container-fluid {
    padding: 0;
}

.main-content {
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar {
    padding: 1.5rem 2rem;
}

/* Slim hamburger button */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0;
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    transform: translateY(-8px);
}

.navbar-toggler-icon::after {
    transform: translateY(8px);
}

/* Offcanvas styles */
.offcanvas {
    width: 280px;
    background-color: #f8f9fa;
    border-left: 1px solid rgba(0,0,0,0.1);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.offcanvas-body .nav-link {
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.hero {
    margin-top: 2rem;
    padding: 2rem 0;
}

.japanese-text {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.social-link:hover:after {
    width: 100%;
}

.border-accent {
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--secondary-color);
}

/* Bottom navbar */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-text {
    font-weight: 500;
    margin: 0;
}

.donate-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 99, 71, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 99, 71, 0.4);
}

/* Custom Alert */
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-alert.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.alert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.alert-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.alert-message {
    margin-bottom: 1.5rem;
    color: #666;
}

.alert-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.alert-button:hover {
    background-color: #e05a40;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive styles */
@media (max-width: 767.98px) {
    .hero {
        text-align: center;
    }

    .tagline {
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .main-content {
        padding: 1.5rem;
    }

    .japanese-text {
        font-size: 1.75rem;
    }

    .name {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1.1rem;
    }
}

/* Typing animation */
.typed-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Hero image responsive styles */
.mobile-hero-img {
    max-width: 200px; /* Smaller size for mobile */
    margin: 0 auto;
}

.desktop-hero-img {
    max-width: 100%;
    transition: all 0.3s ease;
}

/* Optional hover effect for desktop */
.desktop-hero-img:hover {
    transform: translateY(-5px);
}

/* Adjust spacing based on screen size */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablet specific adjustments */
    .hero {
        padding: 1rem 0;
    }
}

@media (min-width: 992px) {
    /* Desktop specific adjustments */
    .hero {
        padding: 2rem 0;
    }
}