/* =======================================
   EUROPEAN AWAMI LEAGUE - MOBILE FRIENDLY CSS
   ======================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Bengali', 'Helvetica', 'Helvetica Neue','HelveticaNeue','Lucida Grande', 'Inter', 'Segoe UI', Arial, sans-serif;
  
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

p, h1, h2, h3, a, input, textarea, button {
    font-family: inherit;
}

      /* ========== MODERN HEADER ========== */
        .site-header {
            background: linear-gradient(135deg, #006633 0%, #004d26 100%);
            color: white;
            padding: 0.75rem 1.5rem;
            box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.2);
            position: relative;
            z-index: 100;
            border-bottom: 3px solid #ffb347;
        }

        .header-container {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        /* ----- LOGO + TITLE ROW (flex for alignment) ----- */
        .brand-row {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.2rem;
            margin: 0.5rem 0 0.25rem 0;
        }

        .monogram-wrapper {
            flex-shrink: 0;
            transition: transform 0.25s ease;
        }

        .monogram-wrapper:hover {
            transform: scale(1.02);
        }

        .monogram {
            max-height: 80px;
            width: auto;
            border-radius: 50%;
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
            border: 2px solid rgba(255, 215, 120, 0.7);
            background: white;
            padding: 3px;
            object-fit: cover;
            transition: box-shadow 0.2s;
        }

        .title-group {
            text-align: center;
        }

        .title-group h1 {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.3px;
            background: linear-gradient(135deg, #fff 70%, #ffdfa5);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 15px;
            
        }

        .bengali-sub {
            font-size: 1.2rem;
            font-weight: 500;
            background: rgba(255,255,240,0.18);
            display: inline-block;
            padding: 0.2rem 1.2rem;
            border-radius: 40px;
            backdrop-filter: blur(2px);
            letter-spacing: 0.5px;
            font-family: 'Noto Sans Bengali', 'Segoe UI', 'Bangla', sans-serif;
            margin-bottom:5px;
        }

        /* ----- NAVIGATION (modern, glassmorphic) ----- */
        .main-nav {
            margin-top: 1rem;
            width: 100%;
        }

        .nav-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem;
            list-style: none;
            margin-bottom: 10px;
        }

        .nav-list li {
            margin: 0;
        }

        .nav-list a {
            display: inline-block;
            color: white;
            text-decoration: none;
            padding: 0.6rem 1.1rem;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 40px;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(4px);
            transition: all 0.25s ease;
            letter-spacing: 0.3px;
            border: 1px solid rgba(255,255,200,0.2);
        }

        .nav-list a:hover {
            background: #e03a3e;
            transform: translateY(-3px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.2);
            border-color: #ffc857;
        }

        /* active state simulation (optional for current page) */
        .nav-list a:active {
            transform: translateY(0);
        }



/* ===== MAIN CONTENT ===== */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* ===== NEWS SECTION ===== */
.news h2 {
    color: #006633;
    border-bottom: 3px solid #ff9933;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
}

/* News Item - Side by side layout */
.news-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Side by side layout for news items */
.news-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
}

/* Image column */
.news-image-col {
    flex: 0 0 240px;
}

.news-image-side {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background-color: #f0f0f0;
    border-radius: 8px;
}

/* Content column */
.news-content-col {
    flex: 1;
    min-width: 200px;
}

.news-content-col-full {
    flex: 1;
    width: 100%;
}

.news-content-col h3,
.news-content-col-full h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #006633;
    font-size: 1.3em;
}

.news-content-col small,
.news-content-col-full small {
    display: block;
    margin-bottom: 10px;
    color: #888;
    font-size: 0.8em;
}

.news-content-col p,
.news-content-col-full p {
    margin: 10px 0;
    line-height: 1.6;
}

/* Read More button */
.read-more {
    display: inline-block;
    color: #ff9933;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

.important-badge {
    display: inline-block;
    background: #ff9933;
    color: white;
    font-size: 0.65em;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}


/* View All Button */
.view-all {
    text-align: center;
    margin: 30px 0 20px;
}

.view-all-button {
    display: inline-block;
    background: #ff9933;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.view-all-button:hover {
    background: #e68a00;
}

/* News Detail Page */
.news-detail {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-detail h1 {
    color: #006633;
    margin-bottom: 15px;
}

.news-detail-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.news-full-content {
    line-height: 1.8;
    font-size: 1.05em;
    margin: 20px 0;
}

.back-button {
    display: inline-block;
    background: #006633;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.back-button:hover {
    background: #004d26;
}

/* Star rating with different colors based on level */
.star-rating[data-level="1"] { color: #999; }
.star-rating[data-level="2"] { color: #ff9933; }
.star-rating[data-level="3"] { color: #ff6600; }

/* ===== FOOTER ===== */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px 15px;
    margin-top: 40px;
    font-size: 0.85em;
}

footer p {
    margin: 5px 0;
}

/* ===== ADMIN PANEL - MOBILE FRIENDLY ===== */
.admin-container {
    max-width: 95%;
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-container h1 {
    color: #006633;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.admin-container h2 {
    color: #006633;
    font-size: 1.3em;
    margin: 20px 0 15px;
}

/* ===== FORMS ===== */
.add-post input,
.add-post textarea,
.add-post input[type="file"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.add-post textarea {
    resize: vertical;
    min-height: 150px;
}

button {
    background: #006633;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin: 10px 0;
}

button:hover {
    background: #004d26;
}

/* ===== ADMIN POST LIST ===== */
.admin-post {
    background: #f9f9f9;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #ff9933;
    border-radius: 5px;
    word-break: break-word;
}

.admin-post strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.admin-post a {
    display: inline-block;
    margin: 5px 10px 0 0;
    color: #006633;
    text-decoration: none;
    font-size: 0.9em;
}

/* ===== LOGIN PAGE ===== */
.login-page {
    background: linear-gradient(135deg, #006633 0%, #004d26 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 30px 25px;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.login-box h2 {
    color: #006633;
    font-size: 1.5em;
    margin-bottom: 5px;
}

.login-box h3 {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.error {
    color: red;
    margin: 10px 0;
    font-size: 0.9em;
}

.success {
    color: green;
    margin: 10px 0;
    font-size: 0.9em;
}

/* ===== PAGE HEADINGS ===== */
main h2 {
    color: #006633;
    margin-bottom: 20px;
    font-size: 1.6em;
    border-bottom: 2px solid #ff9933;
    padding-bottom: 10px;
}

main p {
    margin-bottom: 15px;
}




/* ===== TABLET STYLES (768px and up) ===== */
@media (min-width: 768px) {

    .admin-container {
        max-width: 800px;
        padding: 30px;
    }
    
    button {
        width: auto;
        min-width: 150px;
    }
    
    .admin-post strong {
        display: inline;
        margin-right: 15px;
    }
    
   
}

/* ===== DESKTOP STYLES (1024px and up) ===== */
@media (min-width: 1024px) {
    main {
        padding: 0 20px;
    }
    
    .news-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .news-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
}

/* ===== MOBILE RESPONSIVE - STACK ON SMALL SCREENS ===== */
@media (max-width: 768px) {
    .news-row {
        flex-direction: column;
    }
    
    .news-image-col {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .news-image-side {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: contain;
    }
    
  
    .news-content-col {
        width: 100%;
    }
}

/* ===== SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
   
    .news-row {
        padding: 15px;
    }
    
    .news-content-col h3,
    .news-content-col-full h3 {
        font-size: 1.2em;
    }
    
    .admin-container {
        padding: 15px;
    }
    
    .login-box {
        padding: 25px 20px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hidden-mobile {
        display: inline;
    }
}

 /* ========== RESPONSIVE REFINEMENTS ========== */
        @media (max-width: 780px) {
            .site-header {
                padding: 0.7rem 1rem;
            }
            .brand-row {
                gap: 0.8rem;
            }
            .monogram {
                max-height: 62px;
            }
            .title-group h1 {
                font-size: 1.55rem;
            }
            .bengali-sub {
                font-size: 0.95rem;
                padding: 0.15rem 1rem;
            }
            .nav-list a {
                padding: 0.45rem 0.9rem;
                font-size: 0.8rem;
            }
            .nav-list {
                gap: 0.35rem;
            }
        }

        @media (max-width: 540px) {
            .brand-row {
                flex-direction: column;
                gap: 0.3rem;
                text-align: center;
            }
            .monogram {
                max-height: 55px;
            }
            .title-group h1 {
                font-size: 1.35rem;
            }
            .bengali-sub {
                font-size: 0.85rem;
            }
            .nav-list a {
                padding: 0.4rem 0.75rem;
                font-size: 0.7rem;
            }
            .main-nav {
                margin-top: 0.6rem;
            }
        }

        /* small extra polish for very compact devices */
        @media (max-width: 400px) {
            .nav-list a {
                padding: 0.35rem 0.6rem;
                font-size: 0.68rem;
            }
        }


