* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
.logo-container {
    width: fit-content;
    height: 100%;
    text-decoration: none;
}

.navbar {
    background-color: #77bbbb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

textarea{
    resize: vertical;
    max-height: 200px;
}

main {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
}

.intro-section {
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #77bbbb;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
    color: #555;
}

.gallery-section {
    margin-bottom: 4rem;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #77bbbb;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.item-info {
    padding: 1rem;
    background: white;
    color: #555;
    font-style: italic;
}

.comments-section {
    padding: 3rem 0;
}

.comments-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #77bbbb;
    margin-bottom: 2rem;
}

.comments-container {
    margin-bottom: 3rem;
}

.comment {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comment-author {
    font-weight: bold;
    color: #77bbbb;
    margin-bottom: 0.5rem;
}

.comment-text {
    color: #555;
}

.comment-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comment-form h3 {
    color: #77bbbb;
    margin-bottom: 1.5rem;
}

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.comment-form button {
    background-color: #77bbbb;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.comment-form button:hover {
    background-color: #5fa3a3;
}

footer {
    background-color: #77bbbb;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-menu {
        margin-top: 1rem;
    }
    
    .nav-menu li {
        margin: 0 0.5rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* add MODE */

/* Dark mode styles for main page */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e6e6e6;
}

body.dark-mode .intro-content p {
    color: #cccccc;
}

body.dark-mode .gallery-item {
    background: #2d2d2d;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .item-info {
    background: #2d2d2d;
    color: #cccccc;
}

body.dark-mode .comment {
    background: #2d2d2d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-mode .comment-text {
    color: #cccccc;
}

body.dark-mode .comment-form {
    background: #2d2d2d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-mode .comment-form input, 
body.dark-mode .comment-form textarea {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
    color: #e6e6e6;
}

body.dark-mode footer {
    background-color: #2d2d2d;
    color: #cccccc;
}
