/*
Theme Name: BD Somachar
Theme URI: https://bdsomachar.com
Author: Pervez
Author URI: https://bdsomachar.com
Description: A clean, responsive Bengali news theme for BD Somachar website
Version: 1.0.0
License: GPL v2 or later
Text Domain: bdsomachar
Domain Path: /languages
*/

/* Profile Photo Styles */
.profile-photo-preview img {
    object-fit: cover;
    border-radius: 50%;
}

.avatar {
    border-radius: 50%;
}

/* Profile upload widget */
.profile-photo-upload-widget {
    text-align: center;
}

.profile-photo-upload-widget input[type="file"] {
    border: 2px dashed #ddd;
    padding: 20px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.profile-photo-upload-widget input[type="file"]:hover {
    border-color: #1b78e2;
}

/* User stats */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2f4468;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .user-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .user-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Widget Styles */
.widget-shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Breaking News Ticker */
.breaking-news-ticker {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.ticker-container {
    height: 100%;
}

.ticker-list {
    transition: transform 0.5s ease;
}

/* Featured Slider */
.swiper-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Social Media Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Advertisement */
.advertisement-widget {
    position: relative;
}

.advertisement-widget:after {
    content: "Advertisement";
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 10px;
    color: #666;
    background: rgba(255,255,255,0.8);
    padding: 2px 5px;
    border-radius: 3px;
}

/* Weather Widget */
.weather-icon {
    font-size: 3rem;
}

.current-temp {
    font-size: 3.5rem;
    font-weight: bold;
}

.forecast-day {
    transition: all 0.3s ease;
}

.forecast-day:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swiper-container {
        height: 250px;
    }
    
    .ticker-container {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .weather-widget .grid {
        grid-template-columns: 1fr;
    }
    
    .social-media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}