* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* RTL Desteği */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .contact-form-container {
    text-align: right;
}

html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea {
    text-align: right;
}

html[dir="rtl"] .captcha-box {
    flex-direction: row-reverse;
}

html[dir="rtl"] .close-btn {
    left: 20px;
    right: auto;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #000000;
}

.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    gap: 40px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 640px;
    height: 640px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.contact-us-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-us-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.contact-us-btn:active {
    transform: translateY(-1px);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-form-container {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    position: relative;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-container {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-container label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#captchaQuestion {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    min-width: 120px;
    text-align: center;
}

#captcha {
    flex: 1;
    min-width: 100px;
    max-width: 150px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.message-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-size: 14px;
}

.message-box.success {
    display: block;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.message-box.error {
    display: block;
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

/* Dil Seçici - Yüzen Dünya İkonu */
.language-selector {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.world-icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.world-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.world-icon-btn svg {
    width: 24px;
    height: 24px;
}

.language-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    min-width: 150px;
    display: none;
    flex-direction: column;
    gap: 5px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

.language-selector.active .language-menu {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 14px;
    font-family: inherit;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

html[dir="rtl"] .lang-option {
    text-align: right;
}

html[dir="rtl"] .lang-option:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .language-selector {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

/* Sağ Tıklama Menüsü */
.context-menu {
    position: fixed;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    z-index: 10000;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    animation: contextMenuFadeIn 0.2s ease;
}

.context-menu.active {
    display: block;
}

@keyframes contextMenuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ffffff;
}

.context-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.context-menu-item .emoji {
    font-size: 24px;
    line-height: 1;
    animation: kissAnimation 0.5s ease infinite;
}

@keyframes kissAnimation {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.context-menu-item .menu-text {
    font-size: 16px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        gap: 30px;
        padding: 15px;
    }
    
    .logo {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1;
    }
    
    .contact-us-btn {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    .language-selector {
        top: 20px;
        right: 20px;
    }
    
    html[dir="rtl"] .language-selector {
        right: auto;
        left: 20px;
    }
    
    .world-icon-btn {
        width: 45px;
        height: 45px;
    }
    
    .world-icon-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
        max-width: 100%;
        margin: 10px;
    }
    
    .contact-form-container h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
    
    .captcha-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    #captchaQuestion {
        min-width: 100%;
    }
    
    #captcha {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1;
    }
    
    .contact-us-btn {
        padding: 12px 30px;
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .contact-form-container {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .contact-form-container h2 {
        font-size: 18px;
        margin-top: 10px;
    }
    
    .close-btn {
        top: 8px;
        right: 12px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
}
