:root {
    --brand-main: #009d6c;
    --brand-neon: #00ffbf;
    --brand-dark: #006b4a;
    --text-dark: #1f2937;
    --text-gray: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.6);
    --sidebar-bg: rgba(0, 0, 0, 0.02);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #009d6c 0%, #004d33 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    padding-bottom: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.hero .logo {
    height: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.magaza-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    width: 100%;
}

.kategori {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.kat-select {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.kat-select:hover,
.kat-select.active {
    background: #fff;
    color: var(--brand-main);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr 260px;
    grid-template-rows: auto 1fr auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    border-color: #fff;
}

.card::after {
    content: '';
    grid-column: 3;
    grid-row: 1 / 99;
    background: var(--sidebar-bg);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.atolye-ikonu {
    grid-column: 1;
    grid-row: 1 / 99;
    background: rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 220px;
}

.atolye-ikonu img {
    width: 100%;
    max-width: 100px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s;
}

.card:hover .atolye-ikonu img {
    transform: scale(1.1);
}

.baslik-alani {
    grid-column: 2;
    padding: 25px 25px 10px;
}

.atolye-baslik {
    font-size: 1.4rem;
    font-weight: 800;
    color: #009d6c;
    line-height: 1.2;
}

.alan {
    grid-column: 2;
    display: flex;
    align-items: baseline;
    padding: 5px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.alan:last-of-type {
    border-bottom: none;
}

.tür {
    min-width: 120px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.veri {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    text-transform: capitalize;
}

.egitmen-table {
    grid-column: 2;
    margin: 15px 25px;
    padding: 10px;
    background: rgba(0, 157, 108, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 157, 108, 0.1);
    font-size: 0.85rem;
}

.egitmen-table p:first-child {
    color: var(--brand-main);
    font-weight: 700;
    margin-bottom: 2px;
}

.kalan-container {
    grid-column: 3;
    grid-row: 1;
    text-align: center;
    padding: 20px 10px 0;
    z-index: 1;
}

.kontenjanyok-uyari {
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
}

.kontenjanvar-uyari {
    color: #009d6c;
    font-size: 0.80rem;
    font-weight: 600;
}

.alan:nth-last-of-type(1) {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 20px 5px;
    border: none;
    z-index: 1;
    margin-top: auto;
}

.alan:nth-last-of-type(1) .tür {
    display: none;
}

.alan:nth-last-of-type(1) .veri {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand-main);
    letter-spacing: -1px;
}

.submit-button {
    grid-column: 3;
    grid-row: 3;
    width: calc(100% - 40px);
    margin: 5px 20px auto;
    padding: 14px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1;
    background: linear-gradient(90deg, #009d6c 0%, #00ca92 100%);
    box-shadow: 0 4px 10px rgba(0, 157, 108, 0.3);
    transition: all 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 157, 108, 0.4);
}

.submit-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 5px rgba(0, 157, 108, 0.2);
}

@media (max-width: 900px) {
    .card {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .card::after {
        display: none;
    }

    .atolye-ikonu {
        order: -1;
        width: 100%;
        height: 100px;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 10px;
    }

    .atolye-ikonu img {
        max-height: 80px;
    }

    .baslik-alani,
    .alan,
    .egitmen-table {
        padding-left: 20px;
        padding-right: 20px;
    }

    .kalan-container {
        text-align: left;
        padding: 10px 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .alan:nth-last-of-type(1) {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        margin-top: 0;
        background: rgba(0, 0, 0, 0.02);
    }

    .submit-button {
        margin: 0 20px 20px;
        width: calc(100% - 40px);
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 20px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    transform: scale(0.9);
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 20px;
    border: 3px solid transparent;
    background-clip: content-box;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
}

.close-modal:hover {
    color: #ef4444;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.baslik-kapsayici {
    background-color: #f0fdf4 !important; 
    border: 1px solid #dcfce7 !important;
    border-radius: 12px !important;
    padding: 25px 20px !important;
    text-align: center !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
}

.baslik-kapsayici .form-baslik {
    color: #009d6c !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
}

.baslik-kapsayici .form-aciklama {
    color: #4b5563 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.modal-meta, .modal-meta-2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.ayrac {
    display: none;
}

#modalTarih, #modalSaat, #modalKategori, #modalAltKategori {
    background-color: #f1f5f9;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

#modalTarih:hover, #modalSaat:hover, #modalKategori:hover, #modalAltKategori:hover {
    transform: translateY(-2px);
    border-color: var(--brand-main);
    background-color: #fff;
}

.modal-meta span i, .modal-meta span img, 
.modal-meta-2 span i, .modal-meta-2 span img {
    color: var(--brand-main);
    font-size: 1.1em;
}

.modal-meta-3 {
    margin-top: 25px;
    background: linear-gradient(to right, #f8fafc, #ffffff);
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

#modalEgitmenAdi {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 5px;
}

#modalEgitmenAdi i {
    margin-right: 8px;
}

#modalEgitmenBilgisi {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

.modal-meta-4 {
    margin-top: 20px;
    text-align: center;
    padding: 10px;
}

#fiyatBilgisi {
    display: inline-block;
    background: rgba(0, 157, 108, 0.1);
    color: var(--brand-main);
    font-size: 1.8rem;
    font-weight: 900;
    padding: 10px 30px;
    border-radius: 12px;
    letter-spacing: -1px;
}

.modal-desc {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
    text-align: center !important;
}

.modal-desc i {
    color: #cbd5e1;
    margin: 0 5px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: #f8fafc;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand-main);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 157, 108, 0.1);
}

.tel-uyari {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

.hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #d1d5db 50%, rgba(0, 0, 0, 0) 100%);
    width: 50%;
    margin: 10px auto;
    opacity: 0.3;
}

.modal-ikon-img {
    height: 1.1em;
    width: auto;
    margin-right: 8px;
    vertical-align: text-bottom;
}

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

@media (max-width: 600px) {
    .modal-content {
        padding: 25px;
        max-height: 85vh;
        border-radius: 20px;
        width: 95%;
    }
}

.footer-container {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto !important;
    color: #fff;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 60px 4% 30px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    border-radius: 0 !important;
}

.logo-alani {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.logo-alani img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s;
}

.footer-container h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--brand-neon);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-container h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--brand-main);
    border-radius: 2px;
}

.bizi-takip-et, 
.iletisime-gec, 
.web-tasarim {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-container a:not(.logo-alani a) {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-container a:not(.logo-alani a):hover {
    color: #fff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-container i {
    width: 20px;
    text-align: center;
    color: var(--brand-neon);
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.footer-container a:hover i {
    transform: scale(1.2) rotate(5deg);
}

.sag-alan {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.sag-alan .copyright {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        padding: 40px 30px;
    }
    
    .logo-alani {
        grid-column: 1 / -1;
        align-items: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .footer-container h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .bizi-takip-et, 
    .iletisime-gec, 
    .web-tasarim {
        align-items: center;
    }
    
    .sag-alan {
        flex-direction: column;
    }
}



.modal-footer {
    margin-top: auto; 
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    

    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.bank {
    height: 32px;
    width: auto;

    transition: all 0.3s ease;
    cursor: help; 
}


.modal-footer:hover .bank {
    transform: scale(1.05);
    filter: brightness(0) saturate(100%) invert(46%) sepia(97%) saturate(1354%) hue-rotate(129deg) brightness(96%) contrast(101%);
}