:root {
    --primary-color: #3B82F6;
    --secondary-color: #60A5FA;
}

/* Custom styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Travel Card Styles */
.travel-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Game Container Styles */
.game-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.travel-card img {
    object-fit: cover;
    width: 100%;
    height: 400px;
}

.travel-date {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: 0.5rem;
}

.travel-location {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
}

.travel-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Smooth scrolling for anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Responsive navigation */
@media (max-width: 768px) {
    .hidden {
        display: block !important;
    }
    
    nav {
        padding: 1rem;
    }
    
    nav .container {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Dark mode styles */
.dark {
    --primary-color: #1E40AF;
    --secondary-color: #3B82F6;
}

.dark body {
    background-color: #111827;
    color: #F9FAFB;
}

.dark nav {
    background-color: #1F2937;
}

.dark .bg-white {
    background-color: #1F2937;
    color: #F9FAFB;
}

/* Form fields visibility in dark mode */
.dark input,
.dark select,
.dark textarea {
    background-color: #111827; /* gray-900 */
    color: #F9FAFB; /* gray-50 */
    border-color: #374151; /* gray-700 */
}
.dark input::placeholder,
.dark textarea::placeholder {
    color: #9CA3AF; /* gray-400 */
}

.dark .text-gray-700 {
    color: #D1D5DB;
}

.dark .text-blue-600 {
    color: #60A5FA;
}

.dark .bg-blue-100 {
    background-color: #1E3A8A;
    color: #BFDBFE;
}

.dark footer {
    background-color: #1F2937;
}

.dark .travel-date {
    background: rgba(255, 255, 255, 0.1);
}

.dark .travel-description {
    color: #9CA3AF;
}

#theme-toggle {
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero landing section */
.hero {
    position: relative;
    min-height: calc(100vh - 64px);
}

.hex-three {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hex-three canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.hex-grid {
    position: absolute;
    inset: 0;
    background-color: #0b1220;
    overflow: hidden;
    z-index: 0;
    opacity: 0.85;
    will-change: transform, opacity;
    animation: gridPulse 6s ease-in-out infinite;
    /* Hex grid using layered gradients */
    background-image:
        linear-gradient(30deg, rgba(59,130,246,0.18) 12%, transparent 12.5%, transparent 87%, rgba(59,130,246,0.18) 87.5%),
        linear-gradient(150deg, rgba(59,130,246,0.18) 12%, transparent 12.5%, transparent 87%, rgba(59,130,246,0.18) 87.5%),
        linear-gradient(90deg, rgba(59,130,246,0.25) 2%, transparent 2.5%, transparent 97%, rgba(59,130,246,0.25) 97.5%);
    background-size: 60px 104px, 60px 104px, 60px 104px;
    background-position: 0 0, 30px 52px, 0 0;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.01); }
}

.bottom-cta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.25rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    z-index: 20;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    background-color: #2563EB; /* blue-600 */
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.35);
    background-color: #1D4ED8; /* blue-700 */
}

@media (max-width: 640px) {
    .bottom-cta { gap: 0.5rem; }
    .cta-btn { padding: 0.6rem 1rem; font-size: 0.95rem; }
}

/* Dark mode adjustments for hero */
.dark .hex-grid {
    background-color: #0b1120;
    background-image:
        linear-gradient(30deg, rgba(96,165,250,0.16) 12%, transparent 12.5%, transparent 87%, rgba(96,165,250,0.16) 87.5%),
        linear-gradient(150deg, rgba(96,165,250,0.16) 12%, transparent 12.5%, transparent 87%, rgba(96,165,250,0.16) 87.5%),
        linear-gradient(90deg, rgba(96,165,250,0.22) 2%, transparent 2.5%, transparent 97%, rgba(96,165,250,0.22) 97.5%);
}

.dark .cta-btn {
    background-color: #3B82F6; /* blue-500 */
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25);
}

.dark .cta-btn:hover {
    background-color: #2563EB; /* blue-600 */
}
