/* Gezi Tekneleri Sertifika Sorgulama - Maritime Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 30%, #134e7a 60%, #1a6fa0 100%);
    min-height: 100vh;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

.wave-bg {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 0; pointer-events: none;
}
.wave-svg { width: 100%; height: 200px; display: block; }

.container {
    max-width: 700px; margin: 0 auto; padding: 60px 20px 100px;
    position: relative; z-index: 1;
}

/* Header */
.header { text-align: center; margin-bottom: 40px; }
.logo-icon {
    width: 80px; height: 80px; background: rgba(255,255,255,0.15);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}
.logo-icon i { font-size: 36px; color: #fff; }
.header h1 { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.subtitle { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.6; max-width: 500px; margin: 0 auto; }

/* Search Box */
.search-box {
    background: #fff; border-radius: 16px; padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); margin-bottom: 30px;
}
.search-input-wrapper {
    position: relative; margin-bottom: 16px;
}
.search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: #94a3b8; font-size: 16px;
}
.search-input-wrapper input {
    width: 100%; padding: 16px 16px 16px 48px; border: 2px solid #e2e8f0;
    border-radius: 12px; font-size: 16px; font-family: 'Inter', sans-serif;
    transition: all 0.3s; outline: none; color: #1e293b;
}
.search-input-wrapper input:focus { border-color: #1a6fa0; box-shadow: 0 0 0 4px rgba(26,111,160,0.1); }
.search-input-wrapper input::placeholder { color: #94a3b8; }

#searchBtn {
    width: 100%; padding: 16px; background: linear-gradient(135deg, #0d2847, #1a6fa0);
    color: #fff; border: none; border-radius: 12px; font-size: 16px;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
    font-family: 'Inter', sans-serif; letter-spacing: 0.5px;
}
#searchBtn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13,40,71,0.4); }
#searchBtn:active { transform: translateY(0); }
#searchBtn i { margin-right: 8px; }

/* Loading */
.loading { text-align: center; padding: 30px; }
.spinner {
    width: 40px; height: 40px; border: 4px solid rgba(255,255,255,0.2);
    border-top-color: #fff; border-radius: 50%; margin: 0 auto 12px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { color: rgba(255,255,255,0.8); font-size: 14px; }

/* Result Card */
.result-card {
    background: #fff; border-radius: 16px; padding: 32px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.result-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
    padding-bottom: 20px; border-bottom: 2px solid #f1f5f9;
}
.result-header.found .status-icon {
    width: 48px; height: 48px; background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.result-header.found .status-icon i { color: #fff; font-size: 20px; }
.result-header.found .status-text h3 { color: #059669; font-size: 18px; font-weight: 600; }
.result-header.found .status-text p { color: #64748b; font-size: 13px; margin-top: 2px; }

.result-header.not-found .status-icon {
    width: 48px; height: 48px; background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.result-header.not-found .status-icon i { color: #fff; font-size: 20px; }
.result-header.not-found .status-text h3 { color: #dc2626; font-size: 18px; font-weight: 600; }
.result-header.not-found .status-text p { color: #64748b; font-size: 13px; margin-top: 2px; }

.cert-details { display: flex; flex-direction: column; gap: 16px; }
.cert-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f8fafc; border-radius: 10px; }
.cert-row .label { color: #64748b; font-size: 13px; font-weight: 500; }
.cert-row .value { color: #1e293b; font-size: 15px; font-weight: 600; text-align: right; }

.view-pdf-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
    padding: 12px 24px; background: linear-gradient(135deg, #0d2847, #1a6fa0);
    color: #fff; border: none; border-radius: 10px; font-size: 14px;
    font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.view-pdf-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,40,71,0.3); }
.view-pdf-btn i { font-size: 16px; }

/* Footer */
.footer {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1;
    background: rgba(10,22,40,0.8); backdrop-filter: blur(10px);
    padding: 16px; text-align: center;
}
.footer-content { display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-content i { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-content p { color: rgba(255,255,255,0.5); font-size: 13px; }

/* Responsive */
@media (max-width: 600px) {
    .container { padding: 40px 16px 100px; }
    .header h1 { font-size: 22px; }
    .subtitle { font-size: 13px; }
    .search-box { padding: 24px; }
    .result-card { padding: 24px; }
    .cert-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .cert-row .value { text-align: left; }
}

