/* ========================================
   DOUANES DU BURKINA FASO OFFICIAL THEME
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.boxed {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
    background: white;
    border-bottom: 1px solid #ddd;
}

/* Top Section */
.top {
    background: #010c16;
    color: #e9e9e9;
    font-size: 11px;
    height: 40px;
    overflow: hidden;
}

.top-left-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-left-menu li {
    display: inline-block;
    margin-right: 10px;
}

.top-left-menu li.red a {
    color: #e74c3c;
    text-decoration: none;
}

.top-left-menu li a {
    color: #e9e9e9;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

#user-links {
    list-style: none;
    text-align: right;
    padding: 0;
    margin: 0;
}

#user-links li {
    display: inline-block;
}

#user-links li a {
    color: #e9e9e9;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

.simpleclock {
    color: #e9e9e9;
    padding: 10px;
    text-align: center;
}

/* Section 2 - Language and Search */
.section2 {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-wrap {
    position: relative;
}

.clearboth {
    clear: both;
}

.clearboth:after {
    content: "";
    display: table;
    clear: both;
}

.block_social_top {
    float: right;
}

#languageChooser {
    margin-bottom: 10px;
}

.button-selected {
    background: #007A44;
    color: white;
    border: none;
    padding: 5px 15px;
    margin-right: 5px;
    border-radius: 3px;
    cursor: pointer;
}

.button-bn {
    background: #ddd;
    color: #333;
    border: none;
    padding: 5px 15px;
    margin-right: 5px;
    border-radius: 3px;
    cursor: pointer;
}

.form_search {
    float: right;
    margin-right: 10px;
}

.searchform {
    display: flex;
    align-items: center;
}

.searchFld {
    display: flex;
    align-items: center;
}

.ui-inputfield {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 12px;
    outline: none;
    width: 200px;
}

.submit {
    background: #007A44;
    color: white;
    border: none;
    padding: 9px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 12px;
}

/* Section 3 - Logo */
.section3 {
    background: white;
    padding: 20px 0;
    text-align: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    text-decoration: none;
}

.site-title img {
    max-height: 80px;
    width: auto;
}

/* Navigation */
.headStyleMenu {
    background: #007A44;
    border-top: 3px solid #CE1126;
}

.section-nav {
    position: relative;
}

.navigation-main {
    margin: 0;
}

.mainHeaderMenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    background: #007A44;
}

.mainHeaderMenu li {
    position: relative;
}

.mainHeaderMenu li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.mainHeaderMenu li:hover a,
.mainHeaderMenu li.current a {
    background: #005a33;
}

/* Dropdown Menus */
.mainHeaderMenu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #005a33;
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.mainHeaderMenu li:hover ul {
    display: block;
}

.mainHeaderMenu li ul li a {
    padding: 12px 20px;
    border-bottom: 1px solid #007A44;
}

.mainHeaderMenu li ul li:last-child a {
    border-bottom: none;
}

.mainHeaderMenu li ul li:hover a {
    background: #004d2a;
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */

#main {
    background: white;
    min-height: 500px;
}

.general_content {
    display: flex;
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 15px;
    gap: 30px;
}

.main_content {
    flex: 2;
}

.main_sidebar {
    flex: 1;
    max-width: 350px;
}

/* Hero Slider */
.block_home_slider {
    margin-bottom: 30px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flexslider {
    position: relative;
}

.flexslider .slides {
    list-style: none;
    margin: 0;
    padding: 0;
}

.flexslider .slides li {
    position: relative;
}

.slide {
    position: relative;
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
}

.caption .subj {
    background: #CE1126;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.caption .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.caption .body {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
}

/* News and Content */
.home_category_news {
    margin: 30px 0;
}

.border-top {
    height: 3px;
    background: linear-gradient(90deg, #CE1126 0%, #007A44 100%);
    margin-bottom: 20px;
}

.block-title {
    font-size: 28px;
    color: #007A44;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
}

/* Auction Announcement */
.auction-announcement {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid #007A44;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auction-announcement h3 {
    color: #007A44;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.auction-announcement h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.auction-announcement p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.auction-announcement ul {
    margin: 15px 0 15px 20px;
}

.auction-announcement li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Buttons */
.btn-participate,
.btn-download {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 15px;
    transition: all 0.3s;
    text-align: center;
}

.btn-participate {
    background: #CE1126;
    color: white;
}

.btn-participate:hover {
    background: #a10e1f;
    transform: translateY(-2px);
}

.btn-download {
    background: #007A44;
    color: white;
}

.btn-download:hover {
    background: #005a33;
    transform: translateY(-2px);
}

/* Category Cards */
.category-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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

.category-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.category-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-card a {
    color: #007A44;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.category-card a:hover {
    color: #005a33;
}

/* ========================================
   SIDEBAR STYLES
   ======================================== */

.widget {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.widget_header {
    background: #007A44;
    color: white;
    padding: 15px 20px;
}

.widget_title {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.widget_body {
    padding: 20px;
}

.widget_body p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.widget_body ul {
    margin-left: 20px;
}

.widget_body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Communique Content */
.communique-content {
    font-size: 13px;
    line-height: 1.6;
}

.communique-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.communique-content strong {
    color: #007A44;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
    background: #333;
    color: white;
    margin-top: 50px;
}

.ft_section_1 {
    background: #007A44;
    padding: 20px 0;
}

.ft_section_2 {
    background: #333;
    padding: 20px 0;
}

.footer-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

#footer_menu {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
}

#footer_menu li {
    display: inline-block;
    margin: 0 15px;
}

#footer_menu li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

#footer_menu li a:hover {
    color: #ccc;
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 15px;
}

.footer_text {
    font-size: 12px;
    color: #ccc;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    font-size: 24px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ========================================
   GRID SYSTEM
   ======================================== */

.grid {
    display: grid;
    gap: 20px;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) {
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .lg-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   UTILITIES
   ======================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.p-15 {
    padding: 15px;
}

.p-20 {
    padding: 20px;
}

/* Official Burkina Faso Colors */
:root {
    --burkina-red: #CE1126;
    --burkina-green: #007A44;
    --burkina-yellow: #FCD116;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
    --background-light: #f8f9fa;
} 