/* Layout Styles */
.layout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 2rem;
    background-color: white;
    border-bottom: 1px solid #E5E7EB;
}

/* Logo styling */
.site-brand {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.site-brand > img {
    width: 215px;
        height: 100px;
}

/* Navigation container */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Navigation links */
.nav-link {
    color: #4B5563;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}
        
        .main-nav {
            display: flex;
            gap: 15px;
        }
       
        .login-btn {
            background: #ff9800;
            border-radius: 5px;
        }
        .burger-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }
        .burger-menu div {
            width: 30px;
            height: 4px;
            background: black;
            marging: 0;
        }
        .mobile-nav {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 60px;
            right: 20px;
            background: #444;
            padding: 15px;
            border-radius: 8px;
        }
        .mobile-nav a {
            color: #fff;
            text-decoration: none;
            padding: 10px 0;
            display: block;
        }
        @media (max-width: 768px) {
            .main-nav {
                display: none;
            }
            .burger-menu {
                display: flex;
            }
            .mobile-nav.active {
                display: flex;
            }
        }

/* Theme toggle and login */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #4B5563;
}

.login-btn {
    background-color: #3B82F6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer styling */
.layout-footer {
    padding: 4rem 2rem;
    background-color: white;
    border-top: 1px solid #E5E7EB;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.footer-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #6B7280;
    text-decoration: none;
    font-size: 0.875rem;
}

/* Newsletter section */
.newsletter-section {
    color: #6B7280;
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.newsletter-button {
    background-color: #3B82F6;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

.copyright {
    text-align: center;
    color: #6B7280;
    font-size: 0.75rem;
    margin-top: 4rem;
}

/*COMMENTS AREA*/

/* Comments section styling */
.comments-section {
    margin-top: 2rem;
}

.comments-section > h2 {
    padding-bottom:  10px;
}

.community-report-banner {
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comment-form-container {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.challenge-container {
    margin: 1rem 0;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 0.375rem;
}

.math-challenge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.math-challenge input {
    width: 100px;
    padding: 0.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.report-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 1rem 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-time {
    color: #6B7280;
    font-size: 0.875rem;
}

.down-report-badge {
    background: #FEE2E2;
    color: #DC2626;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.error-message {
    background-color: #FEE2E2;
    color: #DC2626;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.success-message {
    background-color: #ECFDF5;
    color: #059669;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

/*SHARE STATUS PAGE*/

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    transform: translate(-50%, 0);
    left: 50%;
    position: absolute;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.share-link {
    display: flex;
    gap: 0.5rem;
}

.share-link input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
}

.social-share {
    display: flex;
    gap: 1rem;
}

.share-button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
}

.share-button.twitter {
    background-color: #1DA1F2;
}

.share-button.facebook {
    background-color: #4267B2;
}

/*GRAFIKON I SIMILAR PAGE*/

/* Response Time Graph */
.response-time-history {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.response-time-history > h2 {
    padding-bottom: 10px;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
}

.response-time-history > ul {
    margin-left: 25px;
    padding: 10px 0;
}

.graph-container {
    height: 400px;
    margin: 1rem 0;
}

/* Similar Websites Section */
.similar-websites-section {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.similar-websites-section > h2, .troubleshooting-section> h2, .comments-section > h2 {
    padding-bottom: 10px;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
}

.similar-websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.similar-site-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: transform 0.2s;
}

.similar-site-card:hover {
    transform: translateY(-2px);
}

.site-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.similar-site-card h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.no-similar {
    text-align: center;
    color: #6B7280;
    padding: 2rem;
}

/* Responsive design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .layout-header {
        gap: 1rem;
        padding: 1rem;
    }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .graph-container {
        height: auto;
    }
}

