* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    color: #374151;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    flex: 1;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.drop-zone {
    width: 100%;
    height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    color: #777;
    border: 2px dashed #3498db;
    border-radius: 10px;
    background-color: white;
    transition: all 0.3s ease;
}

.drop-zone:hover {
    background-color: #f8f9fa;
    border-color: #2980b9;
}

.drop-zone--over {
    border-style: solid;
    background-color: #e3f2fd;
}

.drop-zone__input {
    display: none;
}

.action-btn {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-btn:hover {
    background-color: #2980b9;
}

.result-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.button-group {
    margin: 1rem 0;
    text-align: center;
}

#resultHtml {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
    font-size: 14px;
    max-height: 400px;
    overflow-y: auto;
}

.preview-container {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.style-options {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.custom-css {
    width: 100%;
    height: 100px;
    margin-top: 10px;
    padding: 10px;
    font-family: monospace;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress {
    width: 0%;
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    background: #f8f9fa;
    border-radius: 5px;
}

.main-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.left-column {
    flex: 1;
    min-width: 400px;
}

.right-column {
    flex: 2;
    min-width: 600px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1rem 0;
}

.action-btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.style-options {
    margin: 1rem 0;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.result-container {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.preview-container {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.bottom-section {
    margin-top: 2rem;
}

#history {
    margin-top: 1rem;
}

.history-item {
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1240px) {
    .main-content {
        flex-direction: column;
    }
    
    .left-column, .right-column {
        width: 100%;
        min-width: unset;
    }
}

/* Header Styles */
.header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shopiuzman-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    margin: 0;
    font-size: 24px;
    color: white;
    line-height: 1.2;
}

.subtitle {
    color: #3498db;
    font-size: 16px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #3498db;
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
    background: rgba(0,0,0,0.2);
}

/* Footer'a da logo ekleyelim */
.footer-section img {
    height: 30px;
    width: auto;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .shopiuzman-logo {
        height: 30px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Stilleri */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Sonuç Kartları */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.result-card:hover {
    transform: translateY(-2px);
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Yükleme Göstergesi */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Optimizasyon İpuçları */
.optimization-tip {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    animation: slideUp 0.3s ease-out;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    background: #1f2937;
    color: white;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    input, select {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .result-card {
        padding: 1rem;
    }

    .result-value {
        font-size: 1.5rem;
    }

    .optimization-tip {
        padding: 0.875rem;
        font-size: 0.875rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    p {
        font-size: 0.875rem;
    }
}

/* Küçük Mobil Cihazlar */
@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    input, select {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .result-card {
        padding: 0.75rem;
    }

    .result-value {
        font-size: 1.25rem;
    }

    .optimization-tip {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.8125rem;
    }
}

/* Form Validasyon Stilleri */
input:invalid {
    border-color: #ef4444;
}

input:invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Sayfa Başlığı ve Mesajlar */
.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

.success-message {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease-out;
}

/* Mobil Menü */
@media (max-width: 768px) {
    #mainNav {
        display: none;
    }

    #mobileMenuBtn {
        display: block;
    }

    #mobileNav {
        display: none;
    }

    #mobileNav.active {
        display: block;
    }
}

/* İçerik Bölümü Mobil Optimizasyonu */
@media (max-width: 768px) {
    .content-section {
        padding: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .content-section p {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .content-section ul {
        padding-left: 1.25rem;
        margin-bottom: 1rem;
    }

    .content-section li {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
}

/* Yasal Uyarı Bölümü Mobil Optimizasyonu */
@media (max-width: 768px) {
    .legal-section {
        padding: 1rem;
    }

    .legal-section h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .legal-section p {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }

    .legal-section ul {
        padding-left: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .legal-section li {
        font-size: 0.8125rem;
        margin-bottom: 0.375rem;
    }
} 