/**
 * Dabet Theme Main Stylesheet
 * 
 * @package Dabet
 * @since 1.0.0
 */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d63850;
}

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

/* Header Styles */
.site-header {
    background: #1a1a2e;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Navigation Desktop */
.nav-desktop {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-desktop li {
    position: relative;
}

.nav-desktop li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: block;
}

.nav-desktop li a:hover {
    color: #e94560;
}

/* Navigation Mobile */
nav.nav-mobile {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

nav.nav-mobile.active {
    display: block !important;
}

nav.nav-mobile ul.nav-mobile {
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

nav.nav-mobile ul.nav-mobile li {
    display: block;
}

nav.nav-mobile ul.nav-mobile li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.nav-mobile ul.nav-mobile li:last-child a {
    border-bottom: none;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle:focus {
    outline: none;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login,
.btn-register {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background: #fff;
    color: #1a1a2e;
}

.btn-register {
    background: #e94560;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-register:hover {
    background: #d63850;
    border-color: #d63850;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e94560;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    background: #fff;
}

.content-section.alt {
    background: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-content h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.section-content h3 {
    color: #16213e;
    font-size: 1.4rem;
    margin: 25px 0 12px;
    font-weight: 600;
}

.section-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.section-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #d63850 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    background: #fff;
    color: #e94560;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: #1a1a2e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    color: #e94560;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

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

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    color: #e94560;
}

.footer-seo {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-seo p {
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.sidebar .widget {
    margin-bottom: 30px;
}

.sidebar .widget:last-child {
    margin-bottom: 0;
}

.sidebar .widget-title {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e94560;
    font-weight: 600;
}

.sidebar ul {
    list-style: none;
}

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

.sidebar a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #e94560;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-content {
    padding: 25px;
}

.post-content h2 {
    color: #1a1a2e;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.post-content h2 a {
    color: inherit;
}

.post-content h2 a:hover {
    color: #e94560;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.post-meta .separator {
    color: #ddd;
}

.post-excerpt {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.btn-read-more {
    display: inline-block;
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-read-more:hover {
    color: #d63850;
}

/* Single Post */
.single-post {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.single-post h1 {
    color: #1a1a2e;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.single-post-meta {
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
    align-items: center;
}

.single-post-meta .separator {
    color: #ddd;
}

.single-content {
    line-height: 1.8;
}

.single-content h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.single-content h3 {
    color: #16213e;
    font-size: 1.4rem;
    margin: 25px 0 12px;
    font-weight: 600;
}

.single-content p {
    margin-bottom: 20px;
}

/* Page Layout */
.page-layout {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-layout h1 {
    color: #1a1a2e;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-content h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.page-content h3 {
    color: #16213e;
    font-size: 1.4rem;
    margin: 25px 0 12px;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

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

.btn-submit {
    background: #e94560;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #d63850;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}

.pagination .current span {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #e94560;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.related-posts h3 {
    color: #1a1a2e;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .auth-buttons {
        gap: 10px;
    }

    .btn-login,
    .btn-register {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .single-post,
    .page-layout {
        padding: 25px;
    }

    .single-post h1,
    .page-layout h1 {
        font-size: 2rem;
    }

    .main-content {
        grid-template-columns: 1fr !important;
    }

    .sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: wrap;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .content-section,
    .cta-section {
        padding: 40px 0;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card {
        margin-bottom: 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .auth-buttons,
    .menu-toggle {
        display: none !important;
    }

    .container {
        max-width: 100%;
    }
}
