/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: underline;
}

/* Cabeçalho */
header {
    height: 60px;
    padding: 6px;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

.header-links {
    display: flex;
    align-items: center;
}

.header-links a {
    margin-right: 15px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.87);
}

.menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    cursor: pointer;
}

.menu-icon svg {
    width: 24px;
    height: 24px;
    fill: #5f6368;
}

.login-button {
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 9px 23px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.login-button:hover {
    background-color: #1b66c9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Conteúdo principal */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
}

.logo-container {
    margin-bottom: 20px;
    text-align: center;
}

.logo-container img {
    max-width: 272px;
    height: auto;
}

.search-container {
    width: 100%;
    max-width: 584px;
    margin: 0 auto 30px;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 0 14px;
    height: 44px;
    width: 100%;
}

.search-bar:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: rgba(223, 225, 229, 0);
}

.search-icon {
    display: flex;
    align-items: center;
    padding-right: 13px;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    fill: #9aa0a6;
}

.search-input {
    flex: 1;
    height: 34px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-buttons-right {
    display: flex;
    align-items: center;
}

.voice-search, .camera-search {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    cursor: pointer;
}

.search-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-buttons button {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    height: 36px;
    cursor: pointer;
    user-select: none;
}

.search-buttons button:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #dadce0;
}

.languages {
    font-size: 13px;
    color: #4d5156;
}

.languages a {
    color: #1a0dab;
    margin: 0 5px;
}

/* Rodapé */
footer {
    background-color: #f2f2f2;
    color: #70757a;
    font-size: 14px;
    margin-top: auto;
}

.footer-top {
    padding: 15px 30px;
    border-bottom: 1px solid #dadce0;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 30px;
}

.footer-left, .footer-right {
    display: flex;
    flex-wrap: wrap;
}

footer a {
    color: #70757a;
    padding: 15px;
    white-space: nowrap;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-bottom {
        justify-content: space-around;
    }
    
    .footer-left, .footer-right {
        justify-content: center;
    }
    
    .search-container {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .search-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}