:root {
    --primary: #82731d;
    --primary-dark:  #1a3c34;
    --reserved: #ffd700;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --light-gray: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* Header */
.header {
    padding: 20px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
}

.header h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    display: flex;
    align-items: center;
    color:  #ffbb00f6;;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


.header h1 span{
    color: white;
}

/* Navigation */
.nav {
    background: var(--dark);
    padding: 10px 0;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Post Content */
.post-container {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.post-header {
    margin-bottom: 30px;
}

.post-title {
    color: var(--primary-dark);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 25px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    line-height: 1.8;
    margin-bottom: 30px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.post-tags .tag {
    background: var(--light-gray);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.post-tags .tag:hover {
    background: var(--primary);
    color: white;
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-list {
    margin-bottom: 30px;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.comment:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-date {
    color: var(--gray);
    font-size: 0.8rem;
}

.comment-content {
    line-height: 1.6;
}

/* Comment Form */
.comment-form {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-radius: 8px 8px 0 0;
}

.footer p {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .post-image {
        height: 300px;
    }

    .post-container,
    .comments-section,
    .comment-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .post-image {
        height: 200px;
    }

    .post-meta {
        gap: 10px;
    }

    .nav-list {
        gap: 3px;
    }

    .nav-link {
        padding: 6px 10px;
    }
}

/* Enhanced Comments Section */
.comments-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.comments-list {
    margin-bottom: 30px;
}

.comment {
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #f9fafb;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.comment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.comment-author i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.comment-date {
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-date i {
    font-size: 0.9rem;
}

.comment-content {
    line-height: 1.7;
    color: var(--dark);
    padding-left: 28px;
    position: relative;
}

.comment-content::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--light-gray);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Enhanced Comment Form */
.comment-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-form .section-title {
    margin-bottom: 20px;
}

.form-intro {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9fafb;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: white;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.2);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.btn i {
    font-size: 0.9rem;
}

.form-note {
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-note i {
    color: var(--secondary);
}

/* Validation Styles */
.form-control.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-control.error+.error-message {
    display: block;
}

/* Success Message */
.success-message {
    background: #10b981;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    display: none;
}

.success-message.show {
    display: flex;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .comment {
        padding: 20px;
    }

    .comment-form {
        padding: 25px;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}