/**
 * Block Content Styles
 * Block editor ile oluşturulan içerikler için CSS stilleri
 * Tüm temalarda kullanılabilir
 */

/* ==========================================================================
   Base Block Styles
   ========================================================================== */

.block-content {
    margin: 1rem 0;
}

.content-heading {
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.content-paragraph {
    margin: 1rem 0;
    line-height: 1.6;
    font-size:17px !important; 
}
.content-paragraph span{
font-size:17px !important; }
/* ==========================================================================
   Code Block
   ========================================================================== */

.content-code-block {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
    margin: 2rem 0;
}

.code-header {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-content {
    margin: 0;
    padding: 1rem;
    background: #f8f9fa;
    border: none;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ==========================================================================
   Quote Block
   ========================================================================== */

.content-quote {
    margin: 2rem 0;
    padding: 1rem 2rem;
    border-left: 4px solid #007bff;
    background: #f8f9fa;
    font-style: italic;
    position: relative;
}

.content-quote::before {
    content: '"';
    font-size: 4rem;
    color: #007bff;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

/* ==========================================================================
   List Block
   ========================================================================== */

.content-list {
    margin: 1rem 0;
}

.content-list li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.content-list ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.content-list ol {
    list-style-type: decimal;
    padding-left: 2rem;
}

/* ==========================================================================
   Image Block
   ========================================================================== */

.content-image {
    margin: 2rem 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Button Block
   ========================================================================== */

.content-button {
    margin: 2rem 0;
    text-align: center;
}

.content-button .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Columns Block
   ========================================================================== */

.content-columns {
    margin: 2rem 0;
}

.column-content {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.375rem;
    height: 100%;
    border: 1px solid #dee2e6;
}

/* ==========================================================================
   Hero Block
   ========================================================================== */

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    margin: 2rem 0;
    border-radius: 0.375rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Zigzag Block
   ========================================================================== */

.zigzag-sections {
    margin: 2rem 0;
}

.zigzag-section {
    padding: 4rem 0;
    position: relative;
}

.zigzag-section:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.7);
}

.zigzag-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.zigzag-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
}

.zigzag-section img {
    border-radius: 0.375rem;
    
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
}

.zigzag-section img:hover {
    transform: translateY(-5px);
   
}

/* Default placeholder for missing images */
.zigzag-section .bg-light {
    background-color: #f8f9fa !important;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    color: #6c757d;
}

/* ==========================================================================
   Card Grids (2, 3, 4 columns)
   ========================================================================== */

.cards2-section,
.cards3-section,
.cards4-section {
    margin: 3rem 0;
}

.cards2-section .card,
.cards3-section .card,
.cards4-section .card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 0.375rem;
    overflow: hidden;
}

.cards2-section .card:hover,
.cards3-section .card:hover,
.cards4-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.cards2-section .card-img-top,
.cards3-section .card-img-top,
.cards4-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ==========================================================================
   Spacer Block
   ========================================================================== */

.spacer-block {
    width: 100%;
    display: block;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .content-columns .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .zigzag-section h3 {
        font-size: 1.5rem;
    }
    
    .zigzag-section p {
        font-size: 1rem;
    }
    
    .zigzag-section {
        padding: 2rem 0;
    }
    
    .cards2-section .card-img-top,
    .cards3-section .card-img-top,
    .cards4-section .card-img-top {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 300px;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}