/* --- 1. GLOBAL THEME --- */
        body { margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; background-color: #1a1a1a; color: #e0e0e0; scroll-behavior: smooth; }

        /* --- 2. STICKY NAVIGATION --- */
        .navbar { background-color: #262626; height: 90px; display: flex; align-items: center; position: sticky; top: 0; z-index: 2000; box-shadow: 0 4px 10px rgba(0,0,0,0.5); border-bottom: 3px solid #d35400; }
        .nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .logo { display: flex; align-items: center; text-decoration: none; gap: 15px; }
        .logo img { height: 65px; width: auto; filter: drop-shadow(0 0 5px rgba(211, 84, 0, 0.4)); }
        .logo-text { font-family: "Arial Black", sans-serif; font-size: 1.8rem; letter-spacing: -1px; color: #e0e0e0; text-transform: uppercase; }
        .logo-text .orange { color: #d35400; }
        .nav-links { list-style: none; display: flex; gap: 25px; }
        .nav-links a { text-decoration: none; color: #bbb; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; }
        .nav-links a:hover { color: #d35400; }
        .nav-btn { background: #d35400; color: white !important; padding: 10px 20px; border-radius: 4px; text-transform: uppercase; font-weight: bold; }

        /* --- 3. AUTO-PLAY CAROUSEL --- */
        .carousel-wrapper { width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
        .carousel-wrapper::-webkit-scrollbar { display: none; }
        .carousel-container { display: flex; width: 200%; }
        .hero { flex: 0 0 100vw; height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; }
        .hero-content { background: rgba(0, 0, 0, 0.7); padding: 30px; border-left: 6px solid #d35400; }

        /* --- 4. BLOG & SIDEBAR --- */
        .blog-section { display: flex; max-width: 1200px; margin: 40px auto; padding: 0 20px; gap: 40px; }
        .posts-area { flex: 3; }
        .blog-card { background: #2d2d2d; margin-bottom: 30px; border-radius: 4px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.4); border-bottom: 3px solid transparent; transition: 0.3s; }
        .blog-card:hover { border-bottom: 3px solid #d35400; }
        .blog-card img { width: 100%; opacity: 0.8; }
        .blog-card-content { padding: 20px; }
        .blog-card-content h2 { color: #d35400; margin-top: 0; text-transform: uppercase; }

        .sidebar-area { flex: 1; }
        .widget { background: #262626; padding: 20px; border-radius: 4px; margin-bottom: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
        .widget h3 { border-bottom: 2px solid #d35400; padding-bottom: 8px; color: #fff; text-transform: uppercase; font-size: 1rem; margin-top: 0; }
        .search-bar { width: 100%; padding: 10px; border: 1px solid #444; background: #1a1a1a; color: #fff; border-radius: 4px; box-sizing: border-box; }
        .sidebar-links { list-style: none; padding: 0; margin: 0; }
        .sidebar-links li { padding: 10px 0; border-bottom: 1px solid #333; }
        .sidebar-links a { text-decoration: none; color: #aaa; display: flex; justify-content: space-between; transition: 0.2s; }
        .sidebar-links a:hover { color: #d35400; padding-left: 5px; }

        /* --- 5. GALLERY & LIGHTBOX --- */
        .gallery-container { display: flex; flex-wrap: wrap; justify-content: center; padding: 40px 20px; }
        .gallery-item { margin: 10px; width: 300px; background: #262626; padding: 10px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
        .gallery-item img { width: 100%; cursor: pointer; filter: grayscale(50%); transition: 0.3s; }
        .gallery-item img:hover { filter: grayscale(0%); transform: scale(1.02); }

        .lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 3000; justify-content: center; align-items: center; }
        .lightbox:target { display: flex; }
        .lightbox img { max-width: 90%; max-height: 80%; border: 2px solid #d35400; }
        .close-btn { position: absolute; top: 20px; right: 30px; color: #d35400; font-size: 40px; text-decoration: none; }

        /* --- 6. FOOTER --- */
        .main-footer { background-color: #0f0f0f; color: #777; padding: 60px 0 20px 0; margin-top: 60px; border-top: 4px solid #d35400; }
        .footer-container { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 20px; flex-wrap: wrap; }
        .footer-section { flex: 1; min-width: 250px; margin-bottom: 20px; }
        .footer-section h3 { color: #d35400; text-transform: uppercase; margin-top: 0; }
        .footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 20px; margin-top: 30px; font-size: 0.8rem; }

        @media (max-width: 900px) { .blog-section, .footer-container { flex-direction: column; } .nav-links { display: none; } }
        /* RESPONSIVE RULES FOR MOBILE DEVICES */
@media screen and (max-width: 768px) {
    .hero {
        height: 50vh; /* Shorter hero on phones so they can get to the content faster */
    }

    .hero h1 {
        font-size: 2rem; /* Shrink the title so it doesn't wrap weirdly */
    }

    .container {
        padding: 20px 15px; /* Less wasted space on the sides of the screen */
    }

    .card {
        padding: 15px;
        border-left-width: 3px; /* Slimmer accent line for smaller screens */
    }

    .grid {
        grid-template-columns: 1fr; /* Stack images in a single column instead of side-by-side */
    }

    .grid img {
        height: auto; /* Let images maintain their natural shape */
    }
}