/* ================= GENERAL STYLING ================= */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #26c00b, #2196F3, #FF9800);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    color: #000;
    text-align: center;
    line-height: 1.6;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ================= MAIN CONTENT ================= */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ================= HEADER ================= */
.header-area {
    background-color: #ffffff;
    padding: 10px 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* HEADER LOGO */
.logo img {
    height: 55px;
    width: 55px;
    object-fit: cover;
    border-radius: 50%;
    
}

/* ================= NAVIGATION ================= */
nav {
    background: transparent;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 17px;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #facc15; /* 💛 Yellow accent */
}

/* ================= TRANSLATOR BOX ================= */
.translator-box {
    background: rgba(211, 210, 147, 0.9);
    margin-top: 40px;
    padding: 40px;
    border-radius: 15px;
    width: 70%;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.translator-box h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

/* INPUT & OUTPUT */
.input-output {
    display: flex;
    flex-direction: column;
}

.input-box,
.output-box {
    margin: 10px 0;
}

#wordInput {
    width: 95%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

#wordInput:focus {
    border-color: #4CAF50;
}

.output-box {
    background: #faf8f8;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    min-height: 50px;
}

/* BUTTON */
button {
    margin-top: 15px;
    background: #3d80c3;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

button:hover {
    background: #388E3C;
    transform: scale(1.05);
}

/* ================= FOOTER ================= */
/*-------------------------------------
        Footer
--------------------------------------*/
/* ================= FOOTER ================= */

.footer {
    background: #151a23; /* dark blue-black */
    color: #e5e7eb;
    padding: 50px 20px 20px;
    font-family: Arial, sans-serif;
}

/* Top Section */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: flex-start;
}

/* Logo Section */
.footer-logo img {
    height: 55px;
    width: 55px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.footer-logo h3 {
    font-size: 24px;
    margin: 5px 0;
    color: #facc15; /* yellow 💛 */
}

.footer-logo h3 span {
    color: #38bdf8;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5f5;
}

/* Navigation */
.footer-nav h4,
.footer-social h4 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #facc15;
}

.footer-nav a {
    display: block;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 15px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #facc15;
}

/* Social Icons */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 5px 8px 0 0;
    border-radius: 50%;
    background: #1e293b;
    color: #facc15;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #facc15;
    color: #0f172a;
    transform: translateY(-3px);
}

/* Bottom Legal Section */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #334155;
    text-align: center;
}

.footer-bottom h4 {
    color: #facc15;
    margin-bottom: 15px;
}

.footer-bottom p {
    font-size: 13px;
    line-height: 1.7;
    color: #cbd5f5;
    max-width: 900px;
    margin: auto;
}

.footer-bottom .copyright {
    margin-top: 15px;
    font-size: 12px;
    color: #94a3b8;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-social a {
        margin: 6px;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .header-area {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .translator-box {
        width: 90%;
        padding: 25px;
    }
}
