
:root {
--primary-color: #3A4A41;
--secondary-color: #8E7F67;
--accent-color: #BF9F7E;
--background-color: #F8F4E9;
--text-color: #333333;
--light-text: #666666;
--border-color: #D3C8B6;
--highlight-color: #E6DED1;
--card-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 10px;
}

.site-header {
background: linear-gradient(rgba(58, 74, 65, 0.9), rgba(58, 74, 65, 0.85)), url('https://images.unsplash.com/photo-1518152006812-edab29b069ac?auto=format&fit=crop&q=80');
background-size: cover;
background-position: center;
color: white;
text-align: center;
padding: 5rem 2rem;
position: relative;
margin-bottom: 3rem;
}

.site-branding {
margin-bottom: 2rem;
}

.site-title {
font-size: 2.5rem;
font-weight: 700;
margin: 0;
}

.site-title a {
color: white;
text-decoration: none;
}

.header-content h1 {
font-size: 3.5rem;
color: white;
margin-bottom: 1rem;
letter-spacing: -0.5px;
}

.subtitle {
font-size: 1.2rem;
opacity: 0.9;
max-width: 600px;
margin: 0 auto;
}

.main-navigation {
background-color: rgba(255, 255, 255, 0.95);
position: sticky;
top: 0;
z-index: 1000;
padding: 1rem 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background-color: white;
border-radius: 4px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
min-width: 180px;
z-index: 1001;
padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
display: block;
animation: fadeIn 0.3s ease-out;
}

.dropdown-item {
padding: 8px 20px;
color: var(--text-color);
text-decoration: none;
display: block;
transition: var(--transition);
}

.dropdown-item:hover {
background-color: var(--highlight-color);
color: var(--primary-color);
}

.menu-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 10px;
position: absolute;
right: 20px;
top: 20px;
}

.toggle-icon {
display: block;
width: 25px;
height: 3px;
background-color: white;
margin: 5px 0;
transition: var(--transition);
}

.search-form {
max-width: 600px;
margin: 0 auto 3rem;
position: relative;
}

.search-form input {
width: 100%;
padding: 15px 60px 15px 20px;
border: 2px solid var(--border-color);
border-radius: 50px;
font-size: 1rem;
outline: none;
transition: var(--transition);
background-color: white;
}

.search-form input:focus {
border-color: var(--accent-color);
box-shadow: 0 0 0 3px rgba(191, 159, 126, 0.1);
}

.search-form button {
position: absolute;
right: 5px;
top: 50%;
transform: translateY(-50%);
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 50%;
padding: 10px 15px;
cursor: pointer;
transition: var(--transition);
}

.search-form button:hover {
background-color: var(--accent-color);
transform: translateY(-50%) scale(1.05);
}

.alphabet-buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
}

.alphabet-btn {
background-color: var(--background-color);
border: 1px solid var(--border-color);
color: var(--primary-color);
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
transition: var(--transition);
}

.alphabet-btn:hover, .alphabet-btn:focus {
background-color: var(--accent-color);
color: white;
border-color: var(--accent-color);
transform: translateY(-2px);
}

.intro-section {
background-color: white;
padding: 2.5rem;
border-radius: 8px;
box-shadow: var(--card-shadow);
margin-bottom: 3rem;
position: relative;
overflow: hidden;
}

.intro-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 5px;
height: 100%;
background-color: var(--accent-color);
}

.intro-section h2 {
font-size: 2rem;
margin-top: 0;
}

.intro-section p {
font-size: 1.1rem;
color: var(--text-color);
line-height: 1.7;
}

.symbol-categories-section {
margin-bottom: 3rem;
}

.categories-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}

.symbol-category {
background-color: white;
border-radius: 8px;
padding: 2rem;
text-align: center;
box-shadow: var(--card-shadow);
transition: var(--transition);
position: relative;
overflow: hidden;
}

.symbol-category:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.symbol-category::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
background-color: var(--accent-color);
transform: scaleX(0);
transition: var(--transition);
}

.symbol-category:hover::after {
transform: scaleX(1);
}

.category-icon {
width: 80px;
height: 80px;
background-color: var(--highlight-color);
border-radius: 50%;
margin: 0 auto 1.5rem;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}

.category-icon::before {
font-size: 2.5rem;
color: var(--primary-color);
}

.nature-icon::before {
content: '\1F33F';
}

.objects-icon::before {
content: '\1F50C'; 
}

.characters-icon::before {
content: '\1F468'; 
}

.actions-icon::before {
content: '\1F680';
}

.symbol-category h3 {
font-size: 1.4rem;
margin-bottom: 0.8rem;
color: var(--primary-color);
}

.symbol-category p {
color: var(--light-text);
font-size: 1rem;
margin-bottom: 0;
}

.symbols-dictionary-section {
background-color: white;
border-radius: 8px;
padding: 2.5rem;
box-shadow: var(--card-shadow);
margin-bottom: 3rem;
}

.symbol-category-content {
margin-bottom: 3rem;
}

.symbol-category-content:last-child {
margin-bottom: 0;
}

.symbol-category-content h3 {
font-size: 1.8rem;
margin-bottom: 2rem;
color: var(--primary-color);
position: relative;
padding-bottom: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}

.symbol-category-content h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background-color: var(--accent-color);
transition: width 0.3s ease;
}

.symbol-category-content:hover h3:after {
width: 100px;
}

@media screen and (max-width: 768px) {
.symbols-grid {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}

.symbol-card {
padding: 15px;
}

.symbols-dictionary-section {
padding: 1.5rem;
margin: 1rem;
border-radius: 12px;
}

.symbol-category-content h3 {
font-size: 1.5rem;
letter-spacing: 0.5px;
}

.symbol-card h4 {
font-size: 1.2rem;
}

.symbol-description {
font-size: 1rem;
}

.symbol-detail {
font-size: 0.95rem;
padding: 10px;
}
}

@media screen and (max-width: 480px) {
.symbols-grid {
grid-template-columns: 1fr;
gap: 15px;
margin-left: -1rem;
margin-right: -1rem;
}

.symbol-card {
padding: 12px;
border-radius: 8px;
margin-left: 1rem;
margin-right: 1rem;
}

.symbol-card h4 {
font-size: 1.2rem;
padding-bottom: 8px;
}

.symbol-detail {
font-size: 0.9rem;
line-height: 1.6;
}

.symbols-dictionary-section {
padding: 1rem;
margin: 0.5rem;
}

.symbol-category-content {
margin-bottom: 2rem;
}

.symbol-category-content h3 {
font-size: 1.3rem;
margin-bottom: 1.5rem;
}

.symbol-category-content h3:after {
width: 30px;
}

.symbol-category-content:hover h3:after {
width: 60px;
}

.symbol-card:hover {
transform: none;
box-shadow: var(--card-shadow);
}

.symbol-card:hover::before {
transform: scaleX(1);
}

.symbol-card:hover .symbol-detail {
color: var(--light-text);
}
}
.symbols-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 25px;
margin-bottom: 2rem;
}

.symbol-card {
background-color: white;
border-radius: 10px;
padding: 20px;
box-shadow: var(--card-shadow);
transition: var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
border: 1px solid var(--border-color);
height: 100%;
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
}

.symbol-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
border-color: var(--accent-color);
}

.symbol-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
transform: scaleX(0);
transition: transform 0.3s ease;
}

.symbol-card:hover::before {
transform: scaleX(1);
}

.symbol-card h4 {
font-size: 1.3rem;
color: var(--primary-color);
margin-bottom: 12px;
padding-bottom: 10px;
border-bottom: 2px solid var(--highlight-color);
font-weight: 600;
letter-spacing: 0.5px;
}

.symbol-description {
flex-grow: 1;
line-height: 1.6;
color: var(--text-color);
margin-bottom: 15px;
font-weight: 500;
font-style: italic;
color: var(--accent-color);
padding: 8px 0;
}

.symbol-detail {
font-size: 0.95rem;
color: var(--light-text);
background-color: var(--background-color);
padding: 12px;
border-radius: 6px;
border-left: 3px solid var(--accent-color);
line-height: 1.7;
transition: color 0.2s ease;
}

.symbol-card:hover .symbol-detail {
color: var(--text-color);
}

.symbol-category-content {
margin-bottom: 3rem;
}

.symbol-category-content:last-child {
margin-bottom: 0;
}

.symbol-category-content h3 {
font-size: 1.8rem;
margin-bottom: 2rem;
color: var(--primary-color);
position: relative;
padding-bottom: 10px;
}

.symbol-category-content h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background-color: var(--accent-color);
}

.symbol-item {
margin-bottom: 2rem;
padding-bottom: 2rem;
border-bottom: 1px solid var(--border-color);
transition: var(--transition);
width: 100%; 
display: block;
}

.symbol-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}

.symbol-item:hover {
transform: translateX(5px);
}

.symbol-item h4 {
font-size: 1.4rem;
color: var(--primary-color);
margin-bottom: 1rem;
display: flex;
align-items: center;
font-weight: 600;
}

.symbol-item h4::before {
content: '•';
color: var(--accent-color);
font-size: 1.5rem;
margin-right: 15px;
font-weight: bold;
line-height: 1;
}

.symbol-meaning {
background-color: var(--background-color);
padding: 1.5rem;
border-radius: 8px;
border-left: 4px solid var(--accent-color);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
transition: var(--transition);
width: 100%;
max-width: 100%;
margin: 0 auto; 
}

.symbol-meaning:hover {
transform: translateX(3px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.symbol-meaning p {
margin-bottom: 0;
line-height: 1.8;
color: var(--text-color);
font-size: 1.02rem;
letter-spacing: 0.2px;
}

.interactive-section {
background-color: white;
border-radius: 8px;
padding: 2.5rem;
box-shadow: var(--card-shadow);
margin-bottom: 3rem;
}

.dream-interpreter {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-top: 2rem;
}

.symbols-selection {
display: flex;
flex-direction: column;
gap: 15px;
}

.symbols-selection label {
font-weight: 600;
color: var(--primary-color);
font-size: 0.9rem;
}

.symbols-selection select {
padding: 12px 15px;
border: 1px solid var(--border-color);
border-radius: 4px;
font-size: 1rem;
outline: none;
transition: var(--transition);
}

.symbols-selection select:focus {
border-color: var(--accent-color);
box-shadow: 0 0 0 3px rgba(191, 159, 126, 0.1);
}

.interpret-btn {
background-color: var(--primary-color);
color: white;
border: none;
padding: 15px;
border-radius: 4px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
margin-top: 10px;
}

.interpret-btn:hover {
background-color: var(--accent-color);
transform: translateY(-2px);
}

.interpretation-result {
background-color: var(--background-color);
padding: 2rem;
border-radius: 8px;
border-left: 4px solid var(--primary-color);
}

.interpretation-result h3 {
font-size: 1.3rem;
margin-bottom: 1rem;
color: var(--primary-color);
}

.interpretation-text {
font-style: italic;
line-height: 1.7;
color: var(--text-color);
}



.contact-link {
color: var(--accent-color);
text-decoration: none;
font-weight: 600;
transition: var(--transition);
}

.contact-link:hover {
text-decoration: underline;
}

.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.6);
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
.header-content h1 {
font-size: 2.5rem;
}

.main-navigation ul {
flex-direction: column;
align-items: center;
}

.main-navigation li {
margin: 5px 0;
}

.categories-grid {
grid-template-columns: 1fr;
}

.dream-interpreter {
grid-template-columns: 1fr;
}

.symbol-categories-section, .intro-section, .symbols-dictionary-section, .interactive-section {
padding: 1.5rem;
}

.menu-toggle {
display: block;
}
}

@media (max-width: 480px) {
.header-content h1 {
font-size: 2rem;
}

.footer-content {
grid-template-columns: 1fr;
}

.alphabet-btn {
width: 35px;
height: 35px;
font-size: 0.9rem;
}
}