/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f5e9 0%, #e0f2f1 100%);
    background-attachment: fixed;
}

/* Hero Section - Deniz ve Yosun Teması */
.hero-section {
    background: linear-gradient(135deg, #1b5e20 0%, #00695c 50%, #004d40 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
}

.stat-box {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8e9 100%);
    color: #2e7d32;
    padding: 25px;
    border-radius: 15px;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.15);
    transition: all 0.3s ease;
    border-left: 4px solid #4caf50;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.25);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b5e20;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stat-box p {
    margin: 0;
    color: #558b2f;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Card Styles - Organik ve Doğal */
.yosun-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.yosun-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(27, 94, 32, 0.2);
}

.yosun-card .card-img-top {
    border-bottom: 3px solid #4caf50;
}

.yosun-card .card-title {
    color: #1b5e20;
    font-size: 1.1rem;
    font-weight: 600;
}

.yosun-card .card-subtitle {
    font-size: 0.95rem;
    color: #558b2f;
}

.yosun-card .card-footer {
    background: linear-gradient(to right, #f1f8e9, #e8f5e9);
    border-top: 1px solid #c5e1a5;
}

/* Badge Özelleştirme - Doğal Renkler */
.badge {
    font-weight: 500;
    padding: 0.5em 1em;
    margin-right: 5px;
    border-radius: 20px;
}

.badge.bg-info {
    background: linear-gradient(135deg, #26a69a 0%, #00897b 100%) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%) !important;
}

/* Yıldız Rating */
.text-warning {
    color: #ffa726 !important;
    font-size: 1.1rem;
}

/* Karşılaştırma Sayfası */
.compare-item {
    border: 2px solid #c5e1a5;
    border-radius: 15px;
    padding: 20px;
    background: white;
    transition: all 0.3s ease;
}

.compare-item.selected {
    border-color: #4caf50;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.compare-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.4);
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border: none;
}

.compare-btn:hover {
    background: linear-gradient(135deg, #388e3c 0%, #1b5e20 100%);
    transform: scale(1.05);
}

/* Detay Sayfası */
.detail-header {
    background: linear-gradient(135deg, #1b5e20 0%, #00695c 50%, #004d40 100%);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.detail-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Yorum Kartı - Organik Tasarım */
.comment-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8e9 100%);
    border-left: 5px solid #4caf50;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(27, 94, 32, 0.1);
    transition: all 0.3s ease;
}

.comment-card:hover {
    box-shadow: 0 5px 20px rgba(27, 94, 32, 0.2);
    transform: translateX(5px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #1b5e20;
}

.comment-date {
    font-size: 0.85rem;
    color: #558b2f;
}

.comment-rating {
    color: #ffa726;
    font-size: 1.1rem;
}

/* Harita */
#map {
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.2);
    border: 3px solid #81c784;
}

/* İstatistik Grafikleri */
.chart-container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.1);
    margin-bottom: 20px;
    border-top: 4px solid #4caf50;
}

/* Admin Panel - Doğa Teması */
.admin-sidebar {
    background: linear-gradient(180deg, #1b5e20 0%, #00695c 100%);
    min-height: calc(100vh - 56px);
    padding: 20px;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.admin-sidebar .nav-link {
    color: #e8f5e9;
    padding: 14px 18px;
    margin-bottom: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateX(5px);
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.admin-card {
    border: none;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.1);
    margin-bottom: 20px;
    border-radius: 15px;
    border-top: 4px solid #4caf50;
}

/* Form Stilleri */
.form-label {
    font-weight: 600;
    color: #1b5e20;
    margin-bottom: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Buton Stilleri - Yeşil Tema */
.btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border: none;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #388e3c 0%, #1b5e20 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    border: none;
}

.btn-info {
    background: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
    border: none;
}

/* Tablo Stilleri - Organik */
.table {
    background: white;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
}

.table thead th {
    border: none;
    padding: 15px;
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: #f1f8e9;
    transition: background-color 0.3s ease;
}

/* Navbar - Doğa Teması */
.navbar {
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

.navbar-dark {
    background: linear-gradient(135deg, #1b5e20 0%, #00695c 100%) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

/* Alert Özelleştirme */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
    border-left: 4px solid #4caf50;
}

.alert-info {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    color: #00695c;
    border-left: 4px solid #26a69a;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border-left: 4px solid #ff9800;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-box h3 {
        font-size: 2rem;
    }
    
    .compare-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Loading Spinner - Yeşil */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    border-top-color: #4caf50;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer - Koyu Yeşil */
footer {
    background: linear-gradient(135deg, #1b5e20 0%, #004d40 100%);
}

footer a {
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: #e8f5e9;
}

footer a:hover {
    opacity: 0.8;
    color: #fff;
}

/* Özel Scrollbar - Yeşil */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #e8f5e9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4caf50 0%, #2e7d32 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #388e3c 0%, #1b5e20 100%);
}

/* Galeri Öğeleri */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.15);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Card Hover Efektleri */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.15);
}

/* Input Focus - Yeşil Glow */
input:focus, textarea:focus, select:focus {
    border-color: #4caf50 !important;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25) !important;
}

/* Özel Badge Renkleri */
.badge.bg-light {
    background: #f1f8e9 !important;
    color: #1b5e20;
    border: 1px solid #c5e1a5;
}

/* Pagination */
.pagination .page-link {
    color: #2e7d32;
    border-color: #c5e1a5;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border-color: #4caf50;
}

.pagination .page-link:hover {
    background-color: #f1f8e9;
    color: #1b5e20;
}

/* Admin Navbar Özel */
.admin-navbar {
    background: linear-gradient(135deg, #1b5e20 0%, #00695c 100%) !important;
    box-shadow: 0 2px 15px rgba(27, 94, 32, 0.3);
}

/* Özel İkonlar */
.bi-moisture {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Hover Efektleri - Yeşil */
.btn:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Card Başlıkları */
.card-header {
    font-weight: 600;
    border-radius: 15px 15px 0 0 !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%) !important;
    border: none;
}

.card-header.bg-success {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
    border: none;
}

.card-header.bg-info {
    background: linear-gradient(135deg, #26a69a 0%, #00897b 100%) !important;
    border: none;
}

.card-header.bg-warning {
    background: linear-gradient(135deg, #ffa726 0%, #f57c00 100%) !important;
    border: none;
}

/* Özel Print Stili */
@media print {
    .no-print {
        display: none !important;
    }
    body {
        background: white !important;
    }
}
