/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafaf9;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e7e5e4;
    z-index: 1000;
    transition: all 0.3s ease;
}
a:hover {
    color: inherit;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #15803d, #d97706);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1c1917;
    margin: 0;
}

.logo-text p {
    font-size: 0.875rem;
    color: #57534e;
    margin: 0;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #57534e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: #15803d;
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #57534e;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e7e5e4;
}

.nav-link-mobile {
    color: #57534e;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

    .nav-link-mobile:hover {
        color: #15803d;
    }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/images/1234.jpg"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(21, 128, 61, 0.8), rgba(22, 101, 52, 0.6), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-icon {
    font-size: 4rem;
    color: #86efac;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #bbf7d0;
    margin: 0;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #16a34a;
    color: white;
}

    .btn-primary:hover {
        background-color: #15803d;
        transform: translateY(-2px);
    }

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-secondary:hover {
        background: white;
        color: #15803d;
    }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 12px;
    background: white;
    border-radius: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: #57534e;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
    max-width: 80%;
    margin-left: 10%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: #57534e;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e7e5e4;
    text-align: center;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #16a34a;
    font-size: 1.5rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #57534e;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #fafaf9;
    max-width: 80%;
    margin-left: 10%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .product-card:hover {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

.product-image {
    height: 200px;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

    .product-content h3 {
        font-size: 1.5rem;
        font-weight: bold;
        color: #1c1917;
        margin-bottom: 1rem;
    }

    .product-content p {
        color: #57534e;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

.product-tags,
.product-applications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tag-material {
    background: #dcfce7;
    color: #15803d;
}

.tag-application {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
    max-width: 80%;
    margin-left: 10%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e7e5e4;
    transition: all 0.3s ease;
}

    .service-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-color: #86efac;
    }

.service-icon {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 1rem;
}

.service-card p {
    color: #57534e;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

    .service-features li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #57534e;
        font-size: 0.875rem;
    }

        .service-features li::before {
            content: "";
            width: 8px;
            height: 8px;
            background: #16a34a;
            border-radius: 50%;
            flex-shrink: 0;
        }

.stats-section {
    background: linear-gradient(135deg, #f0fdf4, #fef3c7);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

    .stats-section h3 {
        font-size: 2rem;
        font-weight: bold;
        color: #1c1917;
        margin-bottom: 1rem;
    }

    .stats-section p {
        font-size: 1.125rem;
        color: #57534e;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #57534e;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #fafaf9;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #dcfce7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #57534e;
    line-height: 1.6;
}

.contact-details small {
    font-size: 0.875rem;
    color: #78716c;
}

.contact-highlight {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    margin-top: 2rem;
}

    .contact-highlight h4 {
        font-weight: 600;
        color: #15803d;
        margin-bottom: 0.5rem;
    }

    .contact-highlight p {
        color: #166534;
        font-size: 0.875rem;
        line-height: 1.6;
    }

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e7e5e4;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1c1917;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        font-weight: 500;
        color: #374151;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #16a34a;
            box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
        }

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background: #1c1917;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-company {
    max-width: 400px;
    margin-left: 10%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

    .footer-logo i {
        font-size: 2rem;
        color: #86efac;
    }

    .footer-logo h3 {
        font-size: 1.25rem;
        font-weight: bold;
        margin: 0;
    }

    .footer-logo p {
        font-size: 0.875rem;
        color: #a8a29e;
        margin: 0;
    }

.footer-company p {
    color: #a8a29e;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: #292524;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #a8a29e;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: #16a34a;
            color: white;
        }

.footer-links h4,
.footer-products h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

.footer-links li,
.footer-products li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a8a29e;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #86efac;
    }

.footer-products li {
    color: #a8a29e;
}

.footer-bottom {
    border-top: 1px solid #44403c;
    padding-top: 1rem;
    text-align: center;
}

    .footer-bottom p {
        color: #78716c;
        font-size: 0.875rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    .blog-section {
        grid-template-columns: 1fr !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Admin Panel Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Login Page Styles */
.login-body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 30%;
    margin-left: 35%;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.login-header {
    background: linear-gradient(135deg, #15803d, #16a34a);
    padding: 2rem;
    text-align: center;
    color: white;
}


.login-form-container {
    padding: 2.5rem;
}

    .login-form-container h2 {
        font-size: 1.75rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 2rem;
        text-align: center;
    }

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.5rem;
    }

    .form-group input {
        width: 100%;
        padding: 0.875rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f9fafb;
    }

        .form-group input:focus {
            outline: none;
            border-color: #16a34a;
            background: white;
            box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
        }

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal !important;
}

    .checkbox-container input {
        width: auto !important;
        margin: 0;
    }

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
    }

.login-footer {
    background: #f9fafb;
    padding: 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Admin Panel Styles */
.admin-body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    margin: 0;
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .sidebar-header .logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .sidebar-header .logo-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #16a34a, #15803d);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
    }

    .sidebar-header .logo-text h3 {
        font-size: 1.25rem;
        font-weight: bold;
        margin: 0;
    }

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

    .sidebar-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

    .sidebar-nav ul {
        list-style: none;
    }

    .sidebar-nav li {
        margin-bottom: 0.25rem;
    }

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}


    .nav-link.active {
        background: rgba(22, 163, 74, 0.2);
        color: white;
        border-left-color: #16a34a;
    }

    .nav-link i {
        width: 20px;
        text-align: center;
    }

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
    width: 100%;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .logout-btn:hover {
        background: rgba(239, 68, 68, 0.3);
        color: white;
    }

.main-content {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
}

.header-left h1 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-info {
    text-align: right;
}

.admin-name {
    display: block;
    font-weight: 600;
    color: #1f2937;
}

.admin-role {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
}

.profile-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.page-content {
    flex: 1;
    padding: 2rem;
}

.page {
    display: none;
}

    .page.active {
        display: block;
    }

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

    .page-header h2 {
        font-size: 2rem;
        font-weight: bold;
        color: #1f2937;
        margin: 0;
    }

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3);
    }

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

    .btn-secondary:hover {
        background: #e5e7eb;
    }

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-2px);
    }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
}

.stat-info p {
    color: #6b7280;
    margin: 0;
}

/* Blog Form */
.form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-form .form-row {
    margin-bottom: 1.5rem;
}

.blog-form .form-group {
    margin-bottom: 1rem;
}

.blog-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.blog-form input,
.blog-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

    .blog-form input:focus,
    .blog-form textarea:focus {
        outline: none;
        border-color: #16a34a;
    }

/* File Upload */
.file-upload {
    position: relative;
}

    .file-upload input[type="file"] {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

.file-upload-display {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

.file-upload:hover .file-upload-display {
    border-color: #16a34a;
    background: #f0fdf4;
}

.file-upload-display i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.image-preview {
    position: relative;
    display: inline-block;
}

    .image-preview img {
        max-width: 200px;
        max-height: 150px;
        border-radius: 8px;
    }

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rich Editor */
.editor-toolbar {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.editor-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

    .editor-btn:hover {
        background: #e5e7eb;
        color: #374151;
    }

    .editor-btn.active {
        background: #16a34a;
        color: white;
    }

.toolbar-separator {
    width: 1px;
    background: #d1d5db;
    margin: 0 0.5rem;
}

.editor-container {
    position: relative;
}

.rich-editor {
    min-height: 200px;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    outline: none;
    line-height: 1.6;
}

    .rich-editor:focus {
        border-color: #16a34a;
    }

    .rich-editor[data-placeholder]:empty::before {
        content: attr(data-placeholder);
        color: #9ca3af;
        pointer-events: none;
    }

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Blog Table */
.blog-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
}

    .blog-table th,
    .blog-table td {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid #e5e7eb;
    }

    .blog-table th {
        background: #f9fafb;
        font-weight: 600;
        color: #374151;
    }

    .blog-table img {
        width: 60px;
        height: 45px;
        object-fit: cover;
        border-radius: 6px;
    }

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-published {
    background: #dcfce7;
    color: #166534;
}

.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .action-btn.edit {
        background: #dbeafe;
        color: #1d4ed8;
    }

    .action-btn.delete {
        background: #fef2f2;
        color: #dc2626;
    }

    .action-btn:hover {
        transform: scale(1.1);
    }

/* Recent Blogs */
.recent-blogs {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

    .recent-blogs h3 {
        font-size: 1.25rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 1rem;
    }

.blog-item-preview {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

    .blog-item-preview:last-child {
        border-bottom: none;
    }

.blog-image-small img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.blog-info-small h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.blog-info-small p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* Message Container */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

    .message.success {
        background: #dcfce7;
        color: #166534;
        border: 1px solid #bbf7d0;
    }

    .message.error {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
    }

    .mobile-sidebar-toggle {
        display: block;
    }

    .admin-header {
        padding: 1rem;
    }

    .page-content {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, #15803d, #16a34a);
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 80px;
}

.blog-hero-content {
    text-align: center;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: 4rem 0;
    background: #fafaf9;
}

.blog-layout {
    display: grid;
    gap: 3rem;
    max-width: 80%;
    margin-left: 10%;
}

.blog-main {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Yazı rengini miras alır (mavi olmayacak) */
    display: block; /* Kartın tamamını tıklanabilir yapar */
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        text-decoration: none; /* Hover'da da alt çizgi çıkmaz */
    }

.blog-card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-category {
    background: #dcfce7;
    color: #15803d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .blog-read-more:hover {
        color: #15803d;
        gap: 0.75rem;
    }

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.blog-tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .blog-tag:hover {
        background: #16a34a;
        color: white;
    }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .pagination-btn:hover:not(:disabled) {
        background: #16a34a;
        color: white;
        border-color: #16a34a;
    }

    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .page-number:hover,
    .page-number.active {
        background: #16a34a;
        color: white;
        border-color: #16a34a;
    }

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

    .sidebar-widget h3 {
        font-size: 1.25rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #16a34a;
    }

/* Search Box */
.search-box {
    display: flex;
    gap: 0.5rem;
}

    .search-box input {
        flex: 1;
        padding: 0.75rem;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 0.875rem;
    }

    .search-box button {
        padding: 0.75rem 1rem;
        background: #16a34a;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .search-box button:hover {
            background: #15803d;
        }

/* Category List */
.category-list {
    list-style: none;
}

    .category-list li {
        margin-bottom: 0.5rem;
    }

    .category-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        color: #6b7280;
        text-decoration: none;
        transition: color 0.3s ease;
        border-bottom: 1px solid #f3f4f6;
    }

        .category-list a:hover {
            color: #16a34a;
        }

    .category-list span {
        background: #f3f4f6;
        color: #6b7280;
        padding: 0.125rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
    }

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

    .recent-post:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.recent-post-image img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.recent-post-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.recent-post-date {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .tag-cloud .tag {
        background: #f3f4f6;
        color: #6b7280;
        padding: 0.375rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .tag-cloud .tag:hover {
            background: #16a34a;
            color: white;
        }

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        order: -1;
    }
    .login-container {
        width: 50%;
        margin-left: 25%;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem;
    }

        .blog-hero h1 {
            font-size: 2.5rem;
        }

    .blog-content {
        padding: 2rem 0;
    }

    .blog-main {
        padding: 1rem;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-numbers {
        order: -1;
    }

    .sidebar-widget {
        padding: 1rem;
    }
    .login-container {
        width: 70%;
        margin-left: 15%;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    .login-container {
        width: 90%;
        margin-left: 5%;
    }
    .blog-card-content {
        padding: 1rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
.blog-section {
    padding: 5rem 0;
    background: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 80%;
    margin-left: 10%;
}



.blog-section-footer {
    text-align: center;
}

@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
}
.blog-detail {
    padding: 5.5rem 0;
    background: #fafaf9;
}

.blog-detail-main {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-detail-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.blog-detail-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-detail-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

    .blog-detail-image img {
        width: 90%;
        max-height: 40vh;
        object-fit: contain;
    }

.blog-detail-content {
    padding: 2.5rem;
}

    .blog-detail-content h2 {
        font-size: 1.875rem;
        font-weight: bold;
        color: #1e293b;
        margin: 2rem 0 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #16a34a;
    }

    .blog-detail-content h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1e293b;
        margin: 1.5rem 0 1rem;
    }

    .blog-detail-content h4 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
        margin: 1.25rem 0 0.75rem;
    }

    .blog-detail-content p {
        font-size: 1.125rem;
        line-height: 1.8;
        color: #475569;
        margin-bottom: 1.5rem;
    }

    .blog-detail-content ul,
    .blog-detail-content ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
    }

    .blog-detail-content li {
        font-size: 1.125rem;
        line-height: 1.8;
        color: #475569;
        margin-bottom: 0.5rem;
    }

    .blog-detail-content blockquote {
        background: #f0fdf4;
        border-left: 4px solid #16a34a;
        padding: 1.5rem;
        margin: 2rem 0;
        border-radius: 0 8px 8px 0;
        font-style: italic;
        color: #166534;
    }

    .blog-detail-content strong {
        color: #1e293b;
        font-weight: 600;
    }