/* yagmur-inisi.css - ULTRA PREMIUM REDESIGN */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --brand-primary: #f59e0b;
    /* Amber/Yellow */
    --brand-secondary: #ea580c;
    /* Orange */
    --brand-dark: #0f172a;
    /* Slate 900 */
    --bg-gradient: linear-gradient(135deg, #09090b 0%, #171717 100%);
    --card-glass: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(0, 0, 0, 0.4);
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-white);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Glow Effects */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}

body::before {
    background: var(--brand-primary);
    top: -200px;
    left: -200px;
}

body::after {
    background: var(--brand-secondary);
    bottom: -200px;
    right: -200px;
}

/* Container */
.container {
    width: 100%;
    max-width: 650px;
    margin: 60px auto 100px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1;
}

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Glassmorphism Card */
.calc-form {
    background: var(--card-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Form Groups */
.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #e2e8f0;
    letter-spacing: 0.3px;
}

/* Inputs */
.input-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    font-size: 1.05rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.input-control::placeholder {
    color: #64748b;
}

/* Select Styling */
select.input-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f59e0b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 20px !important;
    cursor: pointer;
}

select.input-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f59e0b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}

/* File Input Hack for better look */
input[type="file"].input-control {
    padding: 12px;
    color: var(--text-muted);
}

input[type="file"]::file-selector-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    margin-right: 15px;
    transition: background 0.3s;
    font-family: inherit;
    font-weight: 600;
}

input[type="file"]::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-hesapla {
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 25px;
    box-shadow: 0 10px 20px -10px rgba(234, 88, 12, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hesapla::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hesapla:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(234, 88, 12, 0.8);
}

.btn-hesapla:hover::after {
    left: 200%;
}

/* Result Screen */
#sonucEkrani {
    display: none;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    animation: scaleUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.result-title {
    color: var(--brand-primary);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.big-price {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin: 10px 0 20px;
    text-shadow: 0 4px 25px rgba(245, 158, 11, 0.4);
    line-height: 1.1;
}

.result-details {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 25px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row span {
    font-weight: 700;
    color: #fff;
}

/* Back Button */
.btn-home {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s;
    background: var(--card-glass);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--card-border);
}

.btn-home i {
    margin-right: 10px;
    transition: transform 0.3s;
}

.btn-home:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-home:hover i {
    transform: translateX(-5px);
    color: var(--brand-primary);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .calc-form {
        padding: 30px 20px;
    }

    .big-price {
        font-size: 3rem;
    }

    .form-header h1 {
        font-size: 2.2rem;
    }
}