/*
Theme Name: BD Government College
Description: A simple theme for Bangladeshi Government Colleges
Version: 1.0
Author: Sohel Amin
Author URI: http://www.sohelamin.com
Text Domain: bd-college
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Theme Colors (Bangladesh Government Colors)
   ========================================================================== */
:root {
    /* Primary Colors - Based on Bangladesh Government Standards */
    --primary-color: #006A4E;    /* Bangladesh Green */
    --secondary-color: #F42A41;  /* Bangladesh Red */
    --accent-color: #FFD700;     /* Gold */
    --dark-color: #2C3E50;       /* Dark Blue Gray */
    --light-color: #F8F9FA;      /* Light Gray */
    --text-color: #333333;       /* Dark Gray */
    --border-color: #E0E0E0;     /* Light Border */
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

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

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

.btn-secondary:hover {
    background-color: #d12239;
    border-color: #d12239;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005040 100%);
    color: white;
    padding: 20px 0;
}

.college-logo {
    max-height: 80px;
    width: auto;
}

.college-info h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.college-info p {
    margin-bottom: 5px;
    opacity: 0.9;
}

.contact-info {
    text-align: right;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */
.main-navigation {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.navbar-nav .nav-item.active .nav-link {
    background-color: var(--primary-color);
    color: white !important;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Homepage Styles
   ========================================================================== */
.hero-section {
    background: linear-gradient(rgba(0, 106, 78, 0.8), rgba(0, 106, 78, 0.8)), 
                url('images/college-bg.jpg') center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* ==========================================================================
   Notice Board Styles
   ========================================================================== */
.notice-board {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.notice-board h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.notice-item {
    background: white;
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.notice-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.notice-item.important {
    border-left-color: var(--secondary-color);
    background-color: #fff5f5;
}

.notice-item h5 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.notice-item .notice-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.notice-item .pdf-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.notice-item .pdf-link:hover {
    text-decoration: underline;
}

.important-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* ==========================================================================
   Teachers & Staff Styles
   ========================================================================== */
.person-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.person-card:hover {
    transform: translateY(-5px);
}

.person-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.person-card .card-body {
    padding: 20px;
}

.person-card h5 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.person-card .designation {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.person-card .department {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.person-card .contact-info {
    font-size: 0.9rem;
}

.person-card .contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
    width: 15px;
}

/* ==========================================================================
   Gallery Styles
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ==========================================================================
   Course Styles
   ========================================================================== */
.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card .card-body {
    padding: 25px;
}

.course-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.course-info {
    margin: 15px 0;
}

.course-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.course-info .info-item i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.course-info .info-item strong {
    margin-right: 10px;
    min-width: 80px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.site-footer h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.site-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #555;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* ==========================================================================
   Archive & Single Page Styles
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005040 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header .breadcrumb {
    background: transparent;
    margin: 0;
    justify-content: center;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb-item.active {
    color: white;
}

.single-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 768px) {
    .college-info h1 {
        font-size: 1.8rem;
    }
    
    .contact-info {
        text-align: left;
        margin-top: 20px;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .person-card img {
        height: 200px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .college-info h1 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .single-content {
        padding: 20px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

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

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

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

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.section-spacing {
    padding: 60px 0;
}

.mb-section {
    margin-bottom: 60px;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .main-navigation,
    .site-footer,
    .social-links {
        display: none !important;
    }
    
    .single-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}