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

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #f5f5f0;
    color: #333;
    line-height: 1.6;
}

a {
    color: #666633;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #006666;
}

a:visited {
    color: #3366CC;
}

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

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 100%;
    height: auto;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 200px 1fr 250px;
    gap: 20px;
    margin-bottom: 30px;
}

/* Sidebars */
.sidebar-left,
.sidebar-right {
    padding: 15px;
}

.sidebar-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.parrot-image {
    display: block;
    margin: 0 auto 20px;
    max-width: 75px;
}

/* Navigation Menu */
.nav-menu {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #006666;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

/* Content Area */
.content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Neologism Card */
.neologism-card {
    background: #CCCC99;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: bolder;
    color: #006666;
    margin-bottom: 20px;
}

/* Typography Classes */
.word {
    font-size: 20px;
    font-weight: 900;
    color: #000066;
    margin: 15px 0 10px;
}

.pronunciation {
    font-size: 13px;
    font-style: italic;
    color: #003333;
    margin: 10px 0;
}

.definition {
    font-size: 15px;
    color: #000033;
    margin: 15px 0;
    line-height: 1.7;
}

.creator {
    font-size: 15px;
    font-weight: bolder;
    color: #006666;
    margin: 10px 0;
}

.origin {
    font-size: 11px;
    color: #006699;
    margin: 8px 0;
}

.date {
    font-size: 14px;
    font-style: oblique;
    color: #999900;
    margin: 8px 0;
}

/* Info Section */
.info-section {
    margin-top: 30px;
}

.info-section h3 {
    margin-top: 25px;
}

.text-center {
    text-align: center;
}

/* Footer */
footer {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-text {
    font-size: 14px;
    font-weight: bold;
    color: #006666;
}

/* Dictionary Page Styles */
.alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.alpha-link {
    font-size: 28px;
    font-weight: bolder;
    color: #006666;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.alpha-link:hover {
    background: #CCCC99;
    transform: scale(1.1);
}

.word-list {
    list-style: none;
    padding: 0;
}

.word-entry {
    background: #f9f9f9;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 4px solid #006666;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.word-entry:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.word-entry .word {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #006666;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(0, 102, 102, 0.1);
    color: #006666;
    border: 2px solid #006666;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgba(0, 102, 102, 0.2);
    border-color: #004444;
    color: #004444;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 102, 0.2);
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar-left,
    .sidebar-right {
        display: none;
    }
    
    .content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .neologism-card {
        padding: 20px;
    }
    
    .word {
        font-size: 18px;
    }
    
    .alpha-link {
        font-size: 22px;
    }
    
    .alpha-nav {
        gap: 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        padding: 10px;
    }
    
    .neologism-card {
        padding: 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .word {
        font-size: 16px;
    }
    
    .definition {
        font-size: 14px;
    }
    
    .alpha-link {
        font-size: 18px;
        padding: 3px 8px;
    }
}
