/* ၁။ Website တစ်ခုလုံးအတွက် အခြေခံသတ်မှတ်ချက်များ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Padding ပေးရင် ပုံပျက်မသွားအောင် ထိန်းပေးတာပါ */
}

body {
    font-family: 'Georgia', serif; /* Tim Ferriss စတိုင် Serif font */
    line-height: 1.8;
    color: #1a1a1a;
    background-color: #fff; /* စာဖတ်ရတာ ရှင်းလင်းအောင် အဖြူရောင်ထားတာ အကောင်းဆုံးပါ */
}

.container {
    max-width: 800px; /* စာသားတွေကို တစ်ကြည့်တည်းနဲ့ ဖတ်ရလွယ်အောင် ဘောင်ကျဉ်းထားတာပါ */
    margin: 0 auto;
    padding: 0 20px;
}

/* ၂။ Navigation (Menu) အပိုင်း */
nav {
    position: absolute; /* ပုံရဲ့အပေါ်မှာ တင်နေဖို့ */
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: transparent; /* ပထမဆုံးမှာ ပုံပေါ်မှာ ကြည်လင်နေစေရန် */
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff; /* ပုံပေါ်မှာ မြင်ရအောင် အဖြူရောင်ထားထားပါတယ် */
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff; /* Menu စာသားတွေကို အဖြူရောင်ထားထားပါတယ် */
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #f1c40f; /* Mouse တင်လိုက်ရင် ဝါကျင်ကျင်အရောင် ပြောင်းသွားမယ် */
}



/* ၃။ Hero Section (Tim Ferriss စတိုင် Full-width) */
.hero-full {
    height: 100vh; /* Screen အမြင့်အပြည့် ယူမယ် */
    background-image: url('my-photo.jpg'); /* သင့်ပုံအမည်ကို ဒီမှာ ထည့်ပါ */
    background-size: cover; /* ပုံကို မျက်နှာပြင်အပြည့် ဖြန့်ခင်းမယ် */
    background-position: center; /* ပုံရဲ့ ဗဟိုကို ပြမယ် */
    position: relative;
    color: white;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4); /* ပုံပေါ်ကစာသား ဖတ်ရလွယ်အောင် အမည်းရောင် ၄၀% အုပ်ထားတာပါ */
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    max-width: 600px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ၄။ Email Box အပိုင်း */
.cta-box {
    display: flex;
    gap: 10px;
}

.cta-box input {
    padding: 15px;
    border-radius: 30px;
    border: none;
    width: 280px;
}

.btn-yellow {
    background: #f1c40f;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* ၅။ Blog Posts အပိုင်း */
main {
    padding: 80px 0; /* Hero ပုံအောက်မှာ နေရာလွတ် ချန်ထားတာပါ */
}

.post {
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.post h2 a {
    text-decoration: none;
    color: #000;
    font-size: 2rem;
}

.post p {
    color: #444;
    margin-top: 10px;
}

/* ၆။ Footer အပိုင်း */
footer {
    padding: 40px 0;
    text-align: center;
    color: #aaa;
    border-top: 1px solid #eee;
}
/* --- Responsive Design (Screen အလိုက် ပြောင်းလဲမှုစနစ်) --- */

/* Tablet နဲ့ Screen အလတ်စားများအတွက် (992px အောက်) */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem; /* စာလုံးကို နည်းနည်းလျှော့မယ် */
    }
}

/* ဖုန်းအမျိုးမျိုးအတွက် (768px အောက်) */
@media (max-width: 768px) {
    /* Navbar ကို နေရာပြန်ချခြင်း */
    nav .container {
        flex-direction: column; /* Logo နဲ့ Menu ကို အထက်အောက် စီမယ် */
        gap: 15px;
    }

    .nav-links {
        padding: 0;
    }

    .nav-links li {
        margin: 0 10px; /* Menu ကြား အကွာအဝေးကို လျှော့မယ် */
    }

    /* Hero Section ပြင်ဆင်ချက် */
    .hero-full {
        height: 80vh; /* ဖုန်းမှာဆိုရင် ပုံကို အနည်းငယ် လျှော့ပြမယ် */
    }

    .hero-content h1 {
        font-size: 1.8rem; /* ဖုန်း screen နဲ့ ကိုက်အောင် စာလုံးသေးလိုက်မယ် */
        text-align: center;
        max-width: 100%;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 1rem;
    }

    /* Email Box ကို အထက်အောက် စီခြင်း */
    .cta-box {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-box input {
        width: 100%; /* ဖုန်းမျက်နှာပြင် အပြည့်ယူမယ် */
        max-width: 300px;
    }

    .btn-yellow {
        width: 100%;
        max-width: 300px;
    }
}

/* ဖုန်းအသေးစားများအတွက် (480px အောက်) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 1rem;
    }
}