/* ========================================
   PRESS NEWS MODERN MODAL STYLES
   ======================================== */

/* Modern Modal Overlay */


.press-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url(/themes/sinoz/imgs/banner/basinveoduller-ic-top.jpg) !important;
    color: white;
    padding: 80px 0 !important;
    text-align: center;
    background-size: cover;
}
main.press-page {
    background: #f2f2f2;
    padding-bottom: 60px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modern Modal Container */
.modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #A3D7C9 0%, #8fc7b8 100%);
    color: white;
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.modal-title i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 40px 30px;
    max-height: 60vh;
    overflow-y: auto;
    background: #fafbfc;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #A3D7C9;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #4a9b8a;
}

/* Form Styles */
.modal-form {
    display: grid;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: "DM Sans", sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #A3D7C9;
    box-shadow: 0 0 0 3px rgba(163, 215, 201, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Textarea Styles */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Select Styles */
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Image Upload Styles */
.image-upload-area {
    border: 2px dashed #A3D7C9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #f8fffe;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-upload-area:hover {
    border-color: #4a9b8a;
    background: #f0fdfa;
}

.image-upload-area.dragover {
    border-color: #4a9b8a;
    background: #e6fffa;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: #A3D7C9;
    margin-bottom: 15px;
}

.upload-text {
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 10px;
}

.upload-hint {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Image Preview */
.image-preview {
    margin-top: 20px;
    text-align: center;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-preview img:hover {
    transform: scale(1.05);
}

/* Modal Footer */
.modal-footer {
    padding: 25px 30px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Modern Buttons */
.btn-modern {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #A3D7C9 0%, #4a9b8a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(163, 215, 201, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 215, 201, 0.4);
}

.btn-secondary-modern {
    background: white;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-secondary-modern:hover {
    background: #f8f9fa;
    border-color: #A3D7C9;
    color: #A3D7C9;
    transform: translateY(-2px);
}

/* Loading State */
.btn-modern.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-modern.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error States */
.form-group.success .form-control {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group.error .form-control {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 20px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 30px 25px;
    }
    
    .modal-footer {
        padding: 20px 25px;
        flex-direction: column;
    }
    
    .btn-modern {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 77vh;
    }

    .modal-header {
        padding: 13px 0px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
        max-height: 60vh;
    }
    
    .modal-footer {
        padding: 15px 20px;
        display:none !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Card Styles */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #A3D7C9 0%, #4a9b8a 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-content {
    padding: 25px;
}

.news-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-card-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #adb5bd;
}

.news-card-date,
.news-card-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-date i,
.news-card-views i {
    color: #A3D7C9;
}

/* Featured News Styles */
.featured-news {
    border: 2px solid #A3D7C9;
}

.featured-news .news-card-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   4'LÜ GRID İÇİN ÖZEL STİLLER
   ======================================== */

/* Modern News Cards - 4'lü Grid */
.news-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #A3D7C9 0%, #4a9b8a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(163, 215, 201, 0.3);
}

.news-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(163, 215, 201, 0.1) 0%, rgba(74, 155, 138, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-card-image::after {
    opacity: 1;
}

.news-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: #4a9b8a;
}

.news-card-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #adb5bd;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f8f9fa;
}

.news-card-date,
.news-card-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.news-card-date i,
.news-card-views i {
    color: #A3D7C9;
    font-size: 0.9rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
    margin-top: 2rem;
}


/* Featured News Styles */
.featured-news {
    border: 2px solid #A3D7C9;
    position: relative;
    overflow: visible;
}

.featured-news::before {
    background: linear-gradient(135deg, #A3D7C9 0%, #4a9b8a 100%);
    transform: scaleX(1);
}

.featured-news .news-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
    z-index: 10;
}

.featured-news:hover .news-card-badge {
    animation: none;
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 107, 107, 0.5);
    }
}

.featured-news .news-card-title {
    color: #2c3e50;
    font-weight: 800;
}

.featured-news:hover .news-card-title {
    color: #4a9b8a;
}

/* Empty State */
.text-center.py-5 {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    margin: 2rem 0;
}

.text-center.py-5 i {
    color: #A3D7C9;
    margin-bottom: 1rem;
}

.text-center.py-5 h4 {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.text-center.py-5 p {
    color: #adb5bd;
    font-size: 1.1rem;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* 4'lü grid mobilde 2'li olur */
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card-content {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 1.1rem;
    }
    
    .news-card-description {
        font-size: 0.9rem;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }
   .press-section{
        padding: 20px 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .press-hero {
        padding: 7px 0 10px !important;
        margin-top: 13px;
    }
    .press-grid {
        margin-top: 25px;
    }
    .press-hero-title {
        font-weight: 500;
        font-size: 30px;
    
    }
}

@media (max-width: 576px) {
    .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .news-card-image {
        height: 200px;
    }
    
    .news-card-content {
        padding: 18px;
    }

    .section-title {
        font-size: 1.6rem;
        margin: 10px 0px;
    }
}

/* ========================================
   PressAwards Page Layout & Aliases
   ======================================== */
/* Grid wrappers */
.press-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.press-grid.press-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1200px){ .press-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 992px)  { .press-grid, .press-grid.press-grid--featured { grid-template-columns: repeat(1, minmax(0,1fr)); } }
@media (max-width: 576px)  { .press-grid { grid-template-columns: 1fr; } }

/* Hero and sections */
.press-hero { padding: 40px 0 10px; }
.press-hero-title { font-weight: 800; font-size: 34px; color: #ffffff; margin: 0 0 8px;margin: 0 0 8px; }
.press-hero-sub {
    color: #ffffff;
    margin: 0;
}


/* Empty state */
.press-empty { text-align: center; padding: 60px 10px; color: #6c757d; }
.press-empty i { font-size: 48px; margin-bottom: 10px; color: #adb5bd; }

/* Markup aliasing to existing card styles */
.news-card-media { position: relative; height: 200px; background: #f8f9fa; display:flex; align-items:center; justify-content:center; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; }
.news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #a3d7c9;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 700;
}
.news-card-body { padding: 14px 14px 16px; }
.news-card-desc { font-size: 14px; color: #6c757d; margin: 0 0 12px; line-height: 1.6; min-height: 44px; }
.news-card-placeholder { color: #adb5bd; font-size: 38px; display:flex; align-items:center; justify-content:center; width:100%; height:100%; }

/* Map aliases to existing classes for hover effects */
.news-card:hover .news-card-media img { transform: scale(1.05); }

/* ========================================
   BASIN VE ÖDÜLLER İKİ BÖLÜM AYIRMA
   ======================================== */

/* Section Headers - İki bölümü ayırt etme */
.press-news-section,
.awards-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

.press-news-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.awards-section {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.section-header .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-header .section-title i {
    color: #A3D7C9;
    font-size: 36px;
}

.awards-section .section-header .section-title i {
    color: #FFD700; /* Ödül rengi - altın */
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Subsection başlıkları */
.press-subsection {
    margin-bottom: 40px;
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #A3D7C9;
}

.awards-section .subsection-title {
    border-left-color: #FFD700;
}

/* Badge renkleri - kategori bazlı */
.news-badge--press {
    background: #A3D7C9;
}

.news-badge--award {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

/* Award kartları için özel stil */
.award-card {
    position: relative;
}

.award-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.award-card:hover::before {
    opacity: 0.2;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .press-news-section,
    .awards-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .section-header .section-title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    .section-header .section-title i {
        font-size: 28px;
    }

    .subsection-title {
        font-size: 18px;
    }
}