:root {
    --primary-color: #9B7ED9;
    --primary-light: #C4A8E8;
    --primary-dark: #7B5FBF;

    --bg-dark: #16101F;
    --card-bg-dark: #2B2140;

    --input-bg: #17121F;

    --text-dark: #ECE6F7;
    --text-secondary: #C8C0D3;
    --muted: #958CA2;

    --border: #423653;

    --shadow-dark: rgba(0, 0, 0, 0.45);

    --success-bg: #14251C;
    --success-border: #285239;
    --success-text: #9BE2B2;

    --error-bg: #291619;
    --error-border: #633038;
    --error-text: #F1A8B0;

    --heading: var(--primary-light);
    --input-bg-hover: #1A1423;
    --border-strong: #59496B;
    --placeholder: #696170;
    --file-btn-bg: #352946;
    --file-btn-border: #5A496C;
    --file-btn-hover: #443455;
    --card-shadow: rgba(0, 0, 0, 0.35);

    --transition: all 0.3s ease;
}

/* Açık tema: aynı belirteçler açık değerlerle yeniden tanımlanır.
   (Sayfanın "-dark" adlı değişkenleri "şu anki tema" anlamında kullanılıyor.) */
html:not(.dark-mode) {
    --bg-dark: #F8F6FC;
    --card-bg-dark: #FFFFFF;
    --input-bg: #FBF9FE;

    --text-dark: #2D2640;
    --text-secondary: #5C5470;
    --muted: #7A7290;

    --border: #DCD3EC;
    --shadow-dark: rgba(80, 55, 140, 0.18);

    --success-bg: #E9F7EE;
    --success-border: #A9DBBB;
    --success-text: #1E6B3A;

    --error-bg: #FDECEE;
    --error-border: #F2B5BC;
    --error-text: #9B2434;

    --heading: var(--primary-dark);
    --input-bg-hover: #FFFFFF;
    --border-strong: #B9A8DC;
    --placeholder: #9A91AE;
    --file-btn-bg: #EFE9FA;
    --file-btn-border: #CFC1EA;
    --file-btn-hover: #E4DAF6;
    --card-shadow: rgba(80, 55, 140, 0.14);
}


/* Genel */

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

html {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;

    font-family:
        'Segoe UI',
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    background: var(--bg-dark);
    color: var(--text-dark);

    line-height: 1.6;

    overflow-x: hidden;
}


/* Navbar */

.navbar {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px var(--shadow-light);
            height: 4rem;
        }

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

        .logo {
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: var(--transition);
            font-weight: 500;
            white-space: nowrap;
        }

        .nav-links a:hover {
            opacity: 0.8;
            transform: translateY(-2px);
        }


        .nav-links a.active {
        font-weight: 700;
        position: relative;
        }

        .nav-links a.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 3px;
        background: rgb(196, 145, 4);
        border-radius: 2px;
        }

        /* Fotoğraflar açılır menüsü */
        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown-toggle {
            position: relative;
            -webkit-tap-highlight-color: transparent;
        }

        .nav-dropdown-toggle-current {
            font-weight: 700;
        }

        .nav-dropdown-toggle-current::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -8px;
            height: 3px;
            background: rgb(196, 145, 4);
            border-radius: 2px;
        }

        .nav-dropdown-toggle::after {
            content: "\25BE";
            display: inline-block;
            margin-left: 0.35rem;
            font-size: 0.7rem;
            vertical-align: middle;
            transition: transform 0.25s ease;
        }

        .nav-dropdown:hover .nav-dropdown-toggle::after,
        .nav-dropdown.open .nav-dropdown-toggle::after {
            transform: rotate(180deg);
        }

        .nav-dropdown-menu {
            list-style: none;
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 0.75rem;
            min-width: 170px;
            padding: 0.5rem 0;
            background: var(--primary-dark);
            border-radius: 10px;
            box-shadow: 0 10px 25px var(--shadow-light);
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: var(--transition);
            z-index: 1001;
        }

        .nav-dropdown-menu li {
            width: 100%;
        }

        .nav-dropdown-menu a {
            display: block;
            position: relative;
            padding: 0.6rem 1.25rem;
            white-space: nowrap;
        }

        .nav-dropdown-menu a.active {
            font-weight: 700;
        }

        .nav-dropdown-menu a.active::after {
            content: "";
            position: absolute;
            left: 1.25rem;
            right: 1.25rem;
            bottom: 4px;
            height: 2px;
            background: rgb(196, 145, 4);
            border-radius: 2px;
        }

        .nav-dropdown:hover .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }


        .theme-toggle {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            transition: var(--transition);
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .mobile-menu {
            display: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .nav-logo {
            width: 500px;
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }


/* Feedback alanı */

.feedback-container {
    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    padding: 70px 20px;
}


/* Kart */

.feedback-card {
    position: relative;

    background: var(--card-bg-dark);

    border-radius: 24px;

    padding: 42px;

    box-shadow:
        0 20px 60px var(--card-shadow);
}

.feedback-card::before {
    content: "";

    position: absolute;

    top: 0;

    left: 12%;
    right: 12%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(155, 126, 217, 0.8),
            transparent
        );
}


/* Başlık */

.header {
    margin-bottom: 32px;
}

.header h1 {
    margin-bottom: 10px;

    color: var(--heading);

    font-size: clamp(1.8rem, 5vw, 2.2rem);

    font-weight: 750;

    letter-spacing: -0.7px;
}

.header p {
    color: var(--text-secondary);

    font-size: 0.96rem;

    line-height: 1.7;
}


/* Form */

.form-group {
    margin-bottom: 23px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: var(--text-dark);

    font-size: 0.93rem;

    font-weight: 650;
}

.optional {
    color: var(--muted);

    font-size: 0.82rem;

    font-weight: 400;
}


/* Inputlar */

input,
select,
textarea {
    width: 100%;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 13px 14px;

    font: inherit;

    font-size: 0.94rem;

    color: var(--text-dark);

    background: var(--input-bg);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--placeholder);
}

input:hover,
select:hover,
textarea:hover {
    border-color: var(--border-strong);

    background: var(--input-bg-hover);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);

    background: var(--input-bg-hover);

    box-shadow:
        0 0 0 3px rgba(155, 126, 217, 0.13);
}

select {
    cursor: pointer;
}

select option {
    background: var(--card-bg-dark);

    color: var(--text-dark);
}

textarea {
    min-height: 180px;

    resize: vertical;

    line-height: 1.6;
}


/* Dosya alanı */

.file-area {
    padding: 20px;

    background: var(--input-bg);

    border: 1px dashed var(--border-strong);

    border-radius: 14px;

    transition: var(--transition);
}

.file-area:hover {
    border-color: var(--primary-color);

    background: var(--input-bg-hover);
}

.file-area input {
    border: 0;

    padding: 0;

    background: transparent;

    cursor: pointer;
}

.file-area input:hover,
.file-area input:focus {
    border: 0;

    box-shadow: none;

    background: transparent;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;

    padding: 9px 13px;

    border: 1px solid var(--file-btn-border);

    border-radius: 9px;

    background: var(--file-btn-bg);

    color: var(--text-dark);

    font: inherit;

    font-size: 0.85rem;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transition);
}

input[type="file"]::file-selector-button:hover {
    background: var(--file-btn-hover);

    border-color: var(--primary-color);
}

.file-info {
    margin-top: 10px;

    color: var(--muted);

    font-size: 0.79rem;

    line-height: 1.55;
}


/* Honeypot */

.honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* Gönder butonu */

#submitButton {
    width: 100%;

    border: none;

    border-radius: 12px;

    padding: 14px 20px;

    background: var(--primary-color);

    color: white;

    font: inherit;

    font-size: 0.95rem;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 24px rgba(155, 126, 217, 0.18);

    transition: var(--transition);
}

#submitButton:hover {
    background: var(--primary-light);

    transform: translateY(-1px);

    box-shadow:
        0 10px 30px rgba(155, 126, 217, 0.25);
}

#submitButton:active {
    transform: translateY(1px);
}

#submitButton:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* Durum mesajları */

.status {
    display: none;

    margin-bottom: 22px;

    padding: 13px 15px;

    border-radius: 11px;

    font-size: 0.9rem;

    line-height: 1.5;
}

.status.success {
    display: block;

    color: var(--success-text);

    background: var(--success-bg);

    border: 1px solid var(--success-border);
}

.status.error {
    display: block;

    color: var(--error-text);

    background: var(--error-bg);

    border: 1px solid var(--error-border);
}


/* Geri dön */

.back-link {
    display: block;

    margin-top: 22px;

    color: var(--muted);

    text-align: center;

    text-decoration: none;

    font-size: 0.86rem;

    transition: var(--transition);
}

.back-link:hover {
    color: var(--heading);
}


/* Footer */

.footer {
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-color)
        );

    color: white;

    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );

    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section p {
    margin: 0;
}

.footer-links {
    list-style: none;

    padding: 0;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: white;

    text-decoration: none;

    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 0.75;
}

.social-links {
    display: flex;

    gap: 1rem;

    margin-top: 1rem;
}

.social-links a {
    color: white;

    font-size: 1.5rem;

    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);

    opacity: 0.8;
}

.social-links .bluesky-icon {
    width: 1.5rem;

    height: 1.5rem;

    vertical-align: middle;
}

.footer-bottom {
    text-align: center;

    margin-top: 2rem;

    padding-top: 1rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
}


/* Mobil */

        .nav-home-icon {
            display: none;
            font-size: 1.1rem;
        }

        @media (max-width: 1220px) and (min-width: 769px) {
            .nav-home-text {
                display: none;
            }

            .nav-home-icon {
                display: inline-block;
            }

            .navbar {
                height: auto;
                min-height: 4rem;
            }

            .nav-container {
                flex-wrap: wrap;
                row-gap: 0.5rem;
            }

            .nav-links {
                flex-wrap: wrap;
                justify-content: flex-end;
                row-gap: 0.5rem;
                gap: 1.25rem;
            }
        }

@media (max-width: 768px) {

    .navbar {
        padding: 0.85rem 1.2rem;
    }

    .nav-logo {
        width: 220px;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        background: var(--primary-color);

        flex-direction: column;

        padding: 1rem;

        gap: 0.25rem;

        box-shadow:
            0 8px 15px var(--shadow-dark);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;

        padding: 0.75rem 0.5rem;
    }

    .mobile-menu {
        display: block;
    }

        .nav-dropdown-menu {
            position: static;
            max-height: 0;
            overflow: hidden;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            background: rgba(0, 0, 0, 0.18);
            border-radius: 8px;
            margin-top: 0;
            margin-left: 0.5rem;
            padding: 0;
            border-left: 2px solid rgba(255, 255, 255, 0.2);
            transition: max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
        }

        .nav-dropdown.open .nav-dropdown-menu {
            max-height: 160px;
            margin-top: 0.4rem;
            padding: 0.35rem 0;
        }

        .nav-dropdown-menu a {
            padding: 0.85rem 1.5rem;
            font-size: 0.95rem;
        }

        .nav-dropdown-menu a.active::after {
            left: 1.5rem;
            right: 1.5rem;
            bottom: 8px;
        }

    .feedback-container {
        padding: 40px 15px;
    }

    .feedback-card {
        padding: 30px 20px;

        border-radius: 19px;
    }

    .footer {
        padding:
            2.5rem
            1.5rem
            1rem;
    }

    .footer-content {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}


@media (max-width: 480px) {

    .nav-logo {
        width: 160px;
    }

    .feedback-container {
        padding:
            25px
            12px;
    }

    .feedback-card {
        padding:
            27px
            18px;
    }

    .header h1 {
        font-size: 1.7rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    textarea {
        min-height: 150px;
    }
}