/* style.css - Professional & Modern UI Version */
@import url('https://fonts.googleapis.com/css2?family=Pyidaungsu:wght@400;700&display=swap');

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

body { 
    font-family: 'Pyidaungsu', sans-serif; 
    background-color: #f4f7f9; 
    color: #333; 
    line-height: 1.7; 
}

/* Container */
.header-container, .nav-container, .main-layout { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    width: 100%;
}

/* --- Header Section --- */
.main-header { background: #fff; padding: 25px 0; border-bottom: 4px solid #ee3124; }
.logo-area { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.header-logo { width: 130px; height: auto; transition: transform 0.4s ease; }
.header-logo:hover { transform: scale(1.05) rotate(2deg); } /* Logo hover animation */

.title-text { text-align: center; flex: 1; padding: 0 10px; }
.title-text h2 { font-size: 24px; color: #2c3e50; margin-bottom: 5px; font-weight: 700; }
.title-text p { color: #ee3124; font-weight: bold; font-size: 16px; letter-spacing: 1px; }

/* --- Modern Navigation Menu --- */
.main-nav { 
    background: #2c3e50; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.nav-container { display: flex; justify-content: flex-start; }

.nav-links { display: flex; list-style: none; margin: 0; padding: 0; }

.nav-links li { position: relative; }

.nav-links li a { 
    color: #ffffff; 
    text-decoration: none; 
    padding: 18px 25px; 
    display: block; 
    font-size: 15px; 
    font-weight: 500; 
    transition: all 0.3s ease;
}

/* Hover effect for Menu items */
.nav-links li a:hover { 
    color: #ffca28; 
    background: rgba(255, 255, 255, 0.08); 
}

/* Slide Underline Animation */
.nav-links li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ee3124;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links li:hover::after { width: 100%; }

/* --- Main Layout --- */
.main-layout { display: flex; gap: 30px; margin-top: 30px; }
.content-area { flex: 2.5; min-width: 0; }
.sidebar { flex: 1; min-width: 300px; }

/* --- Professional Post Cards (3-Column) --- */
.post-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
}

.post-card { 
    background: #fff; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    border: 1px solid #eee; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; 
    flex-direction: column; 
}

.post-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    border-color: #ee3124;
}

.post-img-wrapper { overflow: hidden; position: relative; }

.post-img-wrapper img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.post-card:hover .post-img-wrapper img { transform: scale(1.1); }

.post-info { padding: 20px; flex-grow: 1; }
.post-title { 
    font-size: 18px; 
    font-weight: bold; 
    color: #2c3e50; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 10px; 
    transition: 0.3s;
}
.post-title:hover { color: #ee3124; }
.post-desc { color: #666; font-size: 14px; height: 60px; overflow: hidden; line-height: 1.6; }

/* --- Pagination --- */
.pagination { margin: 50px 0; display: flex; justify-content: center; gap: 10px; }
.page-btn { 
    padding: 10px 20px; 
    background: #fff; 
    border: 2px solid #ddd; 
    text-decoration: none; 
    color: #2c3e50; 
    border-radius: 8px; 
    font-weight: bold; 
    transition: 0.3s;
}
.page-btn:hover { border-color: #ee3124; color: #ee3124; transform: scale(1.05); }
.page-btn.active { background: #ee3124; color: #fff; border-color: #ee3124; box-shadow: 0 4px 10px rgba(238, 49, 36, 0.3); }

/* --- Sidebar Widgets --- */
/* Sidebar Widget General Style */
.widget {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 3px solid #ee3124;
    display: block;
    color: #2c3e50;
}

/* --- Follow Us Buttons ပြင်ဆင်ချက် --- */
.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
    transition: 0.3s;
    font-size: 16px;
}

.fb-btn { 
    background: #f0f2f5; 
    color: #1877F2; 
    border-left: 5px solid #1877F2; 
}

.yt-btn { 
    background: #fff1f0; 
    color: #FF0000; 
    border-left: 5px solid #FF0000; 
}

.social-btn:hover { 
    transform: translateX(8px); 
    filter: brightness(0.95); 
}

/* --- Usual Website Links ပြင်ဆင်ချက် --- */
.link-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    text-decoration: none;
    color: #444;
    transition: 0.3s;
    font-weight: 500;
}

.link-card img, .link-card i {
    width: 24px;
    font-size: 20px;
    text-align: center;
}

.link-card:hover {
    border-color: #ee3124;
    background: #fffafa;
    transform: translateX(5px);
    color: #ee3124;
}

/* --- Footer --- */
.main-footer { 
    background: #1a252f; 
    color: #bdc3c7; 
    text-align: center; 
    padding: 40px 0; 
    margin-top: 50px; 
    border-top: 5px solid #ee3124;
}

/* --- Floating Icons --- */
.social-sticky { position: fixed; right: 25px; bottom: 25px; display: flex; flex-direction: column; gap: 15px; z-index: 2000; }
.social-icon { 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    font-size: 26px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.25); 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.social-icon:hover { transform: scale(1.2) rotate(10deg); }

/* --- Responsive Layout --- */
@media (max-width: 992px) {
    .main-layout { flex-direction: column; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-area { flex-direction: column; gap: 15px; }
}
@media (max-width: 650px) {
    .post-grid { grid-template-columns: 1fr; }
    .nav-links { overflow-x: auto; white-space: nowrap; }
    .nav-links li a { padding: 15px 15px; font-size: 14px; }
}
/*----------------------------------------------------------*/
/* --- Modern Floating Social Sticky --- */
.social-sticky {
    position: fixed;
    right: 30px; /* ဘေးကနေ နေရာလွတ်နည်းနည်းပိုပေးခြင်း */
    bottom: 30px; /* အောက်ကနေ နေရာလွတ်ပိုပေးခြင်း */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Icon တစ်ခုနဲ့တစ်ခုကြား နေရာလွတ် */
    z-index: 2000;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); /* Soft shadow */
}

/* Icon Box Style */
.social-icon {
    width: 60px; /* အရွယ်အစားနည်းနည်းပိုကြီးစေရန် */
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* Icon အရောင်ကို အဖြူပြန်ထားခြင်း (အနောက်ခံအရောင်ပေါ်မှာပေါ်စေရန်) */
    font-size: 28px; /* Icon size */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* သပ်ရပ်တဲ့ Shadow */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* နူးညံ့တဲ့ Animation */
    border: 3px solid #fff; /* Border ဖြူလေးပတ်ပေးခြင်း */
}

/* --- မူရင်းအရောင်များ သတ်မှတ်ခြင်း --- */
/* WhatsApp - အစိမ်းရောင် */
.whatsapp {
    background-color: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

/* Messenger - အပြာရောင် */
.messenger {
    background-color: #0084FF;
    box-shadow: 0 10px 20px rgba(0, 132, 255, 0.25);
}

/* Viber - ခရမ်းရောင် */
.viber {
    background-color: #7360F2;
    box-shadow: 0 10px 20px rgba(115, 96, 242, 0.25);
}

/* --- Hover Effects (Mouse တင်လိုက်တဲ့အခါ) --- */
.social-icon:hover {
    transform: scale(1.15) rotate(10deg); /* ကြီးလာပြီး နည်းနည်းစောင်းသွားစေရန် */
    filter: brightness(1.1); /* နည်းနည်းပိုလင်းလာစေရန် */
    box-shadow: 0 15px 30px rgba(0,0,0,0.25); /* Shadow ပိုကြီးလာစေရန် */
}

/*--------------------------------------------------------------------------------------*/
/* --- Floating Social Icons Fix --- */
.social-sticky {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp { background: #25D366; }
.messenger { background: #0084FF; }
.viber { background: #7360F2; }

.social-icon:hover { transform: scale(1.1) rotate(10deg); }

/* --- Admin Form Styling --- */
.admin-form-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: bold; margin-bottom: 8px; color: #34495e; }
.input-group label i { color: #ee3124; margin-right: 8px; }

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

#outputPreview {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
    display: none;
}
/*------------------------------------------------------------*/
/* --- New Tag Style Design --- */
.tag-display-wrapper {
    margin-bottom: 25px;
    padding: 10px;
    background-color: #fcfcf4; /* ပုံထဲကလို အရောင်ဖျော့ */
    border-radius: 10px;
}

.icon-tag {
    display: inline-flex;
    align-items: center;
    background-color: white;
    padding: 6px 18px;
    border-radius: 30px; /* လုံးဝိုင်းသော ဒီဇိုင်း */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.tag-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.tag-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
}

.tag-close {
    margin-left: 15px;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.tag-close:hover {
    color: #ee3124;
}

/* Sidebar Widget Titles Link Style */
.link-items a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #1877F2;
    font-weight: 500;
}

.link-items a img {
    width: 18px;
}
/*---------------------------------------------------------*/

