/* ===== GLOBAL DARK PREMIUM THEME ===== */
/* Tüm sayfalarda tutarlı dark premium tasarım */

/* Root Variables */
:root {
    --dark-bg-primary: #1A1A1A;
    --dark-bg-secondary: #2D2D2D;
    --gold-primary: #C8A96A;
    --gold-secondary: #D9C494;
    --text-white: rgba(255, 255, 255, 0.9);
    --text-white-dim: rgba(255, 255, 255, 0.7);
    --text-white-subtle: rgba(255, 255, 255, 0.5);
}

/* Global Body Dark Theme */
body {
    background: linear-gradient(135deg, var(--dark-bg-primary) 0%, var(--dark-bg-secondary) 100%);
    color: var(--text-white);
    min-height: 100vh;
}

/* Main Content Area */
main {
    background: transparent;
    color: var(--text-white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 85px;
    min-height: calc(100vh - 85px);
}

/* Section Backgrounds */
section {
    background: transparent;
    width: 100%;
    max-width: 100%;
    padding: 60px 0;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Headings - Normalized Sizes */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Paragraphs */
p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-white-dim);
}

/* Links */
a {
    color: var(--gold-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-secondary);
}

/* Cards & Containers */
.card, .container-box, .content-box {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(45, 45, 45, 0.92));
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons - Primary */
.btn-primary, button[type="submit"] {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #1A1A1A;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover, button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 169, 106, 0.4);
    color: #000000;
}

/* Buttons - Secondary */
.btn-secondary, .btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(200, 169, 106, 0.5);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover, .btn-outline:hover {
    background: rgba(200, 169, 106, 0.1);
    border-color: rgba(200, 169, 106, 0.7);
    color: var(--gold-secondary);
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(200, 169, 106, 0.3);
    color: var(--text-white);
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(200, 169, 106, 0.6);
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.1);
}

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

/* Labels */
label {
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Tables */
table {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: rgba(200, 169, 106, 0.15);
}

th {
    color: var(--gold-primary);
    font-weight: 700;
    padding: 16px;
    border-bottom: 2px solid rgba(200, 169, 106, 0.3);
}

td {
    color: var(--text-white);
    padding: 14px 16px;
    border-bottom: 1px solid rgba(200, 169, 106, 0.1);
}

tr:hover {
    background: rgba(200, 169, 106, 0.05);
}

/* Badges */
.badge {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #1A1A1A;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #86efac;
}

.alert-warning {
    background: rgba(234, 179, 8, 0.1);
    border-color: #eab308;
    color: #fde047;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #fca5a5;
}

.alert-info {
    background: rgba(200, 169, 106, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-secondary);
}

/* Footer Dark Theme */
footer {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.98), rgba(26, 26, 26, 0.95));
    border-top: 1px solid rgba(200, 169, 106, 0.3);
    color: var(--text-white-dim);
}

footer h3, footer h4 {
    color: var(--gold-primary);
}

footer a {
    color: var(--text-white-dim);
}

footer a:hover {
    color: var(--gold-secondary);
}

/* Scrollbar Dark Theme */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-primary));
}

/* Selection */
::selection {
    background: rgba(200, 169, 106, 0.3);
    color: #FFFFFF;
}

/* Product Cards */
.product-card {
    background: linear-gradient(135deg, #2D2D2D, #1A1A1A);
    border: 2px solid rgba(200, 169, 106, 0.3);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(200, 169, 106, 0.4), 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(200, 169, 106, 0.7);
}

.product-card h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-card h2 {
    color: #FFFFFF;
    font-size: 1.75rem;
    font-weight: 800;
}

.product-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

/* Feature Lists */
.features-list li {
    background: rgba(200, 169, 106, 0.15);
    border: 1px solid rgba(200, 169, 106, 0.2);
    border-radius: 12px;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.features-list li:hover {
    background: rgba(200, 169, 106, 0.25);
    border-color: rgba(200, 169, 106, 0.4);
    transform: translateX(6px);
}

/* Breadcrumbs */
.breadcrumb {
    background: rgba(26, 26, 26, 0.5);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(200, 169, 106, 0.2);
}

.breadcrumb a {
    color: var(--text-white-dim);
}

.breadcrumb a:hover {
    color: var(--gold-primary);
}

.breadcrumb-separator {
    color: var(--text-white-subtle);
    margin: 0 8px;
}

/* Modal */
.modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(45, 45, 45, 0.95));
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-bottom: 1px solid rgba(200, 169, 106, 0.3);
}

.modal-footer {
    border-top: 1px solid rgba(200, 169, 106, 0.3);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 8px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: rgba(200, 169, 106, 0.2);
    border-color: rgba(200, 169, 106, 0.5);
    color: var(--gold-secondary);
}

.pagination .active {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: #1A1A1A;
    border-color: transparent;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(200, 169, 106, 0.2);
    border-top: 3px solid var(--gold-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-card h3 {
        font-size: 1.5rem;
    }
    
    input, textarea, select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}
