/* DAP Central Website Styles */

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Box Shadow Styles - Applied to all major content boxes */
.hero, .discord-invite, .connection-info, .about, .feature, .connection-option {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 10; /* Higher z-index so boxes appear above Crow */
}

.hero:hover, .discord-invite:hover, .connection-info:hover, .about:hover, .feature:hover, .connection-option:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0066cc;
}

/* Main Content Styles */
main {
    padding: 40px 0;
}

.hero {
    padding: 40px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    background-color: white;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-logo {
    margin-right: 30px;
}

.hero-logo img {
    max-width: 150px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.hero-text {
    text-align: left;
}

/* Add responsive behavior for small screens */
@media (max-width: 600px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .hero-text {
        text-align: center;
    }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0066cc;
}

.hero .tagline {
    font-size: 1.2rem;
    color: #666;
}

/* Discord Invite Section */
.discord-invite {
    background-color: #7289DA;
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.discord-invite h2 {
    margin-bottom: 20px;
}

.discord-button {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background-color: white;
    color: #7289DA;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.note {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Connection Info Section */
.connection-info {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.connection-info h2 {
    margin-bottom: 20px;
    color: #0066cc;
    text-align: center;
}

.connection-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.connection-option {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    margin: 10px;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.connection-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.connection-option h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

.connection-detail {
    margin: 5px 0;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about h2 {
    margin-bottom: 20px;
    color: #0066cc;
}

.about-history {
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-left: 4px solid #0066cc;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s ease;
}

.about-history:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-history h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

.about-history p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-history p:last-child {
    margin-bottom: 0;
}

.features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    margin: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature h3 {
    color: #0066cc;
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e1e1e1;
    margin-top: 40px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    .features {
        flex-direction: column;
    }
}
/* Crow T. Robot Animation */
.crow-container {
    position: fixed;
    z-index: 1; /* Lower z-index so Crow appears behind boxes */
    pointer-events: none; /* Makes the crow non-interactive so it doesn't interfere with clicking */
    opacity: 0;
    transition: opacity 0.5s ease; /* Slightly slower fade for smoother appearance/disappearance */
}

.crow {
    width: 100px;
    height: 150px;
    background-image: url('../images/crow-t-robot.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.5));
}
