/**
 * =====================================================
 * GreenGift Pro - Ana Stil Dosyası
 * Konum: C:\xampp\htdocs\greengift\assets\css\style.css
 * =====================================================
 * Tasarım: Premium Dark (Eco-Luxury)
 */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --bg-light: #1a1a1a;
    --primary: #2ECC71;
    --secondary: #D4AF37;
    --text-main: #E0E0E0;
    --text-dim: #999;
    --border: #333;
    --danger: #e74c3c;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

.text-green { color: var(--primary); }
.text-gold { color: var(--secondary); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-dim); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: #000;
}

.btn-primary:hover {
    background: #f0c847;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.5));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(46,204,113,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== COUNTERS ===== */
.counters {
    padding: 6rem 0;
    background: var(--bg-light);
    margin: 3rem 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.counter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 700;
}

.counter-label {
    color: var(--text-dim);
    margin-top: 0.5rem;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 5px;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
    color: var(--text-dim);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* ===== BRANDS GRID ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.brand-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.2);
}

.brand-image {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.brand-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.brand-card:hover .brand-overlay {
    opacity: 1;
}

.brand-info {
    padding: 1.5rem;
}

.brand-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.brand-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--bg-light);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-dim);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: #000;
}

/* ===== GLOW EFFECT ===== */
.glow-effect {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,204,113,0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-menu { 
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }
    .nav-menu.active { left: 0; }
    .mobile-menu-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
}

/* ===== ADMIN STYLES ===== */
.admin-body {
    background: var(--bg-dark);
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-card);
    padding: 2rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-main {
    margin-left: 260px;
    flex: 1;
    padding: 2rem;
}

.admin-nav {
    margin-top: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    background: var(--primary);
    color: #000;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    font-size: 3rem;
}

.stat-info h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.activity-list {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 2rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
    border-bottom: none;
}

.demo-info {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--primary);
    border-radius: 5px;
    text-align: center;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 50%, var(--bg-dark) 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.2);
}

.step-number-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.step-icon {
    font-size: 4rem;
    margin: 1.5rem 0 1rem;
    filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.3));
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-card p {
    color: var(--text-dim);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(46,204,113,0.05) 0%, rgba(212,175,55,0.05) 100%);
    margin: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

/* ===== ADMIN TABLE STYLES ===== */
.admin-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.admin-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table thead {
    background: var(--bg-light);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-table tr:hover {
    background: rgba(46, 204, 113, 0.05);
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(46, 204, 113, 0.2);
    color: var(--primary);
}

.badge-default {
    background: var(--bg-light);
    color: var(--text-dim);
}

.badge-danger {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #c0392b;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}


/* === Theme variables (admin settings) === */

body{color:var(--text-main); background:var(--bg-dark);}
a{color:var(--navbar-link);}
a:hover{color:var(--navbar-hover);}
.btn-primary{background:var(--btn-primary-bg); color:var(--btn-primary-text);}
.btn-primary:hover{filter:brightness(1.05);}
.btn-secondary{background:var(--btn-secondary-bg); color:var(--btn-secondary-text); border:1px solid var(--btn-secondary-border);}
.btn-secondary:hover{filter:brightness(1.05);}
.header-bottom a{color:var(--navbar-link);}
.header-bottom a:hover{color:var(--navbar-hover);}
footer, .footer{color:var(--footer-text);}
footer a{color:var(--footer-link);}
