/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/* Root Variables */
:root {
    --primary-color: #ff6400;
    --secondary-color: #6b7280;
    --accent-color: #1f2937;
    --background-color: #ffffff;
    --text-color: #1f2937;
    --text-light: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #ff6400 0%, #ff8533 100%);
    --gradient-secondary: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    --gradient-accent: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    overflow-x: hidden;
}

/* Header */
.header {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 0;
}

.header-content {
    max-width: 1200px;
    margin: 1rem auto;
    text-align: center;
    padding: 0 1rem;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Main Content */
.main-content {
    min-height: calc(60vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hexagon Grid */
.hexagon-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.hex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hex-row.offset {
    margin-left: 0;
}

/* Modern Hexagon Styles */
.hexagon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 120px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
}

.hexagon[data-size="large"] {
    width: 180px;
    height: 155px;
}

.hexagon[data-size="medium"] {
    width: 140px;
    height: 120px;
}

/* Hexagon Color Variants */
.hexagon.primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
}

.hexagon.secondary {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow);
}

.hexagon.accent {
    background: var(--gradient-accent);
    box-shadow: var(--shadow);
}

/* Hexagon Hover Effects */
.hexagon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.hexagon.primary:hover {
    background: linear-gradient(135deg, #ff7722 0%, #ff9955 100%);
}

.hexagon.secondary:hover {
    background: linear-gradient(135deg, #7c828d 0%, #a8afba 100%);
}

.hexagon.accent:hover {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

/* Hexagon Links */
.hexagon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hexagon a span {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

/* Large hexagon text */
.hexagon[data-size="large"] a span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Hexagon Hover Text Effect */
.hexagon:hover a span {
    transform: scale(1.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hexagon-grid {
        gap: 1.5rem;
    }
    
    .hex-row {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hex-row.offset {
        margin-left: 0;
    }
    
    .hexagon {
        width: 120px;
        height: 104px;
    }
    
    .hexagon[data-size="large"] {
        width: 150px;
        height: 130px;
    }
    
    .hexagon a span {
        font-size: 0.8rem;
    }
    
    .hexagon[data-size="large"] a span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .hexagon {
        width: 100px;
        height: 87px;
    }
    
    .hexagon[data-size="large"] {
        width: 130px;
        height: 113px;
    }
    
    .hexagon a span {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
}

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

.hexagon {
    animation: fadeInUp 0.6s ease-out;
}

.hexagon:nth-child(1) { animation-delay: 0.1s; }
.hexagon:nth-child(2) { animation-delay: 0.2s; }
.hexagon:nth-child(3) { animation-delay: 0.3s; }
.hexagon:nth-child(4) { animation-delay: 0.4s; }

/* Focus styles for accessibility */
.hexagon:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .hexagon {
        box-shadow: none;
        background: #f0f0f0 !important;
    }
    
    .hexagon a {
        color: #000 !important;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hexagon {
        border: 2px solid #000;
    }
    
    .hexagon a {
        color: #000;
        font-weight: bold;
    }
} 