/* Main Menu Styling*/

/* Page background */
body {
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Geometric background pattern */
body::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    background: #3b82f6;
    opacity: 0.03;
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

/* Header styling */
header {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    z-index: 1;
}

header h1 {
    color: #0f172a;
    font-size: 3.5em;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: -2px;
}

header p {
    color: #64748b;
    font-size: 1.3em;
    margin: 0;
    font-weight: 400;
}

/* Main content area */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Grid selection container */
.grid-selection {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
}

/* Grid cards*/
.grid-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px 35px;
    min-width: 320px;
    max-width: 380px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cbd5e1;
    transition: background 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

/* David's card accent */
#david-grid::before {
    background: #06b6d4;
}

#david-grid:hover::before {
    background: #0891b2;
}

/* Kevin's card accent */
#kevin-grid::before {
    background: #3b82f6;
}

#kevin-grid:hover::before {
    background: #2563eb;
}

/* Card content */
.grid-card-content {
    position: relative;
    z-index: 1;
}

.grid-card-content h3 {
    margin: 0 0 15px 0;
    font-size: 2em;
    color: #1e293b;
    font-weight: 700;
}

.grid-card-content p {
    margin: 0 0 25px 0;
    line-height: 1.6;
    color: #64748b;
    font-size: 1.1em;
}

/* Grid buttons */
.grid-button {
    background: #0f172a;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    width: 100%;
}

.grid-button:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.grid-button:active {
    transform: translateY(0);
}

/* David's button styling */
#david-grid .grid-button {
    background: #06b6d4;
}

#david-grid .grid-button:hover {
    background: #0891b2;
}

/* Kevin's button styling */
#kevin-grid .grid-button {
    background: #3b82f6;
}

#kevin-grid .grid-button:hover {
    background: #2563eb;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
    font-size: 1em;
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0;
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    
    header p {
        font-size: 1.1em;
    }
    
    .grid-card {
        min-width: 280px;
    }
}

