/* styles/index.css */

/* --- General Setup & Variables --- */
:root {
    --bg-color: #1c1c1c; /* Dark, warm charcoal */
    --primary-text-color: #ffffff;
    --accent-color: #ff7a00; /* Vibrant Orange */
    --accent-hover-color: #ff9933; /* Lighter Orange */
    --card-bg-color: #282828; /* Slightly lighter charcoal */
    --header-bg-color: rgba(28, 28, 28, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --disabled-opacity: 0.5;
    --font-family: 'Inter', sans-serif;
    --border-radius: 12px;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    overflow-x: hidden;
}

/* --- Header --- */
.header {
    background-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    padding: 2rem;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hidden {
    display: none; 
}

/* --- Desktop Navigation --- */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--primary-text-color);
    text-decoration: none;
    font-weight: 700; /* Bold text */
    font-size: 1.1rem;
    transition: color 0.3s ease;
    background-color: transparent; /* No background */
    padding: 0.5rem;
    border-radius: 8px;
}

.nav-menu a:hover {
    color: var(--accent-color);
}


/* --- Main Container --- */
.container {
    width: 100%;
    max-width: 900px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

/* --- Title --- */
.title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--primary-text-color);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px var(--shadow-color);
}

/* --- Directions Container (Navigation Buttons) --- */
.directions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.direction-btn {
    background-color: var(--card-bg-color);
    color: var(--primary-text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    display: flex; /* Use flexbox for vertical centering */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
    height: 100%; /* Ensure consistent height */
    min-height: 60px; /* Set a minimum height for all buttons */
}

.direction-btn:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.2);
}

.direction-btn:active {
    transform: translateY(-2px);
}

/* --- Disabled State --- */
.direction-btn:disabled,
.direction-btn[disabled] {
    opacity: var(--disabled-opacity);
    cursor: not-allowed;
    background-color: var(--card-bg-color);
    color: var(--primary-text-color);
    transform: none;
    box-shadow: none;
}

.green{
    background-color: rgb(2, 51, 2);
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 600px) {
    .header {
        padding: 1.5rem;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .directions-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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