/* Modern Minimalist Design */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #00f2fe;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --bg-light: #f8f9ff;
    --border-color: #e8e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 40px rgba(102, 126, 234, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0.8;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    opacity: 0.6;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.search-container {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-box:hover,
.search-box:focus-within {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    color: #555;
    margin-right: 12px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #0a0a1e;
    outline: none;
    padding: 4px 0;
    font-weight: 500;
}

.search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-input:focus + .search-btn,
.search-box:focus-within .search-icon {
    color: var(--primary-color);
}

.search-box:focus-within .search-btn {
    background: var(--primary-gradient);
    color: white !important;
}

.search-btn {
    border: none;
    background: var(--primary-gradient);
    color: white;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.hero-section .small {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Features Section */
#about {
    padding: 6rem 0;
}

#about h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Language Selector Styles ===== */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1.5px solid rgba(102, 126, 234, 0.3);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.lang-btn:active,
.lang-btn[aria-expanded="true"] {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
}

.lang-btn:active .flag-icon,
.lang-btn[aria-expanded="true"] .flag-icon {
    transform: scaleX(1.1);
}

.lang-btn .flag-icon {
    width: 16px;
    height: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.lang-text {
    display: inline-block;
    min-width: 25px;
}

/* Language Dropdown Menu */
.language-menu {
    min-width: 280px !important;
    border: 1.5px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    animation: slideDown 0.3s ease;
    max-height: 500px;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-section {
    padding: 8px 0;
}

.lang-section:first-child {
    padding-top: 8px;
}

.lang-section-title {
    padding: 8px 16px;
    margin: 0 0 4px 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px !important;
    color: #333 !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lang-item:hover {
    background-color: rgba(102, 126, 234, 0.08);
    color: var(--primary-color) !important;
    padding-left: 18px !important;
}

.lang-item.active {
    background-color: rgba(102, 126, 234, 0.15);
    color: var(--primary-color) !important;
    font-weight: 600;
}

.lang-item.active::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: -6px;
}

.lang-item .flag-icon {
    width: 20px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-divider {
    margin: 4px 0;
    border-color: rgba(0, 0, 0, 0.05);
}

/* Scrollbar styling for language menu */
.language-menu::-webkit-scrollbar {
    width: 6px;
}

.language-menu::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.05);
}

.language-menu::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.2);
    border-radius: 3px;
}

.language-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.4);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .lang-btn {
        padding: 7px 10px;
        font-size: 13px;
    }

    .lang-btn .flag-icon {
        width: 14px;
        height: 10px;
    }

    .lang-text {
        display: none;
    }

    .language-menu {
        min-width: 240px !important;
    }

    .lang-item {
        padding: 9px 12px !important;
        font-size: 13px;
    }

    .lang-item:hover {
        padding-left: 14px !important;
    }

    .lang-section-title {
        padding: 8px 12px;
    }
}

/* Dönüştürme Sonuç Kartı */
.convert-result {
    animation: slideUp 0.5s ease;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-icon {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-title {
    color: #0a0a1e;
    font-weight: 900;
    font-size: 1.75rem;
    word-break: break-word;
    letter-spacing: -0.5px;
    margin: 0 0 32px 0;
    line-height: 1.3;
}

.result-card .btn-success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 16px 48px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: #fff !important;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
}

.result-card .btn-success:hover {
    background: linear-gradient(135deg, #5568d3 0%, #683a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.45);
}

.result-card .btn-success:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.result-card .btn-success svg {
    width: 22px;
    height: 22px;
}

.result-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.result-card .btn-outline-secondary {
    border: 2px solid #e8e8f0;
    background: transparent;
    color: #667eea;
    font-weight: 800;
    transition: all 0.3s ease;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.result-card .btn-outline-secondary:hover {
    background-color: #f8f9ff;
    border-color: #667eea;
    color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .result-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .result-card .btn-success,
    .result-card .btn-outline-secondary {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
    }
}

/* How It Works Section */
#how {
    background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, 0.03));
}

.feature-step {
    padding: 2rem;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
}

.feature-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.feature-step h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 12px 32px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-success {
    background: var(--success-gradient);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.4);
    color: white;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.footer-section h5 {
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--success-gradient);
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--success-color);
    padding-left: 8px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0;
}

footer p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* FAQ Section */
#faq {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    padding: 6rem 0;
}

#faq h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.accordion {
    border: none;
    gap: 1rem;
}

.accordion-item {
    border: none;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-button {
    background: #fff;
    color: var(--text-dark);
    font-weight: 700;
    border: none;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-button:not(.collapsed) {
    color: white;
    background: var(--primary-gradient);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.accordion-body {
    color: var(--text-light);
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    padding: 6rem 0;
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

/* Contact Banner */
.contact-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.contact-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;    
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-content {
    flex: 1;
}

.contact-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-email {
    display: inline-block;
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.contact-email:hover {
    text-decoration: underline;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .contact-banner {
        flex-direction: column;
        padding: 30px 24px;
        text-align: center;
    }

    .contact-email {
        font-size: 1.2rem;
    }
}

/* Forms */
.form-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out both;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    #about h2,
    #faq h2,
    #contact h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .input-group-lg > .form-control {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .nav-link {
        margin: 0 4px;
        font-size: 0.95rem;
    }
}
