/* --- DESKTOP LAYOUT STYLES (new1.css) --- */

.layout-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 120px; /* <--- ADD THIS LINE: It creates empty space at the bottom so the content doesn't get hidden behind the footer! */
}

.layout-header {
    text-align: center;
    margin-bottom: 40px;
}

.layout-header h1 {
    font-size: 3rem; /* Larger for computer screen */
    margin-bottom: 10px;
    color: #333;
    text-shadow: 2px 2px 0px white;
}

.layout-header p {
    font-size: 1.2rem;
    color: #666;
}

.layout-main {
    width: 100%;
    max-width: 900px;
    animation: slideUpFade 0.8s ease-out forwards;
}

/* --- RED BANNER BUTTON --- */
.banner-btn {
    background-color: #e60012;
    color: white;
    width: 100%;
    padding: 25px 40px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(230, 0, 18, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 40px;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(230, 0, 18, 0.35);
}

.banner-btn-text strong {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.banner-btn-text span {
    font-size: 1rem;
    opacity: 0.9;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    margin-bottom: 40px; /* <--- ADD THIS LINE to push the footer even further down */
}

.card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-img {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #999;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.card h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #222;
}

.card p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr; /* Stacks them on smaller screens */
    }
    .layout-header h1 {
        font-size: 2rem;
    }
}
/* --- BOTTOM NAVIGATION BAR STYLES --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Keeps that nice glass effect */
    display: flex;
    justify-content: center; /* Centers it on big computer screens */
    gap: 8vw; /* Spacing between icons */
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
    z-index: 100;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

.nav-item {
    text-decoration: none;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    gap: 6px;
    transition: all 0.2s ease;
}

.nav-item:hover {
    color: #666;
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 1.5rem;
}

.nav-item.active {
    color: #333;
}

/* Special DIY Center Button */
.nav-item.diy-btn {
    color: #e60012;
    font-weight: bold;
}

.nav-item.diy-btn i {
    font-size: 2rem; /* Make it pop */
    margin-bottom: -2px;
}
