/*=========================================
   OMGoracle AI Translator
   Part 2 - CSS
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

:root{
    --primary:#2563EB;
    --bg:#eef3fb;
    --white:#ffffff;
    --text:#1f2937;
    --shadow1:#d6deee;
    --shadow2:#ffffff;
}

body{
    background:var(--bg);
    color:var(--text);
}

.container{
    width:92%;
    max-width:1300px;
    margin:auto;
}

/* Header */

header{
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(15px);
    position:sticky;
    top:0;
    z-index:999;
    padding:18px 0;
    box-shadow:
    10px 10px 20px var(--shadow1),
    -10px -10px 20px var(--shadow2);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:55px;
}

.logo h2{
    color:var(--primary);
}

nav ul{
    display:flex;
    gap:25px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
}

nav a.active,
nav a:hover{
    color:var(--primary);
}

/* Hero */

.hero{
    text-align:center;
    padding:70px 20px 40px;
}

.hero h1{
    font-size:48px;
    color:var(--primary);
}

.hero p{
    margin-top:15px;
    color:#64748b;
}

/* Translator */

.translator-section{
    padding:40px 20px 80px;
}

.translator-card{
    max-width:900px;
    margin:auto;
    background:#eef3fb;
    border-radius:28px;
    padding:35px;
    box-shadow:
    12px 12px 22px var(--shadow1),
    -12px -12px 22px var(--shadow2);
}

.language-row{
    display:grid;
    grid-template-columns:1fr 70px 1fr;
    gap:20px;
    margin-bottom:25px;
}

select,
textarea{
    width:100%;
    border:none;
    outline:none;
    border-radius:18px;
    padding:18px;
    background:#eef3fb;
    font-size:16px;
    resize:none;
    box-shadow:
    inset 6px 6px 12px var(--shadow1),
    inset -6px -6px 12px var(--shadow2);
}

textarea{
    min-height:180px;
    margin-bottom:20px;
}

#swapBtn,
#translateBtn,
.action-buttons button{
    border:none;
    cursor:pointer;
    border-radius:18px;
    background:var(--primary);
    color:#fff;
    font-size:17px;
    font-weight:600;
    transition:.3s;
}

#swapBtn{
    height:58px;
}

#translateBtn{
    width:100%;
    padding:18px;
    margin-bottom:20px;
}

.action-buttons{
    display:flex;
    gap:15px;
}

.action-buttons button{
    flex:1;
    padding:15px;
}

button:hover{
    transform:translateY(-3px);
}

/* Responsive */

@media(max-width:768px){

.language-row{
grid-template-columns:1fr;
}

.hero h1{
font-size:34px;
}

.translator-card{
padding:22px;
}

.action-buttons{
flex-direction:column;
}

}