/* Komentar Page Specific Styles - The Mystery Of Java Island */

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
                url('../image/ChatGPT%20Image%20Jan%2011,%202026,%2008_03_01%20PM.png') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 26, 10, 0.4), rgba(13, 45, 13, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    animation: slideIn 0.5s ease;
}

.success-message i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Comments Section */
.comments-section {
    padding: 100px 0;
    background: linear-gradient(to right, #ffffff 60%, #e8f5e6 100%);
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(22, 160, 133, 0.1);
}

.section-subtitle {
    color: #5d6d7e;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Comments Container */
.comments-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Comment Card */
.comment-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15);
    border-color: #16a085;
}

/* Comment Header */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #16a085;
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.comment-rating {
    display: flex;
    gap: 3px;
}

.comment-rating i {
    color: #f39c12;
    font-size: 14px;
}

.comment-date {
    color: #5d6d7e;
    font-size: 14px;
    font-weight: 500;
}

.comment-date i {
    margin-right: 5px;
    color: #16a085;
}

/* Comment Content */
.comment-content {
    margin-bottom: 25px;
}

.comment-content p {
    color: #5d6d7e;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* Comment Actions */
.comment-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-like,
.btn-reply,
.btn-share {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    color: #5d6d7e;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-like:hover {
    background: #16a085;
    color: white;
    border-color: #16a085;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.3);
}

.btn-reply:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-share:hover {
    background: #9b59b6;
    color: white;
    border-color: #9b59b6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.like-count {
    font-weight: 600;
    margin-left: 3px;
}

/* Comment Form Section */
.comment-form-section {
    padding: 80px 0;
    background: linear-gradient(to right, #e8f5e6 60%, #ffffff 100%);
}

.comment-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
}

.form-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.form-subtitle {
    color: #5d6d7e;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a085;
    background: white;
    box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.1);
}

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

.btn-submit {
    background: linear-gradient(135deg, #16a085, #1abc9c);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.3);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 160, 133, 0.4);
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

/* No Comments */
.no-comments {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
    margin-bottom: 60px;
}

.no-comments i {
    font-size: 4rem;
    color: #16a085;
    margin-bottom: 20px;
}

.no-comments h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.no-comments p {
    color: #5d6d7e;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background: rgba(76, 175, 80, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
}

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

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

/* Loading Spinner */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #16a085;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .comments-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .comment-card {
        padding: 25px 20px;
    }
    
    .comment-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .comment-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .comment-form-section {
        padding: 60px 0;
    }
    
    .comment-form-wrapper {
        padding: 30px 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(10, 26, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .comment-card {
        padding: 20px 15px;
    }
    
    .comment-form-wrapper {
        padding: 25px 15px;
    }
    
    .btn-like,
    .btn-reply,
    .btn-share {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* Enhanced Mobile Responsive */
    .hero-section {
        height: 100vh;
        min-height: 600px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
    
    .hero-content {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
        margin-bottom: 20px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 4vw, 1rem);
        margin-bottom: 30px;
        padding: 0 5px;
    }
}
