/* Modern Dream Tips Section */
.dream-tips-modern {
    background: linear-gradient(120deg, #4fc3f7 0%, #e040fb 100%);
    color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(44,62,80,0.10);
    margin-bottom: 2rem;
}
.dream-tips-title {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #fff 0%, #ffd54f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}
.dream-tips-lead {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2rem;
}
.dream-tip-card {
    background: rgba(255,255,255,0.12);
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px rgba(44,62,80,0.10);
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    color: #fff;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.dream-tip-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    background: rgba(255,255,255,0.22);
}
.dream-tip-icon {
    display: inline-block;
    font-size: 2.7rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffd54f 40%, #e040fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    transition: font-size 0.18s, background 0.18s;
}
.dream-tip-card:hover .dream-tip-icon {
    font-size: 3.1rem;
    background: linear-gradient(135deg, #4fc3f7 40%, #ffd54f 100%);
}
@media (max-width: 600px) {
    .dream-tips-title {
        font-size: 1.3rem;
    }
    .dream-tip-card {
        min-height: 120px;
        padding: 1rem;
    }
    .dream-tip-icon {
        font-size: 2rem;
    }
}
/* Modern Popüler Arama Terimleri */
.modern-tags-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #4fc3f7 0%, #e040fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}
.gradient-icon {
    background: linear-gradient(135deg, #4fc3f7 40%, #e040fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    vertical-align: middle;
}
.modern-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.modern-tag-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    position: relative;
    border: none;
    cursor: pointer;
    min-width: 110px;
    background: linear-gradient(135deg, #e0e0e0 60%, #fff 100%);
}
.modern-tag-item:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(44,62,80,0.18);
    background: linear-gradient(135deg, #e040fb 40%, #4fc3f7 100%);
    color: #fff !important;
}
.modern-tag-icon {
    font-size: 1.5rem;
    transition: font-size 0.18s, color 0.18s;
    color: inherit;
}
.modern-tag-item:hover .modern-tag-icon {
    font-size: 1.8rem;
    color: #fff;
}
.modern-tag-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: inherit;
}
@media (max-width: 600px) {
    .modern-tag-item {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        min-width: 90px;
    }
    .modern-tag-icon {
        font-size: 1.2rem;
    }
}
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-color: #1a252f;
    --light-color: #ecf0f1;
    /* Font size variables for better readability */
    --base-font-size: 18px;
    --heading-font-size: 2.25rem;
    --subheading-font-size: 1.5rem;
    --card-title-font-size: 1.25rem;
    --btn-font-size: 1.1rem;
    --tag-font-size: 1rem;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    font-size: var(--base-font-size); /* Increased base font size */
}

h1, .display-4, .display-5 {
    font-size: var(--heading-font-size); /* Increased heading size */
    font-weight: bold;
}

h2, .display-6 {
    font-size: var(--subheading-font-size); /* Increased subheading size */
    font-weight: bold;
}

.card-title, h5 {
    font-size: var(--card-title-font-size); /* Increased card title size */
}

.btn, .interactive-button {
    font-size: var(--btn-font-size); /* Increased button font size */
}

.input-group-lg .form-control,
.form-select-lg {
    font-size: var(--btn-font-size); /* Increased input font size */
}

.tag-item {
    font-size: var(--tag-font-size); /* Increased tag font size */
    /* ...existing code... */
}

.dream-image-placeholder {
    /* ...existing code... */
    font-size: 4rem; /* Increased from 3rem to 4rem for better visibility */
    /* ...existing code... */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path d="M0,300V230c0,0,350-200,500-200s500,200,500,200v70H0z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    background-attachment: fixed;
    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 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: starfield 20s linear infinite;
}

@keyframes starfield {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-card .fa-3x {
    position: relative;
    z-index: 2;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
}

.dream-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.dream-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.dream-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.dream-card:hover::after {
    left: 100%;
}

.search-highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.text-primary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.dream-item {
    animation: fadeInUp 0.6s ease forwards;
}

.dream-item:nth-child(even) {
    animation-delay: 0.1s;
}

.alphabet-nav .btn {
    transition: all 0.3s ease;
}

.alphabet-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.alphabet-nav .btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Sticky sidebar */
.sticky-top {
    transition: all 0.3s ease;
}

/* Loading states */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Pagination styling */
.pagination .page-link {
    border-radius: 50px;
    margin: 0 2px;
    border: none;
    color: var(--secondary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Visual Enhancements */
.hero-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path d="M0,300V230c0,0,350-200,500-200s500,200,500,200v70H0z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    background-attachment: fixed;
    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 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: starfield 20s linear infinite;
}

@keyframes starfield {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Category Icons with Visual Effects */
.category-card .fa-3x {
    position: relative;
    z-index: 2;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
}

/* Dream Card Visual Enhancements */
.dream-card {
    position: relative;
    overflow: hidden;
}

.dream-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.dream-card:hover::after {
    left: 100%;
}

/* Image placeholders with gradients */
.dream-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.dream-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Statistics Charts */
.stat-chart {
    position: relative;
    height: 60px;
    background: #f8f9fa;
    border-radius: 30px;
    overflow: hidden;
    margin: 10px 0;
}

.stat-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #2980b9);
    border-radius: 30px;
    position: relative;
    transition: width 1s ease-in-out;
}

.stat-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%);
    background-size: 20px 20px;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

/* Visual Search Results */
.search-result-visual {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.search-result-visual:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.search-result-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Interactive Elements */
.interactive-button {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.interactive-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.interactive-button:hover::before {
    left: 100%;
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    border: none;
    color: white;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(52, 152, 219, 0.6);
}

/* Loading Spinner Enhancement */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(52, 152, 219, 0.5);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

/* Visual Breadcrumbs */
.breadcrumb-visual {
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
    border-radius: 25px;
    padding: 10px 20px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.breadcrumb-visual .breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: var(--secondary-color);
    font-weight: bold;
}

/* Tag Cloud Visual */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.tag-item {
    padding: 5px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.tag-item:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 991px) {
    .sticky-top {
        position: static !important;
    }
    
    .alphabet-nav {
        max-height: 120px;
        overflow-y: auto;
    }
    
    .dream-card .row {
        flex-direction: column;
    }
    
    .dream-card .col-4 {
        text-align: left !important;
        margin-top: 10px;
        font-size: var(--card-title-font-size);
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0 !important;
        background-attachment: scroll;
    }
    
    .hero-section .col-lg-6:last-child {
        margin-top: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .display-6 {
        font-size: 1.25rem;
    }
    
    .alphabet-nav .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .pagination .page-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .dream-image-placeholder {
        height: 150px;
        font-size: 2.5rem;
    }
    
    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .search-result-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    body {
        font-size: 16px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .input-group-lg .form-control {
        font-size: 0.95rem;
    }
    
    .tag-item {
        font-size: 0.9rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bs-body-bg: #1a1a1a;
        --bs-body-color: #e9ecef;
    }
    
    .card {
        background-color: #2d2d2d;
        border-color: #404040;
    }
    
    .dream-card:hover {
        background-color: #353535;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn, .search-section, .alphabet-nav, .filters, .pagination, .sticky-top {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .dream-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .dream-card {
        border: 2px solid #000;
    }
    
    .btn-outline-primary {
        border-width: 2px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}
