/* ========================================
   RICH TEXT AREA - CKEditor Content Styles
   ======================================== */

.richTextArea {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Headings */
.richTextArea h1,
.richTextArea h2,
.richTextArea h3,
.richTextArea h4,
.richTextArea h5,
.richTextArea h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.richTextArea h1 {
    font-size: 36px;
}

.richTextArea h2 {
    font-size: 30px;
}

.richTextArea h3 {
    font-size: 26px;
}

.richTextArea h4 {
    font-size: 22px;
}

.richTextArea h5 {
    font-size: 18px;
}

.richTextArea h6 {
    font-size: 16px;
}

/* Paragraphs */
.richTextArea p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.richTextArea p:last-child {
    margin-bottom: 0;
}

/* Links */
.richTextArea a {
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.richTextArea a:hover {
    color: #e55a2b;
    border-bottom-color: #e55a2b;
}

/* Strong and Bold */
.richTextArea strong,
.richTextArea b {
    font-weight: 700;
    color: #1a1a1a;
}

/* Italic and Emphasis */
.richTextArea em,
.richTextArea i {
    font-style: italic;
}

/* Underline */
.richTextArea u {
    text-decoration: underline;
}

/* Strikethrough */
.richTextArea s,
.richTextArea strike,
.richTextArea del {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Subscript and Superscript */
.richTextArea sub {
    font-size: 0.75em;
    vertical-align: sub;
}

.richTextArea sup {
    font-size: 0.75em;
    vertical-align: super;
}

/* Code */
.richTextArea code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #e83e8c;
}

.richTextArea pre {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 25px 0;
    border-left: 4px solid #ff6b35;
}

.richTextArea pre code {
    background: transparent;
    padding: 0;
    color: #333;
}

/* Blockquote */
.richTextArea blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #fff5e2;
    border-left: 5px solid #ff6b35;
    font-style: italic;
    color: #555;
    position: relative;
}

.richTextArea blockquote::before {
    content: '"';
    font-size: 60px;
    color: #ff6b35;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: Georgia, serif;
}

.richTextArea blockquote p {
    margin-bottom: 10px;
}

.richTextArea blockquote p:last-child {
    margin-bottom: 0;
}

.richTextArea ul,
.richTextArea ol {
    padding-left: 25px;
    list-style: disc;
}

.richTextArea ul li,
.richTextArea ol ul{
    list-style: none; /* marker'ı kaldır */
    position: relative;
    margin-bottom: 5px;;
}

.richTextArea ul li::before, .richTextArea ol ul::before {
    content: "•";
    color: #ff6b35;
    font-weight: 700;
    font-size: 20px;
    position: absolute;
    top: -5px;
    left: -12px;
}

/* Tables */
.richTextArea table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.richTextArea table thead {
    background: #ff6b35;
    color: #fff;
}

.richTextArea table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
}

.richTextArea table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.richTextArea table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.richTextArea table tbody tr:hover {
    background: #fff5e2;
}

/* Images */
.richTextArea img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.richTextArea figure {
    margin: 30px 0;
    text-align: center;
}

.richTextArea figure img {
    margin: 0 auto 15px;
}

.richTextArea figcaption {
    font-size: 14px;
    color: #999;
    font-style: italic;
    text-align: center;
}

/* Image Alignment */
.richTextArea img.align-left,
.richTextArea .image-style-align-left img {
    float: left;
    margin: 10px 30px 20px 0;
}

.richTextArea img.align-right,
.richTextArea .image-style-align-right img {
    float: right;
    margin: 10px 0 20px 30px;
}

.richTextArea img.align-center,
.richTextArea .image-style-align-center img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Horizontal Rule */
.richTextArea hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 40px 0;
}

/* Mark/Highlight */
.richTextArea mark {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
}

/* Abbreviation */
.richTextArea abbr {
    text-decoration: underline dotted;
    cursor: help;
}

/* Address */
.richTextArea address {
    font-style: normal;
    line-height: 1.8;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #ff6b35;
}

/* Cite */
.richTextArea cite {
    font-style: italic;
    color: #666;
}

/* Small Text */
.richTextArea small {
    font-size: 0.875em;
    color: #666;
}

/* Text Alignment */
.richTextArea .text-left {
    text-align: left;
}

.richTextArea .text-center {
    text-align: center;
}

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

.richTextArea .text-justify {
    text-align: justify;
}

/* Text Colors */
.richTextArea .text-muted {
    color: #999;
}

.richTextArea .text-primary {
    color: #ff6b35;
}

.richTextArea .text-success {
    color: #28a745;
}

.richTextArea .text-info {
    color: #17a2b8;
}

.richTextArea .text-warning {
    color: #ffc107;
}

.richTextArea .text-danger {
    color: #dc3545;
}

/* Background Colors */
.richTextArea .bg-light {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
}

.richTextArea .bg-dark {
    background-color: #343a40;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
}

/* Embedded Content */
.richTextArea iframe,
.richTextArea video,
.richTextArea embed,
.richTextArea object {
    max-width: 100%;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
}

/* Responsive Video Container */
.richTextArea .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 30px 0;
}

.richTextArea .video-container iframe,
.richTextArea .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Keyboard Input */
.richTextArea kbd {
    background: #333;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sample Output */
.richTextArea samp {
    font-family: 'Courier New', Courier, monospace;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Variable */
.richTextArea var {
    font-style: italic;
    color: #e83e8c;
}

/* Details and Summary */
.richTextArea details {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.richTextArea summary {
    font-weight: 600;
    cursor: pointer;
    color: #ff6b35;
    margin-bottom: 10px;
}

.richTextArea summary:hover {
    color: #e55a2b;
}

/* Clearfix for Floated Elements */
.richTextArea::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .richTextArea {
        font-size: 15px;
    }

    .richTextArea h1 {
        font-size: 28px;
    }

    .richTextArea h2 {
        font-size: 24px;
    }

    .richTextArea h3 {
        font-size: 22px;
    }

    .richTextArea h4 {
        font-size: 20px;
    }

    .richTextArea h5 {
        font-size: 18px;
    }

    .richTextArea h6 {
        font-size: 16px;
    }

    .richTextArea img.align-left,
    .richTextArea .image-style-align-left img,
    .richTextArea img.align-right,
    .richTextArea .image-style-align-right img {
        float: none;
        margin: 20px auto;
        display: block;
    }

    .richTextArea table {
        font-size: 14px;
    }

    .richTextArea table th,
    .richTextArea table td {
        padding: 10px;
    }

    .richTextArea blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }

    .richTextArea pre {
        padding: 15px;
        font-size: 13px;
    }
}

/* ======
==================================
   FOOTER STYLES
   ======================================== */

.main-footer {
    background: #1a1d2e;
    color: #fff;
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-widget p {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-links li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-links li a:hover {
    color: #ff6b35;
    padding-left: 5px;
}

.footer-contact li {
    color: #999;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact li i {
    color: #ff6b35;
    width: 20px;
}

.footer-contact li a {
    color: #999;
    text-decoration: none;
}

.footer-contact li a:hover {
    color: #ff6b35;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    color: #ff6b35;
    margin-right: 10px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #0f1117;
    color: #999;
    font-size: 14px;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: #ff6b35;
}

@media (max-width: 767px) {
    .footer-bottom-links a {
        margin: 0 10px;
        display: inline-block;
    }
}


/* ========================================
   FOOTER STYLES
   ======================================== */

.main-footer {
    background: #1a1d2e;
    color: #fff;
    margin-top: 100px;
}

.footer-main {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-widget p {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links li a:hover {
    color: #ff6b35;
    padding-left: 5px;
}

.footer-contact {
    padding-left: 0;
}

.footer-contact li {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: #ff6b35;
    width: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact li a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-contact li a:hover {
    color: #ff6b35;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    color: #ff6b35;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #0f1117;
    color: #999;
    font-size: 14px;
    padding: 30px 0;
}

.footer-bottom p {
    margin: 0;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-bottom-links a:hover {
    color: #ff6b35;
}

@media (max-width: 991px) {
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .main-footer {
        margin-top: 60px;
    }
    
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-widget h5 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
        gap: 15px;
    }
}

/* ========================================
   LANGUAGE DROPDOWN STYLES
   ======================================== */

.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #ff6b35;
    border: 2px solid #ff6b35;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 70px;
    height: 46px;
    justify-content: center;
}

.lang-selector:hover {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.lang-selector .current-lang {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.lang-selector i {
    font-size: 10px;
    color: #fff;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .lang-selector i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 100px;
    overflow: hidden;
    border: 2px solid #ff6b35;
}

.language-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lang-dropdown-menu ul li {
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.lang-dropdown-menu ul li:last-child {
    border-bottom: none;
}

.lang-dropdown-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: #ff6b35;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-dropdown-menu ul li a:hover {
    background: #ff6b35;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .language-dropdown {
        margin-right: 10px;
    }
    .language-dropdown.desktop{
        display: none;
    }
    
    .lang-selector {
        padding: 8px 12px;
        min-width: 60px;
    }
    
    .lang-selector .current-lang {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .language-dropdown {
        margin-right: 5px;
    }
    
    .lang-selector {
        padding: 6px 10px;
        min-width: 50px;
    }
    
    .lang-selector .current-lang {
        font-size: 12px;
    }
    
    .lang-selector i {
        font-size: 8px;
    }
    
    .lang-dropdown-menu {
        min-width: 80px;
    }
    
    .lang-dropdown-menu ul li a {
        padding: 10px 15px;
        font-size: 13px;
    }
}
