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

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #e0e0e0;
    line-height: 1.6;
}

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

header {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-title-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.site-title-link:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.report-button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.report-button:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.report-icon {
    width: 20px;
    height: 20px;
}

.ad-item {
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #404040;
    animation: fadeIn 0.6s ease-out;
    display: flex;
    flex-direction: column;
}

.ad-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #555;
}

.ad-row {
    display: flex;
    gap: 1px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.ad-item {
    flex: 1;
    min-width: 200px;
    max-width: calc(20% - 12px);
}

.ad-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Resim yükleme hatası için fallback */
.ad-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #404040 0%, #555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-image[data-error="true"]::before {
    content: 'Resim Yüklenemedi';
    opacity: 1;
}

.ad-image:hover {
    transform: scale(1.05);
}

.ad-image:last-child {
    border-right: none;
}

.ad-content {
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.button-group {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    flex-direction: column;
}

.ad-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title-text {
    font-size: 20px;
    color: #e0e0e0;
    font-weight: bold;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.add-ad-section {
    text-align: center;
    margin-top: 50px;
}

.add-ad-button {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
}

.add-ad-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #777;
}

.add-ad-button img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

/* Responsive tasarım */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .ad-image {
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .ad-item {
        max-width: calc(33.333% - 10px); /* 3 per row on tablets */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    
    /* Mobilde de 5'li düzen korunuyor */
    .ad-row {
        flex-direction: row;
        gap: 0px;
    }
    
    .ad-item {
        max-width: calc(20% - 0px);
        min-width: calc(20% - 0px);
        margin-bottom: 2px;
    }
    
    .ad-image {
        height: 120px;
    }
    
    .ad-content {
        padding: 8px;
    }
    
    .title-text {
        font-size: 12px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 3px;
    }
    
    header {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    
    .contact-info p {
        font-size: 11px;
    }
    
    .contact-whatsapp {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    /* Küçük mobilde de 5'li düzen korunuyor */
    .ad-row {
        flex-direction: row;
        gap: 0px;
    }
    
    .ad-item {
        max-width: calc(20% - 0px);
        min-width: calc(20% - 0px);
        margin-bottom: 1px;
    }
    
    .ad-image {
        height: 100px;
    }
    
    .ad-content {
        padding: 6px;
    }
    
    .title-text {
        font-size: 10px;
        line-height: 1.1;
    }
    
    .add-ad-button {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    background: #2d2d2d;
    border-radius: 10px;
    border: 1px solid #404040;
}

footer p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


