/*
Theme Name: 1xCasino Pro
Theme URI: https://1xcasinogiris.net
Author: Ayildirim
Author URI: https://1xcasinogiris.net
Description: Modern, 1xbet benzeri casino ve bahis WordPress teması. Genk Gaming tarzı tasarım ile kullanıcı dostu arayüz.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 1xcasino
Tags: casino, betting, gambling, sports, dark, modern, responsive
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-light: #0080ff;
    --primary-dark: #004499;
    --secondary-color: #1a1a2e;
    --dark-bg: #0f0f1e;
    --card-bg: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-blue: #0066cc;
    --accent-gold: #ffd700;
    --accent-red: #ff4444;
    --border-color: #2a2a3e;
    --hover-bg: #1e2746;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

.login-btn {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.5);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%2300d084" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 15px 40px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.site-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

@media (max-width: 968px) {
    .content-area {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   POSTS & CARDS
   ============================================ */
.post-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    border-color: var(--primary-color);
}

.post-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.read-more:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.widget-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    position: relative;
}

.widget li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.widget li:hover {
    background: var(--hover-bg);
    padding-left: 15px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.widget li:hover::after {
    width: 0;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    flex: 1;
}

.widget a:hover {
    color: var(--primary-color);
}

/* Recent Comments Widget */
.widget_recent_comments li::before {
    content: '💬';
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

.widget_recent_comments .comment-author-link {
    color: var(--primary-color);
    font-weight: bold;
}

.widget_recent_comments .comment-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
    display: block;
}

/* Archives Widget */
.widget_archive li::before {
    content: '📅';
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

.widget_archive li {
    position: relative;
}

.widget_archive a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.widget_archive .post-count {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: auto;
}

/* Categories Widget */
.widget_categories li::before {
    content: '🎯';
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

.widget_categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.widget_categories .count {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: auto;
}

/* Recent Posts Widget */
.widget_recent_entries li::before {
    content: '📝';
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

.widget_recent_entries .post-date {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: 5px;
}

/* Meta Widget */
.widget_meta li::before {
    content: '⚙️';
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

/* Search Widget */
.widget_search {
    position: relative;
}

.widget_search .search-form {
    display: flex;
    gap: 10px;
}

.widget_search input[type="search"] {
    flex: 1;
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 14px;
}

.widget_search input[type="search"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.widget_search input[type="submit"] {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.widget_search input[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px !important;
    transition: all 0.3s;
}

.widget_tag_cloud .tagcloud a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   SINGLE POST PAGE
   ============================================ */
.single-post-content {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-post-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.single-post-content ul,
.single-post-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.single-post-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.single-post-content a:hover {
    text-decoration: underline;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 1000px;
    padding-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .single-post-content {
        padding: 20px;
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    cursor: default;
}

.pagination .page-numbers.dots:hover {
    background: transparent;
    color: var(--text-primary);
}

/* ============================================
   POST THUMBNAIL
   ============================================ */
.post-thumbnail {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* ============================================
   ENTRY CONTENT STYLES
   ============================================ */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.entry-content table th {
    background: var(--card-bg);
    color: var(--primary-color);
    font-weight: bold;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.entry-content code {
    background: var(--card-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.entry-content pre {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.entry-content pre code {
    background: transparent;
    padding: 0;
}

/* ============================================
   POST TAGS
   ============================================ */
.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 20px;
    margin: 5px 5px 5px 0;
    font-size: 14px;
    transition: all 0.3s;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* ============================================
   POST NAVIGATION
   ============================================ */
.post-navigation {
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.post-navigation .nav-title {
    display: block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.post-navigation .nav-title:hover {
    color: var(--primary-light);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 14px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button[type="submit"] {
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

#contact-form button[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

#contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

